Skip to content
Snippets Groups Projects
Commit 25cb0c1a authored by Loren Merritt's avatar Loren Merritt Committed by Derek Buitenhuis
Browse files

x86inc: activate REP_RET automatically


Now RET checks whether it immediately follows a branch, so the
programmer dosen't have to keep track of that condition. REP_RET
is still needed manually when it's a branch target, but that's
much rarer.

The implementation involves lots of spurious labels, but that's OK
because we strip them.

Signed-off-by: default avatarDerek Buitenhuis <derek.buitenhuis@gmail.com>
parent ce1e8045
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment