Skip to content

Commit

Permalink
simplify vec gadget branching
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewMerrill committed Oct 20, 2019
1 parent 4f06bbc commit 1c7b53d
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions jit/gadgets-x86_64/misc.S
Original file line number Diff line number Diff line change
Expand Up @@ -133,17 +133,14 @@ do_helper 2
xorq %r14, %r14
.ifin(\rm, xmm)
movb 8(%_ip), %r14b
.endifin
.ifin(\rm, read,write)
movb 16(%_ip), %r14b
.endifin
leaq CPU_xmm(%_cpu,%r14), %rdx
.ifin(\rm, xmm)
leaq CPU_xmm(%_cpu,%r14), %rdx
movb 9(%_ip), %r14b
leaq CPU_xmm(%_cpu,%r14), %rsi
callq *(%_ip)
.endifin
.ifin(\rm, read,write)
movb 16(%_ip), %r14b
leaq CPU_xmm(%_cpu,%r14), %rdx
movq %_addrq, %rsi
callq *8(%_ip)
.endifin
Expand Down

0 comments on commit 1c7b53d

Please sign in to comment.