aboutsummaryrefslogtreecommitdiff
path: root/i386-tok.h
diff options
context:
space:
mode:
authorMichael Matz <matz@suse.de>2016-07-11 21:41:15 +0200
committerMichael Matz <matz@suse.de>2016-12-15 17:47:08 +0100
commit5692716770e9e2e733d0e7ab6ce0bd70cb830aba (patch)
tree7b3b856046c5052a9e416389758f5ada4a6ba52f /i386-tok.h
parente3f2a683113bb28bc1e9820dfe18d3bd8e0156d2 (diff)
downloadtinycc-5692716770e9e2e733d0e7ab6ce0bd70cb830aba.tar.gz
tinycc-5692716770e9e2e733d0e7ab6ce0bd70cb830aba.tar.bz2
x86-asm: Fix lar opcode operands
lar can accept multiple sizes as well (wlx), like lsl. When using autosize it's important to look at the destination operand first; when it's a register that one determines the size, not the input operand.
Diffstat (limited to 'i386-tok.h')
-rw-r--r--i386-tok.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/i386-tok.h b/i386-tok.h
index c54e0e7..cf65897 100644
--- a/i386-tok.h
+++ b/i386-tok.h
@@ -185,6 +185,7 @@
DEF_WLX(btr)
DEF_WLX(btc)
+ DEF_WLX(lar)
DEF_WLX(lsl)
/* generic FP ops */