diff options
author | Brian Sullivan <briansul@microsoft.com> | 2016-02-17 18:03:17 -0800 |
---|---|---|
committer | Brian Sullivan <briansul@microsoft.com> | 2016-02-17 18:03:17 -0800 |
commit | a7f71728c96e84378e62e243ce4332130f513dba (patch) | |
tree | 6ad1d96493899c6a6f74cdadb6f90e7f385968b4 /src/jit/emitarm64.cpp | |
parent | b234866bd2a1b4674850c28f980f116042b8b8ea (diff) | |
download | coreclr-a7f71728c96e84378e62e243ce4332130f513dba.tar.gz coreclr-a7f71728c96e84378e62e243ce4332130f513dba.tar.bz2 coreclr-a7f71728c96e84378e62e243ce4332130f513dba.zip |
Refactor the Conditional branches on Arm to match the Arm condition codes
Updated the enum emitJumpKInd to use Arm condition codes rather than x86 conditional branches
This change impacts the Arm32 JIT and verified to have no asm diffs using the for Arm32
Implemented and tested for Arm64 the full set of ordered and unordered floating point branches
Implemented and tested for Arm64 genSetRegToCond for ordered and unordered floating point compares
On Arm64 we now use the genJumpKIndsForTree to return up to two conditional branches for floating point compares
Cleanup we now use genJumpKindForOper to select conditional branches and prefer
using isUnsigned=false for creating branches for GT_EQ and GT_NE
Removed the unused fourth 'condcode' portion of the JMP_SMALL macro and
the fourth column from the Arm/ARm64 part of "emitjmps.cpp"
Unified Arm32 and Arm64 conditionals in "emitjmps.cpp"
Reordered the Arm32 and Arm64 conditionals in "emitjmps.cpp" to matchthe ARMV8 docs
Diffstat (limited to 'src/jit/emitarm64.cpp')
-rw-r--r-- | src/jit/emitarm64.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jit/emitarm64.cpp b/src/jit/emitarm64.cpp index 4adccb6af5..2b203499b4 100644 --- a/src/jit/emitarm64.cpp +++ b/src/jit/emitarm64.cpp @@ -33,7 +33,7 @@ const instruction emitJumpKindInstructions[] = { INS_nop, - #define JMP_SMALL(en, rev, ins, condcode) INS_##ins, + #define JMP_SMALL(en, rev, ins) INS_##ins, #include "emitjmps.h" }; @@ -41,7 +41,7 @@ const emitJumpKind emitReverseJumpKinds[] = { EJ_NONE, - #define JMP_SMALL(en, rev, ins, condcode) EJ_##rev, + #define JMP_SMALL(en, rev, ins) EJ_##rev, #include "emitjmps.h" }; |