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