| 837 | |
| 838 | float tempOutFloatStore[32]; |
| 839 | float *getTempOutFloatStore(int alignmentBytes) { |
| 840 | memset(tempOutFloatStore, 0, sizeof(tempOutFloatStore)); |
| 841 | uintptr_t addr = (uintptr_t)tempOutFloatStore; |
| 842 | addr = (addr + alignmentBytes - 1) & ~(alignmentBytes-1); |
| 843 | return (float*)addr; |
| 844 | } |
| 845 | |
| 846 | int *getTempOutIntStore(int alignmentBytes) { return (int*)getTempOutFloatStore(alignmentBytes); } |
| 847 | double *getTempOutDoubleStore(int alignmentBytes) { return (double*)getTempOutFloatStore(alignmentBytes); } |
no test coverage detected