It has the same effect as call.
Signed-off-by: Yao Zi
---
x86_64-asm.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/x86_64-asm.h b/x86_64-asm.h
index 339e1dfb..e4655a7a 100644
--- a/x86_64-asm.h
+++ b/x86_64-asm.h
@@ -225,6 +225,8 @@ ALT(DEF_ASM_OP2(shrdw, 0x0fad, 0, OPC_MODRM | OPC_WLX
This series adds support of 'q'-suffixed call and endbr64 instruction,
enabling TinyCC to compile QBE generated assembly.
Thanks for your time and review.
Yao Zi (2):
x86_64-asm.h: support callq for better compatibility
x86_64-asm: support endbr64 instruction
i386-asm.c | 12 +---
endbr64 has no operand but comes with a ModR/M byte. Handle it in the
same way as *fence instructions.
Signed-off-by: Yao Zi
---
i386-asm.c | 12 +---
x86_64-asm.h | 3 +++
2 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/i386-asm.c b/i386-asm.c
index 33783d5f..a3e16fb8