[llvm] Add Instruction selection support for x87 ld/st (PR #97016)
Thorsten Schütt via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 28 02:16:45 PDT 2024
================
@@ -472,6 +482,10 @@ unsigned X86InstructionSelector::getLoadStoreOp(const LLT &Ty,
: (HasAVX512 ? X86::VMOVSDZmr :
HasAVX ? X86::VMOVSDmr :
X86::MOVSDmr);
+ if (X86::PSRRegBankID == RB.getID())
+ return Isload ? X86::LD_Fp64m : X86::ST_Fp64m;
+ } else if (Ty == LLT::scalar(80) || Ty == LLT::pointer(0, 80)) {
----------------
tschuett wrote:
Do you support 80bit pointers?
https://github.com/llvm/llvm-project/pull/97016
More information about the llvm-commits
mailing list