You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In assembly, I can use the handy < and > syntax to refer to the high and low byte of an address. However, if the address comes from outside the asm block, it still needs to be taken apart manually.
I took a quick look at doing this, but it doesn't look particularly feasible without rewriting a portion of LLVM's inline assembly lowering or doing some massive hacks. It presently assumes that each constraint is assigned to either a single register or a sequence of registers from the same register class, which doesn't permit the kind of free-wheeling splitting requested in the PR.
It should be fairly easy to work around this though, either by hand or with compiler macros. Accordingly, I'm deprioritizing this one.
In assembly, I can use the handy
<
and>
syntax to refer to the high and low byte of an address. However, if the address comes from outside theasm
block, it still needs to be taken apart manually.Here's an example:
Based on the insight in #84, I should be able to rewrite this as:
but what I'd really like to write is something like
or some other similarly concise syntax.
The text was updated successfully, but these errors were encountered: