Add Intel encodings for ifcmp_sp.
Also generate an Into<RegUnit> implementation for the RU enums.
This commit is contained in:
@@ -534,5 +534,11 @@ ebb1:
|
||||
; asm: jnbe .+4; ud2
|
||||
trapif ule v11, user0 ; bin: 77 02 0f 0b
|
||||
|
||||
; Stack check.
|
||||
; asm: cmpl %esp, %ecx
|
||||
[-,%eflags] v40 = ifcmp_sp v1 ; bin: 39 e1
|
||||
; asm: cmpl %esp, %esi
|
||||
[-,%eflags] v41 = ifcmp_sp v2 ; bin: 39 e6
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
@@ -615,6 +615,12 @@ ebb1:
|
||||
; asm: jnbe .+4; ud2
|
||||
trapif ule v11, user0 ; bin: 77 02 0f 0b
|
||||
|
||||
; Stack check.
|
||||
; asm: cmpq %rsp, %rcx
|
||||
[-,%eflags] v40 = ifcmp_sp v1 ; bin: 48 39 e1
|
||||
; asm: cmpq %rsp, %r10
|
||||
[-,%eflags] v41 = ifcmp_sp v2 ; bin: 49 39 e2
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user