two_byte_opcodes.isa (5902:7a323daa3df2) two_byte_opcodes.isa (5907:8a633e6a8df1)
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

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

249 }}, IsNonSpeculative);
250 0x59: m5reserved5({{
251 warn("M5 reserved opcode 5 ignored.\n");
252 }}, IsNonSpeculative);
253 default: Inst::UD2();
254 }
255 }
256#if FULL_SYSTEM
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

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

249 }}, IsNonSpeculative);
250 0x59: m5reserved5({{
251 warn("M5 reserved opcode 5 ignored.\n");
252 }}, IsNonSpeculative);
253 default: Inst::UD2();
254 }
255 }
256#if FULL_SYSTEM
257 0x05: syscall();
257 0x05: decode MODE_MODE {
258 0x0: decode MODE_SUBMODE {
259 0x0: Inst::SYSCALL_64();
260 0x1: Inst::SYSCALL_COMPAT();
261 }
262 0x1: Inst::SYSCALL_LEGACY();
263 }
258#else
259 0x05: SyscallInst::syscall('xc->syscall(Rax)', IsSyscall);
260#endif
261 0x06: clts();
262 //sandpile.org says (AMD) after sysret, so I might want to check
263 //if that means amd64 or AMD machines
264 0x07: loadall_or_sysret();
265 }

--- 841 unchanged lines hidden ---
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();
271 }

--- 841 unchanged lines hidden ---