bindings: update PPC constants

This commit is contained in:
Nguyen Anh Quynh 2018-09-17 21:01:01 +08:00
parent 6bcd9e47af
commit d499a349e4
3 changed files with 24 additions and 24 deletions

View File

@ -23,6 +23,14 @@ public class Ppc_const {
public static final int PPC_BH_PLUS = 1;
public static final int PPC_BH_MINUS = 2;
// Operand type for instruction's operands
public static final int PPC_OP_INVALID = 0;
public static final int PPC_OP_REG = 1;
public static final int PPC_OP_IMM = 2;
public static final int PPC_OP_MEM = 3;
public static final int PPC_OP_CRX = 64;
// PPC registers
public static final int PPC_REG_INVALID = 0;
@ -237,14 +245,6 @@ public class Ppc_const {
public static final int PPC_REG_X2 = 209;
public static final int PPC_REG_ENDING = 210;
// Operand type for instruction's operands
public static final int PPC_OP_INVALID = 0;
public static final int PPC_OP_REG = 1;
public static final int PPC_OP_IMM = 2;
public static final int PPC_OP_MEM = 3;
public static final int PPC_OP_CRX = 64;
// PPC instruction
public static final int PPC_INS_INVALID = 0;

View File

@ -20,6 +20,14 @@ let _PPC_BH_INVALID = 0;;
let _PPC_BH_PLUS = 1;;
let _PPC_BH_MINUS = 2;;
(* Operand type for instruction's operands *)
let _PPC_OP_INVALID = 0;;
let _PPC_OP_REG = 1;;
let _PPC_OP_IMM = 2;;
let _PPC_OP_MEM = 3;;
let _PPC_OP_CRX = 64;;
(* PPC registers *)
let _PPC_REG_INVALID = 0;;
@ -234,14 +242,6 @@ let _PPC_REG_CR1EQ = 208;;
let _PPC_REG_X2 = 209;;
let _PPC_REG_ENDING = 210;;
(* Operand type for instruction's operands *)
let _PPC_OP_INVALID = 0;;
let _PPC_OP_REG = 1;;
let _PPC_OP_IMM = 2;;
let _PPC_OP_MEM = 3;;
let _PPC_OP_CRX = 64;;
(* PPC instruction *)
let _PPC_INS_INVALID = 0;;

View File

@ -20,6 +20,14 @@ PPC_BH_INVALID = 0
PPC_BH_PLUS = 1
PPC_BH_MINUS = 2
# Operand type for instruction's operands
PPC_OP_INVALID = 0
PPC_OP_REG = 1
PPC_OP_IMM = 2
PPC_OP_MEM = 3
PPC_OP_CRX = 64
# PPC registers
PPC_REG_INVALID = 0
@ -234,14 +242,6 @@ PPC_REG_CR1EQ = 208
PPC_REG_X2 = 209
PPC_REG_ENDING = 210
# Operand type for instruction's operands
PPC_OP_INVALID = 0
PPC_OP_REG = 1
PPC_OP_IMM = 2
PPC_OP_MEM = 3
PPC_OP_CRX = 64
# PPC instruction
PPC_INS_INVALID = 0