two_byte_opcodes.isa (5907:8a633e6a8df1) two_byte_opcodes.isa (5908:c24a1ffc4ad0)
1// Copyright (c) 2008 The Regents of The University of Michigan
2// All rights reserved.
3//
4// Redistribution and use in source and binary forms, with or without
5// modification, are permitted provided that the following conditions are
6// met: redistributions of source code must retain the above copyright
7// notice, this list of conditions and the following disclaimer;
8// redistributions in binary form must reproduce the above copyright

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

260 0x1: Inst::SYSCALL_COMPAT();
261 }
262 0x1: Inst::SYSCALL_LEGACY();
263 }
264#else
265 0x05: SyscallInst::syscall('xc->syscall(Rax)', IsSyscall);
266#endif
267 0x06: clts();
1// Copyright (c) 2008 The Regents of The University of Michigan
2// All rights reserved.
3//
4// Redistribution and use in source and binary forms, with or without
5// modification, are permitted provided that the following conditions are
6// met: redistributions of source code must retain the above copyright
7// notice, this list of conditions and the following disclaimer;
8// redistributions in binary form must reproduce the above copyright

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

260 0x1: Inst::SYSCALL_COMPAT();
261 }
262 0x1: Inst::SYSCALL_LEGACY();
263 }
264#else
265 0x05: SyscallInst::syscall('xc->syscall(Rax)', IsSyscall);
266#endif
267 0x06: clts();
268 //sandpile.org says (AMD) after sysret, so I might want to check
269 //if that means amd64 or AMD machines
270 0x07: loadall_or_sysret();
268 0x07: decode MODE_SUBMODE {
269 0x0: decode OPSIZE {
270 // Return to 64 bit mode.
271 0x8: Inst::SYSRET_TO_64();
272 // Return to compatibility mode.
273 default: Inst::SYSRET_TO_COMPAT();
274 }
275 default: Inst::SYSRET_NON_64();
276 }
271 }
272 0x01: decode OPCODE_OP_BOTTOM3 {
273 0x0: invd();
274 0x1: wbinvd();
275 0x2: Inst::UD2();
276 0x3: Inst::UD2();
277 0x4: Inst::UD2();
278 0x5: prefetch();

--- 834 unchanged lines hidden ---
277 }
278 0x01: decode OPCODE_OP_BOTTOM3 {
279 0x0: invd();
280 0x1: wbinvd();
281 0x2: Inst::UD2();
282 0x3: Inst::UD2();
283 0x4: Inst::UD2();
284 0x5: prefetch();

--- 834 unchanged lines hidden ---