diff options
author | Tanner Gooding <tagoo@outlook.com> | 2017-02-06 01:58:28 +0000 |
---|---|---|
committer | Tanner Gooding <tagoo@outlook.com> | 2017-02-22 17:38:58 -0800 |
commit | 59d834e4711c351cf9f7326b636294ece42675eb (patch) | |
tree | 7143f75492ef9ef928e53e0f77074f2c4c44fe74 /src/jit/instr.cpp | |
parent | 116752f4138f9e26237c9435bdcde129d4aa3398 (diff) | |
download | coreclr-59d834e4711c351cf9f7326b636294ece42675eb.tar.gz coreclr-59d834e4711c351cf9f7326b636294ece42675eb.tar.bz2 coreclr-59d834e4711c351cf9f7326b636294ece42675eb.zip |
Updating codegenxarch to support single-precision CORINFO_INTRINSIC_Sqrt
Diffstat (limited to 'src/jit/instr.cpp')
-rw-r--r-- | src/jit/instr.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/jit/instr.cpp b/src/jit/instr.cpp index 35db2a5716..d2be69dbc6 100644 --- a/src/jit/instr.cpp +++ b/src/jit/instr.cpp @@ -3564,9 +3564,13 @@ instruction CodeGen::ins_FloatSqrt(var_types type) { ins = INS_sqrtsd; } + else if (type == TYP_FLOAT) + { + ins = INS_sqrtss; + } else { - // Right now sqrt of scalar single is not needed. + assert(!"ins_FloatSqrt: Unsupported type"); unreached(); } |