Skip to content
This repository has been archived by the owner on Jun 28, 2022. It is now read-only.

Enabling displacing existing MemoryOperands inside of inline assembly. #107

Open
pgoodman opened this issue Jan 6, 2015 · 0 comments
Open

Comments

@pgoodman
Copy link
Member

pgoodman commented Jan 6, 2015

The following should be possible:

MemoryOperand foo(...);
lir::InlineAssembly asm_(foo);
asm_.InlineBefore(instr,
    "INC m64 [%0 + 4];"_x86_64);

Normally, one would only be able to do "INC m64 %0", so I think this would make a nice improvement that would reduce the number of parameters that need to be passed in to inline assembly blocks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant