Add Intel encodings for ifcmp_sp.

Also generate an Into<RegUnit> implementation for the RU enums.
This commit is contained in:
Jakob Stoklund Olesen
2018-02-09 14:32:29 -08:00
parent 73c4c356c9
commit 788a78caf4
9 changed files with 34 additions and 8 deletions

View File

@@ -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
}

View File

@@ -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
}