diff options
author | Carol Eidt <carol.eidt@microsoft.com> | 2019-04-16 09:35:49 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-16 09:35:49 -0700 |
commit | 5be6b66ff3597df6a1ce3b66a8cf65b0beb40856 (patch) | |
tree | a40d84e300782a3da0b33386086f629da646f98e /src/jit/compiler.hpp | |
parent | 11a3859c10dcc20a6c5865135334f4df62d2358c (diff) | |
download | coreclr-5be6b66ff3597df6a1ce3b66a8cf65b0beb40856.tar.gz coreclr-5be6b66ff3597df6a1ce3b66a8cf65b0beb40856.tar.bz2 coreclr-5be6b66ff3597df6a1ce3b66a8cf65b0beb40856.zip |
Arm64 vector ABI (#23675)
* Support for Arm64 Vector ABI
Extend HFA support to support vectors as well as floating point types.
This requires that the JIT recognize vector types even during crossgen,
so that the ABI is supported consistently.
Also, fix and re-enable the disabled Arm64 Simd tests.
Fix #16022
Diffstat (limited to 'src/jit/compiler.hpp')
-rw-r--r-- | src/jit/compiler.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/jit/compiler.hpp b/src/jit/compiler.hpp index 901a58ec9e..0b30114f67 100644 --- a/src/jit/compiler.hpp +++ b/src/jit/compiler.hpp @@ -2919,7 +2919,7 @@ inline regNumber genMapFloatRegArgNumToRegNum(unsigned argNum) __forceinline regNumber genMapRegArgNumToRegNum(unsigned argNum, var_types type) { - if (varTypeIsFloating(type)) + if (varTypeUsesFloatArgReg(type)) { return genMapFloatRegArgNumToRegNum(argNum); } @@ -2957,7 +2957,7 @@ inline regMaskTP genMapFloatRegArgNumToRegMask(unsigned argNum) __forceinline regMaskTP genMapArgNumToRegMask(unsigned argNum, var_types type) { regMaskTP result; - if (varTypeIsFloating(type)) + if (varTypeUsesFloatArgReg(type)) { result = genMapFloatRegArgNumToRegMask(argNum); #ifdef _TARGET_ARM_ @@ -3076,7 +3076,7 @@ inline unsigned genMapFloatRegNumToRegArgNum(regNumber regNum) inline unsigned genMapRegNumToRegArgNum(regNumber regNum, var_types type) { - if (varTypeIsFloating(type)) + if (varTypeUsesFloatArgReg(type)) { return genMapFloatRegNumToRegArgNum(regNum); } |