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

ether zhhb
Wed, 11 May 2011 09:14:50 -0000

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