diff options
author | H. Peter Anvin <hpa@zytor.com> | 2012-02-24 20:57:04 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2012-02-24 20:57:04 -0800 |
commit | 10da41e328f24a6cc252d0c69f2f09c824341a2a (patch) | |
tree | 7e589d588abb5bd3afb452f75c9b998c7d651185 /parser.c | |
parent | 44454be952d4c7b2d17fccdad0be8e0b2b693559 (diff) | |
download | nasm-10da41e328f24a6cc252d0c69f2f09c824341a2a.tar.gz nasm-10da41e328f24a6cc252d0c69f2f09c824341a2a.tar.bz2 nasm-10da41e328f24a6cc252d0c69f2f09c824341a2a.zip |
HLE: Split the LOCK and REP prefix slots
With HLE, the sequence REP LOCK actually makes sense, so support it.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'parser.c')
-rw-r--r-- | parser.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -81,12 +81,13 @@ static int prefix_slot(int prefix) case R_GS: return PPS_SEG; case P_LOCK: + return PPS_LOCK; case P_REP: case P_REPE: case P_REPZ: case P_REPNE: case P_REPNZ: - return PPS_LREP; + return PPS_REP; case P_O16: case P_O32: case P_O64: |