The change implements lowering of get_fpenv, set_fpenv and
reset_fpenv.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Target/X86/X86SelectionDAGInfo.cpp | ||
---|---|---|
390 | Windows defaults to 53 bit precision. |
llvm/lib/Target/X86/X86SelectionDAGInfo.cpp | ||
---|---|---|
390 | Fixed. |
Comment Actions
Updated patch
- Remove changes related to fix for mayLoad/mayStore properties, the relevant changes are already in master,
- Removed lowering of ISD::GET_FPENV and friends. This operation is useless as lowering of FPEnv intrinsics is made when constructing DAG.
llvm/lib/Target/X86/X86ISelLowering.cpp | ||
---|---|---|
26063 | Maybe check for hasX87 too? | |
26067 | hasSSE1? | |
26099 | Maybe pass Subtarget from caller instead? | |
llvm/lib/Target/X86/X86ISelLowering.h | ||
778 | Add a suffix m | |
781 | ditto. | |
llvm/lib/Target/X86/X86InstrFPStack.td | ||
398–399 | Need to add Predicates = [HasX87] if change to I. | |
404–405 | ditto. |
Comment Actions
LGTM.
llvm/lib/Target/X86/X86ISelLowering.cpp | ||
---|---|---|
29130–29132 | Maybe use upper L to match with other functions here. |
Add a suffix m