two_byte_opcodes.isa (4727:8a6b7746df57) | two_byte_opcodes.isa (4730:77e3e9b15e7e) |
---|---|
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 --- 66 unchanged lines hidden (view full) --- 75 0x06: clts(); 76 //sandpile.org says (AMD) after sysret, so I might want to check 77 //if that means amd64 or AMD machines 78 0x07: loadall_or_sysret(); 79 } 80 0x01: decode OPCODE_OP_BOTTOM3 { 81 0x0: invd(); 82 0x1: wbinvd(); | 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 --- 66 unchanged lines hidden (view full) --- 75 0x06: clts(); 76 //sandpile.org says (AMD) after sysret, so I might want to check 77 //if that means amd64 or AMD machines 78 0x07: loadall_or_sysret(); 79 } 80 0x01: decode OPCODE_OP_BOTTOM3 { 81 0x0: invd(); 82 0x1: wbinvd(); |
83 0x2: This_should_be_an_illegal_instruction(); 84 0x3: UD1(); 85 0x4: This_should_be_an_illegal_instruction(); | 83 0x2: Inst::UD2(); 84 0x3: UD2(); 85 0x4: Inst::UD2(); |
86 0x5: threednow(); 87 0x6: threednow(); 88 0x7: threednow(); 89 } 90 0x02: decode OPCODE_OP_BOTTOM3 { 91 0x0: holder(); 92 0x1: holder(); 93 0x2: holder(); --- 35 unchanged lines hidden (view full) --- 129 } 130 0x06: decode OPCODE_OP_BOTTOM3 { 131 0x0: wrmsr(); 132 0x1: rdtsc(); 133 0x2: rdmsr(); 134 0x3: rdpmc(); 135 0x4: sysenter(); 136 0x5: sysexit(); | 86 0x5: threednow(); 87 0x6: threednow(); 88 0x7: threednow(); 89 } 90 0x02: decode OPCODE_OP_BOTTOM3 { 91 0x0: holder(); 92 0x1: holder(); 93 0x2: holder(); --- 35 unchanged lines hidden (view full) --- 129 } 130 0x06: decode OPCODE_OP_BOTTOM3 { 131 0x0: wrmsr(); 132 0x1: rdtsc(); 133 0x2: rdmsr(); 134 0x3: rdpmc(); 135 0x4: sysenter(); 136 0x5: sysexit(); |
137 0x6: This_should_be_an_illegal_instruction(); | 137 0x6: Inst::UD2(); |
138 0x7: getsec(); 139 } 140 0x07: decode OPCODE_OP_BOTTOM3 { 141 0x0: three_byte_opcode(); 142 0x1: three_byte_opcode(); 143 0x2: three_byte_opcode(); 144 0x3: three_byte_opcode(); 145 0x4: three_byte_opcode(); --- 243 unchanged lines hidden --- | 138 0x7: getsec(); 139 } 140 0x07: decode OPCODE_OP_BOTTOM3 { 141 0x0: three_byte_opcode(); 142 0x1: three_byte_opcode(); 143 0x2: three_byte_opcode(); 144 0x3: three_byte_opcode(); 145 0x4: three_byte_opcode(); --- 243 unchanged lines hidden --- |