From: Joern Rennecke Date: Fri, 30 Nov 2012 17:54:58 +0000 (+0000) Subject: 2012-11-30 Oleg Raikhman X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=02a79b89fdeadccb67048291e6c2a1e5ce6ad623;p=binutils-gdb.git 2012-11-30 Oleg Raikhman Joern Rennecke cpu: * epiphany.cpu (keyword gr-names): Move sb/sl/ip after r9/r10/r12. (load_insn): Add NO-DIS attribute to x, p, d, dpm, dl0, dl0.l. (testset-insn): Add NO_DIS attribute to t.l. (store-insn): Add NO-DIS attribute to x.l, p.l, d.l, dpm.l, dl0.l. (move-insns): Add NO-DIS attribute to cmov.l. (op-mmr-movts): Add NO-DIS attribute to movts.l. (op-mmr-movfs): Add NO-DIS attribute to movfs.l. (op-rrr): Add NO-DIS attribute to .l. (shift-rrr): Add NO-DIS attribute to .l. (op-shift-rri): Add NO-DIS attribute to i32.l. (bitrl, movtl): Add NO-DIS attribute. (op-iextrrr): Add NO-DIS attribute to .l (op-two_operands-float, op-fabs-float): Add NO-DIS attribute to f32.l. (op-fix2float-float, op-float2fix-float, op-fextop-float): Likewise. opcodes: * epiphany-desc.c, epiphany-desc.h, epiphany-opc.c: Regenerate. --- diff --git a/cpu/ChangeLog b/cpu/ChangeLog index bd82d13b5dd..1dbf7609685 100644 --- a/cpu/ChangeLog +++ b/cpu/ChangeLog @@ -1,3 +1,21 @@ +2012-11-30 Oleg Raikhman + Joern Rennecke + + * epiphany.cpu (keyword gr-names): Move sb/sl/ip after r9/r10/r12. + (load_insn): Add NO-DIS attribute to x, p, d, dpm, dl0, dl0.l. + (testset-insn): Add NO_DIS attribute to t.l. + (store-insn): Add NO-DIS attribute to x.l, p.l, d.l, dpm.l, dl0.l. + (move-insns): Add NO-DIS attribute to cmov.l. + (op-mmr-movts): Add NO-DIS attribute to movts.l. + (op-mmr-movfs): Add NO-DIS attribute to movfs.l. + (op-rrr): Add NO-DIS attribute to .l. + (shift-rrr): Add NO-DIS attribute to .l. + (op-shift-rri): Add NO-DIS attribute to i32.l. + (bitrl, movtl): Add NO-DIS attribute. + (op-iextrrr): Add NO-DIS attribute to .l + (op-two_operands-float, op-fabs-float): Add NO-DIS attribute to f32.l. + (op-fix2float-float, op-float2fix-float, op-fextop-float): Likewise. + 2012-02-27 Alan Modra * mt.opc (print_dollarhex): Trim values to 32 bits. diff --git a/cpu/epiphany.cpu b/cpu/epiphany.cpu index a11011b879d..33c81d004f8 100644 --- a/cpu/epiphany.cpu +++ b/cpu/epiphany.cpu @@ -352,7 +352,7 @@ (prefix "") (values ; some preferred aliases - (sb 9) (sl 10) (fp 11) (ip 12) (sp 13) (lr 14) + (fp 11) (sp 13) (lr 14) ; the default register names (r0 0) (r1 1) (r2 2) (r3 3) (r4 4) (r5 5) (r6 6) (r7 7) (r8 8) (r9 9) (r10 10) (r11 11) (r12 12) (r13 13) (r14 14) (r15 15) @@ -365,6 +365,7 @@ ; some less popular aliases (a1 0) (a2 1) (a3 2) (a4 3) (v1 4) (v2 5) (v3 6) (v4 7) (v5 8) (v6 9) (v7 10) (v8 11) + (sb 9) (sl 10) (ip 12) ) ) @@ -1428,7 +1429,7 @@ (dnmi (.sym name "x") (.str "load " mode " indexed") - () + (NO-DIS) (.str name ".l $rd6,[$rn6,$direction$rm6]") (emit (.sym name "x.l") rd6 rn6 direction rm6) ) @@ -1453,7 +1454,7 @@ (dnmi (.sym name "p") (.str "load " mode " postmodify") - () + (NO-DIS) (.str name ".l $rd6,[$rn6],$direction$rm6") (emit (.sym name "p.l") rd6 rn6 direction rm6) ) @@ -1494,7 +1495,7 @@ (dnmi (.sym name "d") (.str "load " mode " displacement") - () + (NO-DIS) (.str name ".l $rd6,[$rn6,$dpmi$disp11]") (emit (.sym name "d.l") rd6 rn6 dpmi disp11) ) @@ -1519,7 +1520,7 @@ (dnmi (.sym name "dpm") (.str "load " mode " displacement post-modify") - () + (NO-DIS) (.str name ".l $rd6,[$rn6],$dpmi$disp11") (emit (.sym name "dpm.l") rd6 rn6 dpmi disp11) ) @@ -1532,12 +1533,12 @@ (emit (.sym name "d16.s") rd rn (disp3 0)) ) (dnmi (.sym name "dl0") "load with 0 disp" - () + (NO-DIS) (.str name " $rd6,[$rn6]") (emit (.sym name "d.l") rd6 rn6 (dpmi 0) (disp11 0)) ) (dnmi (.sym name "dl0.l") "load with 0 disp" - () + (NO-DIS) (.str name ".l $rd6,[$rn6]") (emit (.sym name "d.l") rd6 rn6 (dpmi 0) (disp11 0)) ) @@ -1594,7 +1595,7 @@ (dnmi (.sym name "t.l") (.str "testset " mode ".l indexed") - () + (NO-DIS) (.str name ".l $rd6,[$rn6,$direction$rm6]") (emit (.sym name "t") rd6 rn6 direction rm6) ) @@ -1640,7 +1641,7 @@ (dnmi (.sym name "x.l") (.str "store" mode " indexed") - () + (NO-DIS) (.str name ".l $rd6,[$rn6,$direction$rm6]") (emit (.sym name "x") rd6 rn6 direction rm6) ) @@ -1676,7 +1677,7 @@ ) (dnmi (.sym name "p.l") (.str "store " mode " postmodify") - () + (NO-DIS) (.str name ".l $rd6,[$rn6],$direction$rm6") (emit (.sym name "p") rd6 rn6 direction rm6) ) @@ -1714,7 +1715,7 @@ (dnmi (.sym name "d.l") (.str "store " mode " displacement") - () + (NO-DIS) (.str name ".l $rd6,[$rn6,$dpmi$disp11]") (emit (.sym name "d") rd6 rn6 dpmi disp11) ) @@ -1737,7 +1738,7 @@ ) (dnmi (.sym name "dpm.l") (.str "store " mode " displacement post-modify") - () + (NO-DIS) (.str name ".l $rd6,[$rn6],$dpmi$disp11") (emit (.sym name "dpm") rd6 rn6 dpmi disp11) ) @@ -1756,7 +1757,7 @@ ) (dnmi (.sym name "dl0.l") "store w 0 disp" - () + (NO-DIS) (.str name ".l $rd6,[$rn6]") (emit (.sym name "d") rd6 rn6 (dpmi 0) (disp11 0)) ) @@ -1798,7 +1799,7 @@ ) (dnmi (.sym "cmov.l" cond) (.str "move register " cond) - () + (NO-DIS) (.str "mov" name ".l $rd6,$rn6") (emit (.sym "cmov" cond) rd6 rn6) ) @@ -1859,7 +1860,7 @@ (dnmi (.sym "movts.l" name) (.str "move to " name) - () + (NO-DIS) (.str "movts.l $" sdreg ",$rd6") (emit (.sym "movts" name) sdreg rd6) ) @@ -1903,7 +1904,7 @@ (dnmi (.sym "movfs.l" name) (.str "move from " name) - () + (NO-DIS) (.str "movfs.l $rd6,$" snreg) (emit (.sym "movfs" name) rd6 snreg) ) @@ -2165,7 +2166,7 @@ (dnmi (.sym name ".l") (.str name) - () + (NO-DIS) (.str name ".l $rd6,$rn6,$rm6") (emit (.sym name) rd6 rn6 rm6) ) @@ -2307,7 +2308,7 @@ (dnmi (.sym name ".l") (.str name) - () + (NO-DIS) (.str name ".l $rd6,$rn6,$rm6") (emit (.sym name) rd6 rn6 rm6) ) @@ -2349,7 +2350,7 @@ (dnmi (.sym name "i32.l") (.str name) - () + (NO-DIS) (.str name ".l $rd6,$rn6,$shift") (emit (.sym name "i32") rd6 rn6 shift) ) @@ -2411,7 +2412,7 @@ () ) (dnmi bitrl "bit reverse l" - () + (NO-DIS) ("bitr.l $rd6,$rn6") (emit bitr rd6 rn6) ) @@ -2441,7 +2442,7 @@ (dnmi (.sym name ".l") (.str name) - () + (NO-DIS) (.str name ".l $rd6,$rn6,$rm6") (emit (.sym name) rd6 rn6 rm6) ) @@ -2496,7 +2497,7 @@ ) (dnmi movtl "movt imm16" - () + (NO-DIS) "movt.l $rd6,$imm16" (emit movt rd6 imm16) ) @@ -2581,7 +2582,7 @@ (if (or (and invExcEnbit bisbit) (or (and ovfExcEnbit bvsbit) (and unExcEnbit busbit))) - (sequence () + (sequence () (set expcause0bit (const 1)) (set expcause1bit (const 1)) (call-exception #x4 #x2))) @@ -2602,7 +2603,7 @@ (dnmi (.sym "f_" name "f32.l") (.str "f_" name) - () + (NO-DIS) (.str "f" name ".l $rd6,$rn6,$rm6") (emit (.sym "f_" name "f32") rd6 rn6 rm6) ) @@ -2686,7 +2687,7 @@ (dnmi (.sym "f_" name "f32.l") (.str "f_" name) - () + (NO-DIS) (.str "f" name ".l $rd6,$rn6") (emit (.sym "f_" name "f32") rd6 rn6) ) @@ -2746,7 +2747,7 @@ (dnmi (.sym "f_" name "f32.l") (.str "f_" name) - () + (NO-DIS) (.str "f" name ".l $rd6,$rn6") (emit (.sym "f_" name "f32") rd6 rn6) ) @@ -2830,7 +2831,7 @@ (dnmi (.sym "f_" name "f32.l") (.str "f_" name) - () + (NO-DIS) (.str "f" name ".l $rd6,$rn6") (emit (.sym "f_" name "f32") rd6 rn6) ) @@ -2919,7 +2920,7 @@ (dnmi (.sym "f_" name "f32.l") (.str "f_" name) - () + (NO-DIS) (.str "f" name ".l $frd6,$frn6") (emit (.sym "f_" name "f32") frd6 frn6) ) diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index db35dbaf880..05a092c472d 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,8 @@ +2012-11-30 Oleg Raikhman + Joern Rennecke + + * epiphany-desc.c, epiphany-desc.h, epiphany-opc.c: Regenerate. + 2012-11-29 Roland McGrath * s390-mkopc.c (file_header): Add const. diff --git a/opcodes/epiphany-desc.c b/opcodes/epiphany-desc.c index 271f8a78a74..973b2146fbf 100644 --- a/opcodes/epiphany-desc.c +++ b/opcodes/epiphany-desc.c @@ -131,10 +131,7 @@ static const CGEN_MACH epiphany_cgen_mach_table[] = { static CGEN_KEYWORD_ENTRY epiphany_cgen_opval_gr_names_entries[] = { - { "sb", 9, {0, {{{0, 0}}}}, 0, 0 }, - { "sl", 10, {0, {{{0, 0}}}}, 0, 0 }, { "fp", 11, {0, {{{0, 0}}}}, 0, 0 }, - { "ip", 12, {0, {{{0, 0}}}}, 0, 0 }, { "sp", 13, {0, {{{0, 0}}}}, 0, 0 }, { "lr", 14, {0, {{{0, 0}}}}, 0, 0 }, { "r0", 0, {0, {{{0, 0}}}}, 0, 0 }, @@ -212,7 +209,10 @@ static CGEN_KEYWORD_ENTRY epiphany_cgen_opval_gr_names_entries[] = { "v5", 8, {0, {{{0, 0}}}}, 0, 0 }, { "v6", 9, {0, {{{0, 0}}}}, 0, 0 }, { "v7", 10, {0, {{{0, 0}}}}, 0, 0 }, - { "v8", 11, {0, {{{0, 0}}}}, 0, 0 } + { "v8", 11, {0, {{{0, 0}}}}, 0, 0 }, + { "sb", 9, {0, {{{0, 0}}}}, 0, 0 }, + { "sl", 10, {0, {{{0, 0}}}}, 0, 0 }, + { "ip", 12, {0, {{{0, 0}}}}, 0, 0 } }; CGEN_KEYWORD epiphany_cgen_opval_gr_names = diff --git a/opcodes/epiphany-desc.h b/opcodes/epiphany-desc.h index 430210e2b55..4aada65821a 100644 --- a/opcodes/epiphany-desc.h +++ b/opcodes/epiphany-desc.h @@ -124,27 +124,27 @@ typedef enum insn_dc_25_2 { /* Enum declaration for . */ typedef enum gr_names { - H_REGISTERS_SB = 9, H_REGISTERS_SL = 10, H_REGISTERS_FP = 11, H_REGISTERS_IP = 12 - , H_REGISTERS_SP = 13, H_REGISTERS_LR = 14, H_REGISTERS_R0 = 0, H_REGISTERS_R1 = 1 - , H_REGISTERS_R2 = 2, H_REGISTERS_R3 = 3, H_REGISTERS_R4 = 4, H_REGISTERS_R5 = 5 - , H_REGISTERS_R6 = 6, H_REGISTERS_R7 = 7, H_REGISTERS_R8 = 8, H_REGISTERS_R9 = 9 - , H_REGISTERS_R10 = 10, H_REGISTERS_R11 = 11, H_REGISTERS_R12 = 12, H_REGISTERS_R13 = 13 - , H_REGISTERS_R14 = 14, H_REGISTERS_R15 = 15, H_REGISTERS_R16 = 16, H_REGISTERS_R17 = 17 - , H_REGISTERS_R18 = 18, H_REGISTERS_R19 = 19, H_REGISTERS_R20 = 20, H_REGISTERS_R21 = 21 - , H_REGISTERS_R22 = 22, H_REGISTERS_R23 = 23, H_REGISTERS_R24 = 24, H_REGISTERS_R25 = 25 - , H_REGISTERS_R26 = 26, H_REGISTERS_R27 = 27, H_REGISTERS_R28 = 28, H_REGISTERS_R29 = 29 - , H_REGISTERS_R30 = 30, H_REGISTERS_R31 = 31, H_REGISTERS_R32 = 32, H_REGISTERS_R33 = 33 - , H_REGISTERS_R34 = 34, H_REGISTERS_R35 = 35, H_REGISTERS_R36 = 36, H_REGISTERS_R37 = 37 - , H_REGISTERS_R38 = 38, H_REGISTERS_R39 = 39, H_REGISTERS_R40 = 40, H_REGISTERS_R41 = 41 - , H_REGISTERS_R42 = 42, H_REGISTERS_R43 = 43, H_REGISTERS_R44 = 44, H_REGISTERS_R45 = 45 - , H_REGISTERS_R46 = 46, H_REGISTERS_R47 = 47, H_REGISTERS_R48 = 48, H_REGISTERS_R49 = 49 - , H_REGISTERS_R50 = 50, H_REGISTERS_R51 = 51, H_REGISTERS_R52 = 52, H_REGISTERS_R53 = 53 - , H_REGISTERS_R54 = 54, H_REGISTERS_R55 = 55, H_REGISTERS_R56 = 56, H_REGISTERS_R57 = 57 - , H_REGISTERS_R58 = 58, H_REGISTERS_R59 = 59, H_REGISTERS_R60 = 60, H_REGISTERS_R61 = 61 - , H_REGISTERS_R62 = 62, H_REGISTERS_R63 = 63, H_REGISTERS_A1 = 0, H_REGISTERS_A2 = 1 - , H_REGISTERS_A3 = 2, H_REGISTERS_A4 = 3, H_REGISTERS_V1 = 4, H_REGISTERS_V2 = 5 - , H_REGISTERS_V3 = 6, H_REGISTERS_V4 = 7, H_REGISTERS_V5 = 8, H_REGISTERS_V6 = 9 - , H_REGISTERS_V7 = 10, H_REGISTERS_V8 = 11 + H_REGISTERS_FP = 11, H_REGISTERS_SP = 13, H_REGISTERS_LR = 14, H_REGISTERS_R0 = 0 + , H_REGISTERS_R1 = 1, H_REGISTERS_R2 = 2, H_REGISTERS_R3 = 3, H_REGISTERS_R4 = 4 + , H_REGISTERS_R5 = 5, H_REGISTERS_R6 = 6, H_REGISTERS_R7 = 7, H_REGISTERS_R8 = 8 + , H_REGISTERS_R9 = 9, H_REGISTERS_R10 = 10, H_REGISTERS_R11 = 11, H_REGISTERS_R12 = 12 + , H_REGISTERS_R13 = 13, H_REGISTERS_R14 = 14, H_REGISTERS_R15 = 15, H_REGISTERS_R16 = 16 + , H_REGISTERS_R17 = 17, H_REGISTERS_R18 = 18, H_REGISTERS_R19 = 19, H_REGISTERS_R20 = 20 + , H_REGISTERS_R21 = 21, H_REGISTERS_R22 = 22, H_REGISTERS_R23 = 23, H_REGISTERS_R24 = 24 + , H_REGISTERS_R25 = 25, H_REGISTERS_R26 = 26, H_REGISTERS_R27 = 27, H_REGISTERS_R28 = 28 + , H_REGISTERS_R29 = 29, H_REGISTERS_R30 = 30, H_REGISTERS_R31 = 31, H_REGISTERS_R32 = 32 + , H_REGISTERS_R33 = 33, H_REGISTERS_R34 = 34, H_REGISTERS_R35 = 35, H_REGISTERS_R36 = 36 + , H_REGISTERS_R37 = 37, H_REGISTERS_R38 = 38, H_REGISTERS_R39 = 39, H_REGISTERS_R40 = 40 + , H_REGISTERS_R41 = 41, H_REGISTERS_R42 = 42, H_REGISTERS_R43 = 43, H_REGISTERS_R44 = 44 + , H_REGISTERS_R45 = 45, H_REGISTERS_R46 = 46, H_REGISTERS_R47 = 47, H_REGISTERS_R48 = 48 + , H_REGISTERS_R49 = 49, H_REGISTERS_R50 = 50, H_REGISTERS_R51 = 51, H_REGISTERS_R52 = 52 + , H_REGISTERS_R53 = 53, H_REGISTERS_R54 = 54, H_REGISTERS_R55 = 55, H_REGISTERS_R56 = 56 + , H_REGISTERS_R57 = 57, H_REGISTERS_R58 = 58, H_REGISTERS_R59 = 59, H_REGISTERS_R60 = 60 + , H_REGISTERS_R61 = 61, H_REGISTERS_R62 = 62, H_REGISTERS_R63 = 63, H_REGISTERS_A1 = 0 + , H_REGISTERS_A2 = 1, H_REGISTERS_A3 = 2, H_REGISTERS_A4 = 3, H_REGISTERS_V1 = 4 + , H_REGISTERS_V2 = 5, H_REGISTERS_V3 = 6, H_REGISTERS_V4 = 7, H_REGISTERS_V5 = 8 + , H_REGISTERS_V6 = 9, H_REGISTERS_V7 = 10, H_REGISTERS_V8 = 11, H_REGISTERS_SB = 9 + , H_REGISTERS_SL = 10, H_REGISTERS_IP = 12 } GR_NAMES; /* Enum declaration for +/- index register. */ diff --git a/opcodes/epiphany-opc.c b/opcodes/epiphany-opc.c index e761061015e..b97f76978ed 100644 --- a/opcodes/epiphany-opc.c +++ b/opcodes/epiphany-opc.c @@ -2267,22 +2267,22 @@ static const CGEN_IBASE epiphany_cgen_macro_insn_table[] = /* ldrb.l $rd6,[$rn6,$direction$rm6] */ { -1, "ldrbx", "ldrb.l", 32, - { 0|A(ALIAS), { { { (1<