mirror of
git://repo.or.cz/tinycc.git
synced 2026-07-05 02:48:40 +08:00
arm64: clarify inline asm support boundary
This commit is contained in:
parent
17801cdac8
commit
545378ed5b
@ -3,7 +3,8 @@
|
|||||||
* ARM64 (AArch64) assembler for TCC
|
* ARM64 (AArch64) assembler for TCC
|
||||||
*
|
*
|
||||||
* Based on ARM64 Architecture Reference Manual
|
* 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
|
#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.
|
/* 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. */
|
Operand allocation and clobber handling are still unsupported here. */
|
||||||
ST_FUNC void asm_gen_code(ASMOperand *operands, int nb_operands,
|
ST_FUNC void asm_gen_code(ASMOperand *operands, int nb_operands,
|
||||||
int nb_outputs, int is_output,
|
int nb_outputs, int is_output,
|
||||||
|
|||||||
@ -179,6 +179,7 @@ if exist libtcc.dll .\tcc -impdef libtcc.dll -o libtcc\libtcc.def
|
|||||||
|
|
||||||
:lib
|
:lib
|
||||||
@rem ARM64 assembler files and basic inline asm strings are supported here.
|
@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
|
call :make_lib %T% || goto :the_end
|
||||||
@if exist %PX%-tcc.exe call :make_lib %TX% %PX%- || goto :the_end
|
@if exist %PX%-tcc.exe call :make_lib %TX% %PX%- || goto :the_end
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user