[PATCH] D73343: [llvm-exegesis] Restrict the range of allowable rounding countrols.

Clement Courbet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 3 02:55:07 PST 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rG082dccac9079: [llvm-exegesis] Restrict the range of allowable rounding countrols. (authored by courbet).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D73343/new/

https://reviews.llvm.org/D73343

Files:
  llvm/tools/llvm-exegesis/lib/X86/Target.cpp


Index: llvm/tools/llvm-exegesis/lib/X86/Target.cpp
===================================================================
--- llvm/tools/llvm-exegesis/lib/X86/Target.cpp
+++ llvm/tools/llvm-exegesis/lib/X86/Target.cpp
@@ -651,7 +651,7 @@
   switch (Op.getExplicitOperandInfo().OperandType) {
   case X86::OperandType::OPERAND_ROUNDING_CONTROL:
     AssignedValue =
-        MCOperand::createImm(randomIndex(X86::STATIC_ROUNDING::NO_EXC));
+        MCOperand::createImm(randomIndex(X86::STATIC_ROUNDING::TO_ZERO));
     return Error::success();
   case X86::OperandType::OPERAND_COND_CODE:
     AssignedValue =


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73343.242005.patch
Type: text/x-patch
Size: 607 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200203/9deacc09/attachment.bin>


More information about the llvm-commits mailing list