Testers required for tool for LDC - asm_parse

Cecil Ward cecil at cecilward.com
Thu Jul 6 23:01:19 UTC 2023


On Thursday, 6 July 2023 at 21:43:18 UTC, kinke wrote:
> I think adding symbol-names support in LDC directly would be 
> quite straight-forward - by replacing the symbol names in the 
> assembly template string with the operand's underlying numeric 
> ID. See 
> https://github.com/ldc-developers/ldc/blob/d4f2bed3a45688b32434d429e39c22dea5a9ffda/gen/asm-gcc.cpp#L186-L196. The raw string would be `insn`.

Indeed, that’s what I did, that and removing the name definitions 
from inside the constraint blocks. It turned out to be a pain to 
parse the whole thing properly though, and as I’m both very rusty 
and very unwell it took me quite a while. The forum was extremely 
helpful.


More information about the digitalmars-d-ldc mailing list