* sh-opc.h: The operand of `mov.w r0, (<disp>,GBR)' is IMM1, not 0.

This commit is contained in:
Alexandre Oliva 2000-11-11 05:42:01 +00:00
parent 1300f5dda8
commit 54a4ca2e1d
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2000-11-11 Alexandre Oliva <aoliva@redhat.com>
* sh-opc.h: The operand of `mov.w r0, (<disp>,GBR)' is IMM1, not 0.
2000-11-07 Matthew Green <mrg@redhat.com>
* cgen-dis.in (print_insn): All insns which can fit into insn_value

View File

@ -400,7 +400,7 @@ sh_opcode_info sh_table[] = {
/* 10000001mmmmi4*2 mov.w R0,@(<disp>,<REG_M>)*/{"mov.w",{A_R0,A_DISP_REG_M},{HEX_8,HEX_1,REG_M,IMM1_4BY2}, arch_sh1_up},
/* 11000001i8*2.... mov.w R0,@(<disp>,GBR)*/{"mov.w",{A_R0,A_DISP_GBR},{HEX_C,HEX_1,IMM0_8BY2}, arch_sh1_up},
/* 11000001i8*2.... mov.w R0,@(<disp>,GBR)*/{"mov.w",{A_R0,A_DISP_GBR},{HEX_C,HEX_1,IMM1_8BY2}, arch_sh1_up},
/* 11000111i8p4.... mova @(<disp>,PC),R0*/{"mova",{A_DISP_PC,A_R0},{HEX_C,HEX_7,PCRELIMM_8BY4}, arch_sh1_up},
/* 0000nnnn11000011 movca.l R0,@<REG_N> */{"movca.l",{A_R0,A_IND_N},{HEX_0,REG_N,HEX_C,HEX_3}, arch_sh4_up},