Add tests and documentation for x86_(push|pop). Fix up encoding issues revealed by tests.
This commit is contained in:
committed by
Jakob Stoklund Olesen
parent
3b1b33e0ac
commit
1a11c351b5
@@ -383,6 +383,12 @@ ebb0:
|
||||
; asm: movl 1032(%esp), %ecx
|
||||
regfill v1, ss1 -> %rcx ; bin: 8b 8c 24 00000408
|
||||
|
||||
; Push and Pop
|
||||
; asm: pushl %ecx
|
||||
x86_push v1 ; bin: 51
|
||||
; asm: popl %ecx
|
||||
[-,%rcx] v512 = x86_pop.i32 ; bin: 59
|
||||
|
||||
; asm: testl %ecx, %ecx
|
||||
; asm: je ebb1
|
||||
brz v1, ebb1 ; bin: 85 c9 74 0e
|
||||
|
||||
Reference in New Issue
Block a user