Displaying 2 results from an estimated 2 matches for "floor_".
Did you mean:
floor
2013 Jul 26
0
[LLVMdev] floor
Here is a test case:
extern double floor(double);
extern double floor_(double);
double x = 1.5;
double y, y_;
void foo() {
double y = floor(x);
double y_ = floor_(x);
}
If I compile this for Mips16, it calls the proper helper function for
floor_ but not for floor, because the signature for floor in callee info
is wrong. Args[0] = void RetTy = void
/local...
2013 Jul 26
2
[LLVMdev] floor
I'm getting some problems because it seems that the compiler is treating
"floor" differently from other math library functions like "sin".
The Args and RetVal have the parameter and return types marked as void.
For mips16, it's important that I be able to know the original signature
for floating point functions.
In some cases, need to create calls to helper