aboutsummaryrefslogtreecommitdiff
path: root/opcodes/m32c-ibld.c
diff options
context:
space:
mode:
Diffstat (limited to 'opcodes/m32c-ibld.c')
-rw-r--r--opcodes/m32c-ibld.c36
1 files changed, 36 insertions, 0 deletions
diff --git a/opcodes/m32c-ibld.c b/opcodes/m32c-ibld.c
index c78d1f2..16f0048 100644
--- a/opcodes/m32c-ibld.c
+++ b/opcodes/m32c-ibld.c
@@ -1174,6 +1174,9 @@ m32c_cgen_insert_operand (CGEN_CPU_DESC cd,
case M32C_OPERAND_IMM_12_S4 :
errmsg = insert_normal (cd, fields->f_imm_12_s4, 0|(1<<CGEN_IFLD_SIGNED), 0, 12, 4, 32, total_length, buffer);
break;
+ case M32C_OPERAND_IMM_12_S4N :
+ errmsg = insert_normal (cd, fields->f_imm_12_s4, 0|(1<<CGEN_IFLD_SIGNED), 0, 12, 4, 32, total_length, buffer);
+ break;
case M32C_OPERAND_IMM_13_U3 :
errmsg = insert_normal (cd, fields->f_imm_13_u3, 0, 0, 13, 3, 32, total_length, buffer);
break;
@@ -1361,6 +1364,9 @@ m32c_cgen_insert_operand (CGEN_CPU_DESC cd,
case M32C_OPERAND_IMM_8_S4 :
errmsg = insert_normal (cd, fields->f_imm_8_s4, 0|(1<<CGEN_IFLD_SIGNED), 0, 8, 4, 32, total_length, buffer);
break;
+ case M32C_OPERAND_IMM_8_S4N :
+ errmsg = insert_normal (cd, fields->f_imm_8_s4, 0|(1<<CGEN_IFLD_SIGNED), 0, 8, 4, 32, total_length, buffer);
+ break;
case M32C_OPERAND_IMM_SH_12_S4 :
errmsg = insert_normal (cd, fields->f_imm_12_s4, 0|(1<<CGEN_IFLD_SIGNED), 0, 12, 4, 32, total_length, buffer);
break;
@@ -2298,6 +2304,9 @@ m32c_cgen_extract_operand (CGEN_CPU_DESC cd,
case M32C_OPERAND_IMM_12_S4 :
length = extract_normal (cd, ex_info, insn_value, 0|(1<<CGEN_IFLD_SIGNED), 0, 12, 4, 32, total_length, pc, & fields->f_imm_12_s4);
break;
+ case M32C_OPERAND_IMM_12_S4N :
+ length = extract_normal (cd, ex_info, insn_value, 0|(1<<CGEN_IFLD_SIGNED), 0, 12, 4, 32, total_length, pc, & fields->f_imm_12_s4);
+ break;
case M32C_OPERAND_IMM_13_U3 :
length = extract_normal (cd, ex_info, insn_value, 0, 0, 13, 3, 32, total_length, pc, & fields->f_imm_13_u3);
break;
@@ -2480,6 +2489,9 @@ m32c_cgen_extract_operand (CGEN_CPU_DESC cd,
case M32C_OPERAND_IMM_8_S4 :
length = extract_normal (cd, ex_info, insn_value, 0|(1<<CGEN_IFLD_SIGNED), 0, 8, 4, 32, total_length, pc, & fields->f_imm_8_s4);
break;
+ case M32C_OPERAND_IMM_8_S4N :
+ length = extract_normal (cd, ex_info, insn_value, 0|(1<<CGEN_IFLD_SIGNED), 0, 8, 4, 32, total_length, pc, & fields->f_imm_8_s4);
+ break;
case M32C_OPERAND_IMM_SH_12_S4 :
length = extract_normal (cd, ex_info, insn_value, 0|(1<<CGEN_IFLD_SIGNED), 0, 12, 4, 32, total_length, pc, & fields->f_imm_12_s4);
break;
@@ -3106,6 +3118,9 @@ m32c_cgen_get_int_operand (CGEN_CPU_DESC cd ATTRIBUTE_UNUSED,
case M32C_OPERAND_IMM_12_S4 :
value = fields->f_imm_12_s4;
break;
+ case M32C_OPERAND_IMM_12_S4N :
+ value = fields->f_imm_12_s4;
+ break;
case M32C_OPERAND_IMM_13_U3 :
value = fields->f_imm_13_u3;
break;
@@ -3175,6 +3190,9 @@ m32c_cgen_get_int_operand (CGEN_CPU_DESC cd ATTRIBUTE_UNUSED,
case M32C_OPERAND_IMM_8_S4 :
value = fields->f_imm_8_s4;
break;
+ case M32C_OPERAND_IMM_8_S4N :
+ value = fields->f_imm_8_s4;
+ break;
case M32C_OPERAND_IMM_SH_12_S4 :
value = fields->f_imm_12_s4;
break;
@@ -3690,6 +3708,9 @@ m32c_cgen_get_vma_operand (CGEN_CPU_DESC cd ATTRIBUTE_UNUSED,
case M32C_OPERAND_IMM_12_S4 :
value = fields->f_imm_12_s4;
break;
+ case M32C_OPERAND_IMM_12_S4N :
+ value = fields->f_imm_12_s4;
+ break;
case M32C_OPERAND_IMM_13_U3 :
value = fields->f_imm_13_u3;
break;
@@ -3759,6 +3780,9 @@ m32c_cgen_get_vma_operand (CGEN_CPU_DESC cd ATTRIBUTE_UNUSED,
case M32C_OPERAND_IMM_8_S4 :
value = fields->f_imm_8_s4;
break;
+ case M32C_OPERAND_IMM_8_S4N :
+ value = fields->f_imm_8_s4;
+ break;
case M32C_OPERAND_IMM_SH_12_S4 :
value = fields->f_imm_12_s4;
break;
@@ -4276,6 +4300,9 @@ m32c_cgen_set_int_operand (CGEN_CPU_DESC cd ATTRIBUTE_UNUSED,
case M32C_OPERAND_IMM_12_S4 :
fields->f_imm_12_s4 = value;
break;
+ case M32C_OPERAND_IMM_12_S4N :
+ fields->f_imm_12_s4 = value;
+ break;
case M32C_OPERAND_IMM_13_U3 :
fields->f_imm_13_u3 = value;
break;
@@ -4345,6 +4372,9 @@ m32c_cgen_set_int_operand (CGEN_CPU_DESC cd ATTRIBUTE_UNUSED,
case M32C_OPERAND_IMM_8_S4 :
fields->f_imm_8_s4 = value;
break;
+ case M32C_OPERAND_IMM_8_S4N :
+ fields->f_imm_8_s4 = value;
+ break;
case M32C_OPERAND_IMM_SH_12_S4 :
fields->f_imm_12_s4 = value;
break;
@@ -4838,6 +4868,9 @@ m32c_cgen_set_vma_operand (CGEN_CPU_DESC cd ATTRIBUTE_UNUSED,
case M32C_OPERAND_IMM_12_S4 :
fields->f_imm_12_s4 = value;
break;
+ case M32C_OPERAND_IMM_12_S4N :
+ fields->f_imm_12_s4 = value;
+ break;
case M32C_OPERAND_IMM_13_U3 :
fields->f_imm_13_u3 = value;
break;
@@ -4907,6 +4940,9 @@ m32c_cgen_set_vma_operand (CGEN_CPU_DESC cd ATTRIBUTE_UNUSED,
case M32C_OPERAND_IMM_8_S4 :
fields->f_imm_8_s4 = value;
break;
+ case M32C_OPERAND_IMM_8_S4N :
+ fields->f_imm_8_s4 = value;
+ break;
case M32C_OPERAND_IMM_SH_12_S4 :
fields->f_imm_12_s4 = value;
break;