Deleted Added
sdiff udiff text old ( 4482:7ca486cfc7a6 ) new ( 4519:f8da6b45573f )
full compact
1// Copyright (c) 2007 The Hewlett-Packard Development Company
2// All rights reserved.
3//
4// Redistribution and use of this software in source and binary forms,
5// with or without modification, are permitted provided that the
6// following conditions are met:
7//
8// The software must be used only for Non-Commercial Use which means any

--- 47 unchanged lines hidden (view full) ---

56////////////////////////////////////////////////////////////////////
57//
58// Decode the one byte opcodes
59//
60
610x1: decode OPCODE_OP_TOP5 {
62 format WarnUnimpl {
63 0x00: decode OPCODE_OP_BOTTOM3 {
64 0x4: ADD();
65 0x5: ADD();
66 0x6: push_ES();
67 0x7: pop_ES();
68 default: ADD();
69 }
70 0x01: decode OPCODE_OP_BOTTOM3 {
71 0x0: or_Eb_Gb();
72 0x1: or_Ev_Gv();
73 0x2: or_Gb_Eb();
74 0x3: or_Gv_Ev();
75 0x4: or_Al_Ib();
76 0x5: or_rAX_Iz();

--- 40 unchanged lines hidden (view full) ---

117 0x3: sub_Gv_Ev();
118 0x4: sub_Al_Ib();
119 0x5: sub_rAX_Iz();
120 0x6: M5InternalError::error(
121 {{"Tried to execute the CS segment override prefix!"}});
122 0x7: das();
123 }
124 0x06: decode OPCODE_OP_BOTTOM3 {
125 0x4: Inst::XOR(ALIb);
126 0x5: Inst::XOR(rAX,Iz);
127 0x6: M5InternalError::error(
128 {{"Tried to execute the SS segment override prefix!"}});
129 0x7: aaa();
130 default: MultiInst::XOR(EbGb, EvGv, GbEb, GvEv);
131 }
132 0x07: decode OPCODE_OP_BOTTOM3 {
133 0x0: cmp_Eb_Gb();
134 0x1: cmp_Ev_Gv();
135 0x2: cmp_Gb_Eb();
136 0x3: cmp_Gv_Ev();
137 0x4: cmp_Al_Ib();
138 0x5: cmp_rAX_Iz();

--- 91 unchanged lines hidden (view full) ---

230 0x2: group1_Eb_Ib();
231 0x3: group1_Ev_Ib();
232 0x4: test_Eb_Gb();
233 0x5: test_Ev_Gv();
234 0x6: xchg_Eb_Gb();
235 0x7: xchg_Ev_Gv();
236 }
237 0x11: decode OPCODE_OP_BOTTOM3 {
238 0x0: MOV();
239 0x1: MOV();
240 0x2: MOV();
241 0x3: MOV();
242 0x4: mov_MwRv_Sw(); //What to do with this one?
243 0x5: lea_Gv_M();
244 0x6: mov_Sw_MwRv();
245 0x7: group10_Ev(); //Make sure this is Ev
246 }
247 0x12: decode OPCODE_OP_BOTTOM3 {
248 0x0: nop_or_pause(); //Check for repe prefix
249 0x1: xchg_rCX_rAX();

--- 143 unchanged lines hidden ---