opcodes: bfin: simplify field width processing and fix build warnings
[external/binutils.git] / opcodes / ChangeLog
1 2012-04-01  Mike Frysinger  <vapier@gentoo.org>
2
3         * bfin-dis.c (fmtconst): Replace decimal handling with a single
4         sprintf call and the '*' field width.
5
6 2012-03-23  Maxim Kuvyrkov  <maxim@codesourcery.com>
7
8         * mips-dis.c (mips_arch_choices): Add entry for Broadcom XLP.
9
10 2012-03-16  Alan Modra  <amodra@gmail.com>
11
12         * ppc-dis.c (PPC_OPC_SEGS, PPC_OP_TO_SEG): Delete.
13         (powerpc_opcd_indices): Bump array size.
14         (disassemble_init_powerpc): Set powerpc_opcd_indices entries
15         corresponding to unused opcodes to following entry.
16         (lookup_powerpc): New function, extracted and optimised from..
17         (print_insn_powerpc): ..here.
18
19 2012-03-15  Alan Modra  <amodra@gmail.com>
20             James Lemke  <jwlemke@codesourcery.com>
21
22         * disassemble.c (disassemble_init_for_target): Handle ppc init.
23         * ppc-dis.c (private): New var.
24         (powerpc_init_dialect): Don't return calloc failure, instead use
25         private.
26         (PPC_OPCD_SEGS, PPC_OP_TO_SEG): Define.
27         (powerpc_opcd_indices): New array.
28         (disassemble_init_powerpc): New function.
29         (print_insn_big_powerpc): Don't init dialect here.
30         (print_insn_little_powerpc): Likewise.
31         (print_insn_powerpc): Start search using powerpc_opcd_indices.
32
33 2012-03-10  Edmar Wienskoski  <edmar@freescale.com>
34
35         * ppc-dis.c (ppc_opts): Add entries for "e5500" and "e6500".
36         * ppc-opc.c (insert_ls, TMR, ESYNC, XSYNCLE_MASK): New.
37         (PPCVEC2, PPCTMR, E6500): New short names.
38         (powerpc_opcodes): Add vabsdub, vabsduh, vabsduw, dni, mvidsplt,
39         mviwsplt, icblq., mftmr, mttmr, dcblq., miso, lvexbx, lvexhx,
40         lvexwx, stvexbx, stvexhx, stvexwx, lvepx, lvepxl, stvepx, stvepxl,
41         lvtrx, lvtrxl, lvtlx, lvtlxl, stvfrx, stvfrxl, stvflx, stvflxl,
42         lvswx, lvswxl, stvswx, stvswxl, lvsm mnemonics. Accept LS, ESYNC
43         optional operands on sync instruction for E6500 target.
44
45 2012-03-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46
47         * s390-opc.txt: Set instruction type of pku to SS_L2RDRD.
48
49 2012-02-27  Alan Modra  <amodra@gmail.com>
50
51         * mt-dis.c: Regenerate.
52
53 2012-02-27  Alan Modra  <amodra@gmail.com>
54
55         * v850-opc.c (extract_v8): Rearrange to make it obvious this
56         is the inverse of corresponding insert function.
57         (extract_d22, extract_u9, extract_r4): Likewise.
58         (extract_d9): Correct sign extension.
59         (extract_d16_15): Don't assume "long" is 32 bits, and don't
60         rely on implementation defined behaviour for shift right of
61         signed types.
62         (extract_d16_16, extract_d17_16, extract_i9): Likewise.
63         (extract_d23): Likewise, and correct mask.
64
65 2012-02-27  Alan Modra  <amodra@gmail.com>
66
67         * crx-dis.c (print_arg): Mask constant to 32 bits.
68         * crx-opc.c (cst4_map): Use int array.
69
70 2012-02-27  Alan Modra  <amodra@gmail.com>
71
72         * arc-dis.c (BITS): Don't use shifts to mask off bits.
73         (FIELDD): Sign extend with xor,sub.
74
75 2012-02-25  Walter Lee  <walt@tilera.com>
76
77         * tilegx-opc.c: Handle TILEGX_OPC_LD4S_TLS and TILEGX_OPC_LD_TLS.
78         * tilepro-opc.c: Handle TILEPRO_OPC_LW_TLS and
79         TILEPRO_OPC_LW_TLS_SN.
80
81 2012-02-21  H.J. Lu  <hongjiu.lu@intel.com>
82
83         * i386-opc.h (HLEPrefixNone): New.
84         (HLEPrefixLock): Likewise.
85         (HLEPrefixAny): Likewise.
86         (HLEPrefixRelease): Likewise.
87
88 2012-02-08  H.J. Lu  <hongjiu.lu@intel.com>
89
90         * i386-dis.c (HLE_Fixup1): New.
91         (HLE_Fixup2): Likewise.
92         (HLE_Fixup3): Likewise.
93         (Ebh1): Likewise.
94         (Evh1): Likewise.
95         (Ebh2): Likewise.
96         (Evh2): Likewise.
97         (Ebh3): Likewise.
98         (Evh3): Likewise.
99         (MOD_C6_REG_7): Likewise.
100         (MOD_C7_REG_7): Likewise.
101         (RM_C6_REG_7): Likewise.
102         (RM_C7_REG_7): Likewise.
103         (XACQUIRE_PREFIX): Likewise.
104         (XRELEASE_PREFIX): Likewise.
105         (dis386): Use Ebh1/Evh1 on add, adc, and, btc, btr, bts,
106         cmpxchg, dec, inc, neg, not, or, sbb, sub, xor and xadd. Use
107         Ebh2/Evh2 on xchg.  Use Ebh3/Evh3 on mov.
108         (reg_table): Use Ebh1/Evh1 on add, adc, and, dec, inc, neg,
109         not, or, sbb, sub and xor.  Use Ebh3/Evh3 on mov.  Use
110         MOD_C6_REG_7 and MOD_C7_REG_7.
111         (mod_table): Add MOD_C6_REG_7 and MOD_C7_REG_7.
112         (rm_table): Add RM_C6_REG_7 and RM_C7_REG_7.  Add xend and
113         xtest.
114         (prefix_name): Handle XACQUIRE_PREFIX and XRELEASE_PREFIX.
115         (CMPXCHG8B_Fixup): Handle HLE prefix on cmpxchg8b.
116
117         * i386-gen.c (cpu_flag_init): Add CPU_HLE_FLAGS and
118         CPU_RTM_FLAGS.
119         (cpu_flags): Add CpuHLE and CpuRTM.
120         (opcode_modifiers): Add HLEPrefixOk.
121
122         * i386-opc.h (CpuHLE): New.
123         (CpuRTM): Likewise.
124         (HLEPrefixOk): Likewise.
125         (i386_cpu_flags): Add cpuhle and cpurtm.
126         (i386_opcode_modifier): Add hleprefixok.
127
128         * i386-opc.tbl: Add HLEPrefixOk=3 to mov.  Add HLEPrefixOk to
129         add, adc, and, btc, btr, bts, cmpxchg, dec, inc, neg, not, or,
130         sbb, sub, xor and xadd.  Add HLEPrefixOk=2 to xchg with memory
131         operand.  Add xacquire, xrelease, xabort, xbegin, xend and
132         xtest.
133         * i386-init.h: Regenerated.
134         * i386-tbl.h: Likewise.
135
136 2012-01-24  DJ Delorie  <dj@redhat.com>
137
138         * rl78-decode.opc (rl78_decode_opcode): Add NOT1.
139         * rl78-decode.c: Regenerate.
140
141 2012-01-17  James Murray  <jsm@jsm-net.demon.co.uk>
142
143         PR binutils/10173
144         * cr16-dis.c (print_arg): Test symtab_size not num_symbols.
145
146 2012-01-17  Andreas Schwab  <schwab@linux-m68k.org>
147
148         * m68k-opc.c (m68k_opcodes): Fix entries for pmove with BADx/BACx
149         register and move them after pmove with PSR/PCSR register.
150
151 2012-01-13  H.J. Lu  <hongjiu.lu@intel.com>
152
153         * i386-dis.c (mod_table): Add vmfunc.
154
155         * i386-gen.c (cpu_flag_init): Add CPU_VMFUNC_FLAGS.
156         (cpu_flags): CpuVMFUNC.
157
158         * i386-opc.h (CpuVMFUNC): New.
159         (i386_cpu_flags): Add cpuvmfunc.
160
161         * i386-opc.tbl: Add vmfunc.
162         * i386-init.h: Regenerated.
163         * i386-tbl.h: Likewise.
164
165 For older changes see ChangeLog-2011
166 \f
167 Local Variables:
168 mode: change-log
169 left-margin: 8
170 fill-column: 74
171 version-control: never
172 End: