Displaying 2 results from an estimated 2 matches for "setround".
2020 Nov 12
1
RISC-V LLVM sync-up call 12 November 2020
...IuZ29vZ2xlLmNvbQ>
* <https://calendar.google.com/calendar/ical/lowrisc.org_0n5pkesfjcnp0bh5hps1p0bd80%40group.calendar.google.com/public/basic.ics>
Issues to discuss today include the following:
* Non-scalable RVV support (Fraser)
* Patches we might want to discuss:
* Zfh (D90738)
* Setrounding/flt_rounds lowering
* PrologEpilogInserter floating emergency spill slots (D89239)
* Any bitmanip patches people want to discuss?
* Other:
* Heads up on https://github.com/riscv/riscv-elf-psabi-doc/issues/163
* Any other business?
Best,
Alex
2019 Nov 15
3
RFC: token arguments and operand bundles
...ront ends should define clear circumstances under which such changes are permitted, but the mechanism for making such changes is independent of the constrained FP intrinsics. For example, consider the following C function.
double foo(double A, double B, double C) {
int OrigRM = fegetround();
fesetround(FE_TOWARDZERO);
double tmp = A + B;
fesetround(OrigRM);
return tmp + C;
}
Assuming the compiler was in a state where it knew fenv access was enabled, I would expect that to get translated to something like this (after SROA cleanup):
define double @foo(double %A, double %B, double %C) {
%o...