remove rex-prefixed recipes for e9 and eb jumps

while not incorrect, the prefix has no additional semantics on these
  instructions other than taking an extra byte for the jump
This commit is contained in:
iximeow
2019-05-17 12:28:46 -07:00
committed by Benjamin Bouvier
parent f427a2b923
commit 6059936113
4 changed files with 22 additions and 20 deletions

View File

@@ -17,7 +17,7 @@ ebb1:
; nextln: [RexOp1pu_id#b8] v1 = iconst.i64 0
; nextln: [RexOp1icscc#8039] v2 = icmp eq v0, v1
; nextln: [RexOp1t8jccb#75] brnz v2, ebb1
; nextln: [RexOp1jmpb#eb] jump ebb1
; nextln: [Op1jmpb#eb] jump ebb1
; nextln:
; nextln: ebb1:
; nextln: [Op1ret#c3] return
@@ -39,7 +39,7 @@ ebb1(v2: i64):
; nextln: [RexOp1pu_id#b8] v1 = iconst.i64 0
; nextln: [RexOp1icscc#8039] v3 = icmp eq v0, v1
; nextln: [RexOp1t8jccb#75] brnz v3, ebb1(v0)
; nextln: [RexOp1jmpb#eb] jump ebb1(v0)
; nextln: [Op1jmpb#eb] jump ebb1(v0)
; nextln:
; nextln: ebb1(v2: i64):
; nextln: [Op1ret#c3] return

View File

@@ -103,7 +103,7 @@ function u0:2691(i32 [%rdi], i32 [%rsi], i64 vmctx [%r14]) -> i64 uext [%rax] ba
[Op1umr#89,%rdx] v100 = copy v79
@00a4 [RexOp1rmov#89] regmove v100, %rdx -> %rdi
@00a4 [RexOp1rmov#89] regmove v99, %rcx -> %rsi
@00a4 [RexOp1jmpd#e9] jump ebb3(v100, v99); bin: 40 e9 ffffff2c
@00a4 [Op1jmpd#e9] jump ebb3(v100, v99); bin: e9 ffffff2d
ebb9:
@00a7 [-] fallthrough ebb4