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