summaryrefslogtreecommitdiff
path: root/src/jit/hwintrinsiccodegenxarch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/jit/hwintrinsiccodegenxarch.cpp')
-rw-r--r--src/jit/hwintrinsiccodegenxarch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jit/hwintrinsiccodegenxarch.cpp b/src/jit/hwintrinsiccodegenxarch.cpp
index 72fc44adc1..a12fa1d0fe 100644
--- a/src/jit/hwintrinsiccodegenxarch.cpp
+++ b/src/jit/hwintrinsiccodegenxarch.cpp
@@ -174,7 +174,7 @@ void CodeGen::genHWIntrinsic(GenTreeHWIntrinsic* node)
if ((ival != -1) && varTypeIsFloating(baseType))
{
assert((ival >= 0) && (ival <= 127));
- genHWIntrinsic_R_R_RM_I(node, ins, ival);
+ genHWIntrinsic_R_R_RM_I(node, ins, static_cast<int8_t>(ival));
}
else if (category == HW_Category_MemoryLoad)
{