search for: floatadd

Displaying 2 results from an estimated 2 matches for "floatadd".

2009 Mar 18
2
[LLVMdev] Multiple return values (floating-point exception flags)
...'ve become quite lost poking around. I suspect this will end up involving some combinations of intrinsics and, alas, rely on derived type optimizations combined with SelectionDAG nodes for sensible performance. But simply returning the flags seems nicer, e.g. <result>, <flags> = floatadd <result-format> <op1> <op2> <fpu-mode> If the flags are to be ignored, it should be relatively easy to dispose of them with multiple return values. (Part of this (very long-term) work would be to decide if it's better to pass flags as input and return the OR (as current...
2009 Mar 18
0
[LLVMdev] Multiple return values (floating-point exception flags)
...t poking around.  I suspect this will > end up involving some combinations of intrinsics and, alas, rely > on derived type optimizations combined with SelectionDAG nodes > for sensible performance.  But simply returning the flags seems > nicer, e.g. >  <result>, <flags> = floatadd <result-format> <op1> <op2> <fpu-mode> > If the flags are to be ignored, it should be relatively easy to > dispose of them with multiple return values. > You should check out the work done for "integer arithmetic with overflow". It's done via intrinsic...