[LLVMdev] [LLVMDev] Add not instruction to PTX backend

ether zhhb etherzhhb at gmail.com
Wed May 11 02:14:50 PDT 2011


hi,

>
> define ptx_device i16 @t4_u16(i16 %x) {
> ; CHECK: not.b16 rh0, rh1, rh2;
> ; CHECK-NEXT: ret;
>  %z = xor i16 %x, 1
it should be %z = xor i16 %x, 0xffff?


>  ret i16 %z
> }
>

best regards
ether




More information about the llvm-dev mailing list