diff options
author | Tanner Gooding <tagoo@outlook.com> | 2019-04-05 13:58:18 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-05 13:58:18 -0700 |
commit | 1b4d7c77d3e9d1a67ffa354a63692ecc07553b5c (patch) | |
tree | 90396ba837369108d702764918b63da990d9a5df /src/jit/hwintrinsicxarch.h | |
parent | 04f97c9923156b0c695f5fe441ffd14624de8076 (diff) | |
download | coreclr-1b4d7c77d3e9d1a67ffa354a63692ecc07553b5c.tar.gz coreclr-1b4d7c77d3e9d1a67ffa354a63692ecc07553b5c.tar.bz2 coreclr-1b4d7c77d3e9d1a67ffa354a63692ecc07553b5c.zip |
Update the JIT to recognize the IsSupported property for all HWIntrinsics (#23751)
* Moving some JITDUMP calls into Compiler::lookupNamedIntrinsic
* Marking the IsSupported methods as Intrinsic for all HWIntrinsic ISAs
* Updating the hwintrinsic importation to more generally handle IsSupported and ThrowPNSE
* Applying formatting patch.
* Adding using System.Runtime.CompilerServices to the various x86 PlatformNotSupported HWIntrinsic files
Diffstat (limited to 'src/jit/hwintrinsicxarch.h')
-rw-r--r-- | src/jit/hwintrinsicxarch.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/jit/hwintrinsicxarch.h b/src/jit/hwintrinsicxarch.h index dbbb103d4e..30a4d9bddb 100644 --- a/src/jit/hwintrinsicxarch.h +++ b/src/jit/hwintrinsicxarch.h @@ -15,10 +15,6 @@ enum HWIntrinsicCategory : unsigned int // - the codegen of overloads can be determined by intrinsicID and base type of returned vector HW_Category_SimpleSIMD, - // IsSupported Property - // - each ISA class has an "IsSupported" property - HW_Category_IsSupportedProperty, - // IMM intrinsics // - some SIMD intrinsics requires immediate value (i.e. imm8) to generate instruction HW_Category_IMM, @@ -129,7 +125,10 @@ struct HWIntrinsicInfo static const HWIntrinsicInfo& lookup(NamedIntrinsic id); - static NamedIntrinsic lookupId(const char* className, const char* methodName, const char* enclosingClassName); + static NamedIntrinsic lookupId(Compiler* comp, + const char* className, + const char* methodName, + const char* enclosingClassName); static InstructionSet lookupIsa(const char* className, const char* enclosingClassName); static unsigned lookupSimdSize(Compiler* comp, NamedIntrinsic id, CORINFO_SIG_INFO* sig); |