arm64: clarify inline asm support boundary

This commit is contained in:
Benjamin Oldenburg 2026-03-16 15:30:37 +07:00
parent 17801cdac8
commit 545378ed5b
2 changed files with 4 additions and 1 deletions

View File

@ -3,7 +3,8 @@
* ARM64 (AArch64) assembler for TCC
*
* Based on ARM64 Architecture Reference Manual
* Supports AArch64 assembler parsing plus basic inline asm strings
* Supports AArch64 assembler parsing plus basic inline asm strings.
* Extended inline asm with operands or clobbers is not yet implemented.
*/
#ifdef TARGET_DEFS_ONLY
@ -1410,6 +1411,7 @@ static int asm_has_clobbers(const uint8_t *clobber_regs)
}
/* Basic inline asm strings are assembled directly by tccasm.c.
asm goto labels also work through operand substitution there.
Operand allocation and clobber handling are still unsupported here. */
ST_FUNC void asm_gen_code(ASMOperand *operands, int nb_operands,
int nb_outputs, int is_output,

View File

@ -179,6 +179,7 @@ if exist libtcc.dll .\tcc -impdef libtcc.dll -o libtcc\libtcc.def
:lib
@rem ARM64 assembler files and basic inline asm strings are supported here.
@rem Extended inline asm operands/clobbers are intentionally not supported yet.
call :make_lib %T% || goto :the_end
@if exist %PX%-tcc.exe call :make_lib %TX% %PX%- || goto :the_end