From f5cc64fbd152b153147a2247bbc4a322a24596a7 Mon Sep 17 00:00:00 2001 From: Brian Sullivan Date: Tue, 5 Jun 2018 15:11:08 -0700 Subject: [PATCH] Fix a warning as error issue that causes a build break on the Desktop CLR [tfs-changeset: 1702868] Commit migrated from https://github.com/dotnet/coreclr/commit/6407a2b7ddc6707130fab0a3af8389128e89a5e7 --- src/coreclr/src/jit/emitxarch.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/coreclr/src/jit/emitxarch.cpp b/src/coreclr/src/jit/emitxarch.cpp index 38a6d44..4d2aeb8 100644 --- a/src/coreclr/src/jit/emitxarch.cpp +++ b/src/coreclr/src/jit/emitxarch.cpp @@ -363,6 +363,7 @@ bool emitter::IsDstSrcSrcAVXInstruction(instruction ins) } } +#ifdef FEATURE_HW_INTRINSICS //------------------------------------------------------------------------ // IsDstSrcImmAvxInstruction: Checks if the instruction has a "reg, reg/mem, imm" or // "reg/mem, reg, imm" form for the legacy, VEX, and EVEX @@ -395,6 +396,7 @@ static bool IsDstSrcImmAvxInstruction(instruction ins) return false; } } +#endif // FEATURE_HW_INTRINSICS // ------------------------------------------------------------------- // Is4ByteSSE4Instruction: Returns true if the SSE4 instruction -- 2.7.4