Loading llvm/test/tools/llvm-exegesis/X86/latency-SQRTSSr.s 0 → 100644 +13 −0 Original line number Diff line number Diff line # RUN: llvm-exegesis -mode=latency -opcode-name=SQRTSSr -repetition-mode=loop | FileCheck %s # Check that the setup code for MXCSR does not crash the snippet. CHECK: --- CHECK-NEXT: mode: latency CHECK-NEXT: key: CHECK-NEXT: instructions: CHECK-NEXT: SQRTSSr CHECK-NEXT: config: '' CHECK-NEXT: register_initial_values: CHECK-NOT: crashed CHECK-LAST: ... llvm/tools/llvm-exegesis/lib/X86/Target.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -513,6 +513,7 @@ ConstantInliner::loadImplicitRegAndFinalize(unsigned Opcode, unsigned Value) { .addReg(0) // IndexReg .addImm(0) // Disp .addReg(0)); // Segment add(releaseStackSpace(4)); return std::move(Instructions); } Loading Loading
llvm/test/tools/llvm-exegesis/X86/latency-SQRTSSr.s 0 → 100644 +13 −0 Original line number Diff line number Diff line # RUN: llvm-exegesis -mode=latency -opcode-name=SQRTSSr -repetition-mode=loop | FileCheck %s # Check that the setup code for MXCSR does not crash the snippet. CHECK: --- CHECK-NEXT: mode: latency CHECK-NEXT: key: CHECK-NEXT: instructions: CHECK-NEXT: SQRTSSr CHECK-NEXT: config: '' CHECK-NEXT: register_initial_values: CHECK-NOT: crashed CHECK-LAST: ...
llvm/tools/llvm-exegesis/lib/X86/Target.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -513,6 +513,7 @@ ConstantInliner::loadImplicitRegAndFinalize(unsigned Opcode, unsigned Value) { .addReg(0) // IndexReg .addImm(0) // Disp .addReg(0)); // Segment add(releaseStackSpace(4)); return std::move(Instructions); } Loading