Displaying 1 result from an estimated 1 matches for "movf32i32".
2011 Sep 29
1
[LLVMdev] Floating-Point Constants in TableGen?
...fp RegF32:$a)), (SETPGTf32ri RegF32:$a, (f32
0.0))>;
This unfortunately does not work. Right now I'm getting around this by
using alternate instructions to first convert from an integer immediate,
something like:
def : Pat<(i1 (uint_to_fp RegF32:$a)), (SETPGTf32ri RegF32:$a,
(MOVf32i32 0))>;
Since my back-end supports floating-point literals in the instructions, I'd
rather not introduce additional instructions needlessly.
--
Thanks,
Justin Holewinski
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llv...