---
arm-asm.c | 2 ++
arm-tok.h | 1 +
2 files changed, 3 insertions(+)
diff --git a/arm-asm.c b/arm-asm.c
index e039fa9..f1d776a 100644
--- a/arm-asm.c
+++ b/arm-asm.c
@@ -212,6 +212,7 @@ static void asm_unary_opcode(TCCState *s1, int token)
switch (ARM_INSTRUCTION_GROUP(token)) {
case TOK_ASM_swieq:
+ case TOK_ASM_svceq:
if (op.type != OP_IM8)
expect("immediate 8-bit unsigned integer");
else {
@@ -1776,6 +1777,7 @@ ST_FUNC void asm_opcode(TCCState *s1, int token)
asm_nullary_opcode(token);
return;
case TOK_ASM_swieq:
+ case TOK_ASM_svceq:
asm_unary_opcode(s1, token);
return;
case TOK_ASM_beq:
diff --git a/arm-tok.h b/arm-tok.h
index 3dc3ea0..bb57f95 100644
--- a/arm-tok.h
+++ b/arm-tok.h
@@ -159,6 +159,7 @@
DEF_ASM_CONDED(wfe)
DEF_ASM_CONDED(wfi)
DEF_ASM_CONDED(swi)
+ DEF_ASM_CONDED(svc)
/* misc */
DEF_ASM_CONDED(clz)
_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel