Danny Milosavljevic wrote:
For the remaining patches, I'd like to ask you how to implement instructions
with a dot suffix, for example:
vmul.f32 s0, s1
So I tried to add them like
DEF(TOK_ASM_ ## x ## _ ## y, #x "." #y)
instead--but those token are not detected by tcc at runtime.
I suspect that's because '.' is not in the accepted set of characters for
a keyword token.
Nope, it is for asm. See tccpp.c:preprocess_start()
set_idnum('.', is_asm ? IS_ID : 0);
Btw, the msvc compiler does not understand
{} as an initializer (in asm_data_processing_opcode())
and also not
'return' with a void value (in asm_opcode());
---grischka
_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel