x86-asm: Accept 'q' modifier
In inline extended asm '%q1' refers to the 64bit register of operand 1.
This commit is contained in:
2
tccasm.c
2
tccasm.c
@ -946,7 +946,7 @@ static void subst_asm_operands(ASMOperand *operands, int nb_operands,
|
||||
modifier = 0;
|
||||
if (*str == 'c' || *str == 'n' ||
|
||||
*str == 'b' || *str == 'w' ||
|
||||
*str == 'h' || *str == 'k')
|
||||
*str == 'h' || *str == 'k' || *str == 'q')
|
||||
modifier = *str++;
|
||||
index = find_constraint(operands, nb_operands, str, &str);
|
||||
if (index < 0)
|
||||
|
||||
Reference in New Issue
Block a user