"git@repo.hca.bsc.es:rferrer/llvm-epi-0.8.git" did not exist on "3b2b1e794242b96121cc696dc72d35d911bc82f6"
Emit comparisons against the sign bit better. Codegen this:
bool %test1(long %X) { %A = setlt long %X, 0 ret bool %A } like this: test1: cmpl $0, 8(%esp) setl %al movzbl %al, %eax ret instead of: test1: movl 8(%esp), %ecx cmpl $0, %ecx setl %al movzbw %al, %ax cmpl $0, 4(%esp) setb %dl movzbw %dl, %dx cmpl $0, %ecx cmove %dx, %ax movzbl %al, %eax ret llvm-svn: 21243
Loading
Please register or sign in to comment