diff options
author | Ben Rudiak-Gould <benrudiak@gmail.com> | 2013-03-03 18:43:07 +0400 |
---|---|---|
committer | Cyrill Gorcunov <gorcunov@gmail.com> | 2013-03-03 20:50:46 +0400 |
commit | d1ac29a3cc513642a8d42ddf964b903f5e1508d4 (patch) | |
tree | 7c582f2c8fb9f48f13bc74ee96ca4631286f37fb /insns.pl | |
parent | 83e6924e1a583d432e9a54c68a59779da5d8ce3d (diff) | |
download | nasm-d1ac29a3cc513642a8d42ddf964b903f5e1508d4.tar.gz nasm-d1ac29a3cc513642a8d42ddf964b903f5e1508d4.tar.bz2 nasm-d1ac29a3cc513642a8d42ddf964b903f5e1508d4.zip |
insns: Remove pushseg/popseg internal bytecodes
This patch is getting rid of the following bytecodes
'pushseg','popseg','pushseg2','popseg2' and simplifies
overall code.
[gorcunov@: a few style fixes]
Signed-off-by: Ben Rudiak-Gould <benrudiak@gmail.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Diffstat (limited to 'insns.pl')
-rwxr-xr-x | insns.pl | 12 |
1 files changed, 0 insertions, 12 deletions
@@ -608,14 +608,6 @@ sub startseq($$) { return addprefix($prefix, $c1..($c1+15)); } elsif ($c0 == 0 || $c0 == 0340) { return $prefix; - } elsif ($c0 == 0344) { - return addprefix($prefix, 0x06, 0x0E, 0x16, 0x1E); - } elsif ($c0 == 0345) { - return addprefix($prefix, 0x07, 0x17, 0x1F); - } elsif ($c0 == 0346) { - return addprefix($prefix, 0xA0, 0xA8); - } elsif ($c0 == 0347) { - return addprefix($prefix, 0xA1, 0xA9); } elsif (($c0 & ~3) == 0260 || $c0 == 0270) { my $c,$m,$wlp; $m = shift(@codes); @@ -694,10 +686,6 @@ sub byte_code_compile($$) { '!asp' => 0365, 'f2i' => 0332, # F2 prefix, but 66 for operand size is OK 'f3i' => 0333, # F3 prefix, but 66 for operand size is OK - 'pushseg' => 0344, - 'popseg' => 0345, - 'pushseg2' => 0346, - 'popseg2' => 0347, 'mustrep' => 0336, 'mustrepne' => 0337, 'rex.l' => 0334, |