pike.git/
src/
code/
amd64.c
Branch:
Tag:
Non-build tags
All tags
No tags
2017-01-20
2017-01-20 13:48:15 by Henrik Grubbström (Grubba) <grubba@grubba.org>
3e334197c092dcbb82818eceaebe6894496860ee (
7
lines) (+
4
/-
3
)
[
Show
|
Annotate
]
Branch:
8.1
Compiler
[amd64]
: Fixed some invalid constants in the disassembler.
4499:
#define OP_S8 0x02000000 /* 8-bit sign extended to 16 */ /* ModRM lookup */
-
#define OP_OPS
0x10000000
/* Lookup in modrm_ops */
+
#define OP_OPS
0x40000000
/* Lookup in modrm_ops */
#define OP_S 0
4534:
#define PCREL8 (OP_PCREL|OP_8) #define RM (OP_RM)
-
static const char *modrm_ops[
5
][8] = {
+
static const char *modrm_ops[
6
][8] = {
/* #0: ALU operations (Opcodes 0x80, 0x81, 0x83). */ { "add", "or", "adc", "and",
4572:
unsigned INT64 flags; };
-
static struct amd64_opcode amd64_opcodes[
3
][256] = {
+
static struct amd64_opcode amd64_opcodes[
4
][256] = {
/* Main table. */ { /* 0x00 */