search for: __sh1i422

Displaying 1 result from an estimated 1 matches for "__sh1i422".

2012 Feb 27
2
[LLVMdev] Alias in LLVM 3.0
...previous LLVM versions implemented (perhaps by accident) bit-preserving alias. It's worth noting that in many cases both kinds of alias produce the same results... for example, in OpenCL: static uint2 __ SH1I422 ( uint2 foo, uint2 ) { ... } extern __attribute__((overloadable, weak, alias("__SH1I422"))) uint2 shuffle(uint2, uint2); extern __attribute__((overloadable, weak, alias("__SH1I422"))) int2 shuffle(int2, uint2); Both value-preserving and bit-preserving alias do the same thing for the above two cases. But here's an example of an alias where the results differ. It use...