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