Add docs and tests for copy_special instruction. Fixes encoding issue that tests revealed.

This commit is contained in:
Tyler McMullen
2017-12-01 18:01:00 -08:00
committed by Jakob Stoklund Olesen
parent 4eb9a54096
commit 3b1b33e0ac
6 changed files with 41 additions and 4 deletions

View File

@@ -140,6 +140,13 @@ ebb0:
; asm: movl %ecx, %esi
[-,%rsi] v81 = copy v1 ; bin: 89 ce
; Copy Special
; asm: movl %esp, %ebp
copy_special %rsp -> %rbp ; bin: 89 e5
; asm: movl %ebp, %esp
copy_special %rbp -> %rsp ; bin: 89 ec
; Load/Store instructions.
; Register indirect addressing with no displacement.