Skip to content
  1. May 17, 2011
  2. May 16, 2011
  3. May 14, 2011
  4. May 11, 2011
  5. May 10, 2011
  6. May 08, 2011
    • Benjamin Kramer's avatar
      X86: Add a bunch of peeps for add and sub of SETB. · d724a590
      Benjamin Kramer authored
      "b + ((a < b) ? 1 : 0)" compiles into
      	cmpl	%esi, %edi
      	adcl	$0, %esi
      instead of
      	cmpl	%esi, %edi
      	sbbl	%eax, %eax
      	andl	$1, %eax
      	addl	%esi, %eax
      
      This saves a register, a false dependency on %eax
      (Intel's CPUs still don't ignore it) and it's shorter.
      
      llvm-svn: 131070
      d724a590
  7. May 06, 2011
  8. May 05, 2011
  9. May 03, 2011
  10. May 01, 2011
  11. Apr 29, 2011
  12. Apr 28, 2011
Loading