x86: Add NOTRACK prefix support
[deliverable/binutils-gdb.git] / opcodes / ChangeLog
CommitLineData
04ef582a
L
12017-05-22 H.J. Lu <hongjiu.lu@intel.com>
2
3 * i386-dis.c (NOTRACK_Fixup): New.
4 (NOTRACK): Likewise.
5 (NOTRACK_PREFIX): Likewise.
6 (last_active_prefix): Likewise.
7 (reg_table): Use NOTRACK on indirect call and jmp.
8 (ckprefix): Set last_active_prefix.
9 (prefix_name): Return "notrack" for NOTRACK_PREFIX.
10 * i386-gen.c (opcode_modifiers): Add NoTrackPrefixOk.
11 * i386-opc.h (NoTrackPrefixOk): New.
12 (i386_opcode_modifier): Add notrackprefixok.
13 * i386-opc.tbl: Add NoTrackPrefixOk to indirect call and jmp.
14 Add notrack.
15 * i386-tbl.h: Regenerated.
16
64517994
JM
172017-05-19 Jose E. Marchesi <jose.marchesi@oracle.com>
18
19 * sparc-dis.c (MASK_V9): Include SPARC_OPCODE_ARCH_M8.
20 (X_IMM2): Define.
21 (compute_arch_mask): Handle bfd_mach_sparc_v8plusm8 and
22 bfd_mach_sparc_v9m8.
23 (print_insn_sparc): Handle new operand types.
24 * sparc-opc.c (MASK_M8): Define.
25 (v6): Add MASK_M8.
26 (v6notlet): Likewise.
27 (v7): Likewise.
28 (v8): Likewise.
29 (v9): Likewise.
30 (v9a): Likewise.
31 (v9b): Likewise.
32 (v9c): Likewise.
33 (v9d): Likewise.
34 (v9e): Likewise.
35 (v9v): Likewise.
36 (v9m): Likewise.
37 (v9andleon): Likewise.
38 (m8): Define.
39 (HWS_VM8): Define.
40 (HWS2_VM8): Likewise.
41 (sparc_opcode_archs): Add entry for "m8".
42 (sparc_opcodes): Add OSA2017 and M8 instructions
43 dictunpack, fpcmp{ule,ugt,eq,ne,de,ur}{8,16,32}shl,
44 fpx{ll,ra,rl}64x,
45 ldm{sh,uh,sw,uw,x,ux}, ldm{sh,uh,sw,uw,x,ux}a, ldmf{s,d},
46 ldmf{s,d}a, on{add,sub,mul,div}, rdentropy, revbitsb,
47 revbytes{h,w,x}, rle_burst, rle_length, sha3, stm{h,w,x},
48 stm{h,w,x}a, stmf{s,d}, stmf{s,d}a.
49 (asi_table): New M8 ASIs ASI_CORE_COMMIT_COUNT,
50 ASI_CORE_SELECT_COUNT, ASI_ARF_ECC_REG, ASI_ITLB_PROBE, ASI_DSFAR,
51 ASI_DTLB_PROBE_PRIMARY, ASI_DTLB_PROBE_REAL,
52 ASI_CORE_SELECT_COMMIT_NHT.
53
535b785f
AM
542017-05-18 Alan Modra <amodra@gmail.com>
55
56 * aarch64-asm.c: Don't compare boolean values against TRUE or FALSE.
57 * aarch64-dis.c: Likewise.
58 * aarch64-gen.c: Likewise.
59 * aarch64-opc.c: Likewise.
60
25499ac7
MR
612017-05-15 Maciej W. Rozycki <macro@imgtec.com>
62 Matthew Fortune <matthew.fortune@imgtec.com>
63
64 * mips-dis.c (mips_arch_choices): Add ASE_MIPS16E2 and
65 ASE_MIPS16E2_MT flags to the unnamed MIPS16 entry.
66 (mips_convert_abiflags_ases): Handle the AFL_ASE_MIPS16E2 flag.
67 (print_insn_arg) <OP_REG28>: Add handler.
68 (validate_insn_args) <OP_REG28>: Handle.
69 (print_mips16_insn_arg): Handle MIPS16 instructions that require
70 32-bit encoding and 9-bit immediates.
71 (print_insn_mips16): Handle MIPS16 instructions that require
72 32-bit encoding and MFC0/MTC0 operand decoding.
73 * mips16-opc.c (decode_mips16_operand) <'>', '9', 'G', 'N', 'O'>
74 <'Q', 'T', 'b', 'c', 'd', 'r', 'u'>: Add handlers.
75 (RD_C0, WR_C0, E2, E2MT): New macros.
76 (mips16_opcodes): Add entries for MIPS16e2 instructions:
77 GP-relative "addiu" and its "addu" spelling, "andi", "cache",
78 "di", "ehb", "ei", "ext", "ins", GP-relative "lb", "lbu", "lh",
79 "lhu", and "lw" instructions, "ll", "lui", "lwl", "lwr", "mfc0",
80 "movn", "movtn", "movtz", "movz", "mtc0", "ori", "pause",
81 "pref", "rdhwr", "sc", GP-relative "sb", "sh" and "sw"
82 instructions, "swl", "swr", "sync" and its "sync_acquire",
83 "sync_mb", "sync_release", "sync_rmb" and "sync_wmb" aliases,
84 "xori", "dmt", "dvpe", "emt" and "evpe". Add split
85 regular/extended entries for original MIPS16 ISA revision
86 instructions whose extended forms are subdecoded in the MIPS16e2
87 ISA revision: "li", "sll" and "srl".
88
fdfb4752
MR
892017-05-15 Maciej W. Rozycki <macro@imgtec.com>
90
91 * mips-dis.c (print_insn_args) <default>: Remove an MT ASE
92 reference in CP0 move operand decoding.
93
a4f89915
MR
942017-05-12 Maciej W. Rozycki <macro@imgtec.com>
95
96 * mips16-opc.c (decode_mips16_operand) <'6'>: Switch the operand
97 type to hexadecimal.
98 (mips16_opcodes): Add operandless "break" and "sdbbp" entries.
99
99e2d67a
MR
1002017-05-11 Maciej W. Rozycki <macro@imgtec.com>
101
102 * mips-opc.c (mips_builtin_opcodes): Mark "synciobdma", "syncs",
103 "syncw", "syncws", "sync_acquire", "sync_mb", "sync_release",
104 "sync_rmb" and "sync_wmb" as aliases.
105 * micromips-opc.c (micromips_opcodes): Mark "sync_acquire",
106 "sync_mb", "sync_release", "sync_rmb" and "sync_wmb" as aliases.
107
53a346d8
CZ
1082017-05-10 Claudiu Zissulescu <claziss@synopsys.com>
109
110 * arc-dis.c (parse_option): Update quarkse_em option..
111 * arc-ext-tbl.h (dsp_fp_flt2i, dsp_fp_i2flt): Change subclass to
112 QUARKSE1.
113 (dsp_fp_div, dsp_fp_cmp): Change subclass to QUARKSE2.
114
f91d48de
KC
1152017-05-03 Kito Cheng <kito.cheng@gmail.com>
116
117 * riscv-dis.c (print_insn_args): Handle 'Co' operands.
118
43e379d7
MC
1192017-05-01 Michael Clark <michaeljclark@mac.com>
120
121 * riscv-opc.c (riscv_opcodes) <call>: Use RA not T1 as a temporary
122 register.
123
a4ddc54e
MR
1242017-05-02 Maciej W. Rozycki <macro@imgtec.com>
125
126 * mips-dis.c (print_insn_arg): Only clear the ISA bit for jumps
127 and branches and not synthetic data instructions.
128
fe50e98c
BE
1292017-05-02 Bernd Edlinger <bernd.edlinger@hotmail.de>
130
131 * arm-dis.c (print_insn_thumb32): Fix value_in_comment.
132
126124cc
CZ
1332017-04-25 Claudiu Zissulescu <claziss@synopsys.com>
134
135 * arc-dis.c (print_insn_arc): Smartly print enter/leave mnemonics.
136 * arc-opc.c (insert_r13el): New function.
137 (R13_EL): Define.
138 * arc-tbl.h: Add new enter/leave variants.
139
be6a24d8
CZ
1402017-04-25 Claudiu Zissulescu <claziss@synopsys.com>
141
142 * arc-tbl.h: Reorder NOP entry to be before MOV instructions.
143
0348fd79
MR
1442017-04-25 Maciej W. Rozycki <macro@imgtec.com>
145
146 * mips-dis.c (print_mips_disassembler_options): Add
147 `no-aliases'.
148
6e3d1f07
MR
1492017-04-25 Maciej W. Rozycki <macro@imgtec.com>
150
151 * mips16-opc.c (AL): New macro.
152 (mips16_opcodes): Mark "nop", "la", "dla", and synthetic forms
153 of "ld" and "lw" as aliases.
154
957f6b39
TC
1552017-04-24 Tamar Christina <tamar.christina@arm.com>
156
157 * aarch64-opc.c (aarch64_logical_immediate_p): Update DEBUG_TRACE
158 arguments.
159
a8cc8a54
AM
1602017-04-22 Alexander Fedotov <alfedotov@gmail.com>
161 Alan Modra <amodra@gmail.com>
162
163 * ppc-opc.c (ELEV): Define.
164 (vle_opcodes): Add se_rfgi and e_sc.
165 (powerpc_opcodes): Enable lbdx, lhdx, lwdx, stbdx, sthdx, stwdx
166 for E200Z4.
167
3ab87b68
JM
1682017-04-21 Jose E. Marchesi <jose.marchesi@oracle.com>
169
170 * sparc-opc.c (sparc_opcodes): Mark RETT instructions as v6notv9.
171
792f174f
NC
1722017-04-21 Nick Clifton <nickc@redhat.com>
173
174 PR binutils/21380
175 * aarch64-tbl.h (aarch64_opcode_table): Fix masks for LD1R, LD2R,
176 LD3R and LD4R.
177
42742084
AM
1782017-04-13 Alan Modra <amodra@gmail.com>
179
180 * epiphany-desc.c: Regenerate.
181 * fr30-desc.c: Regenerate.
182 * frv-desc.c: Regenerate.
183 * ip2k-desc.c: Regenerate.
184 * iq2000-desc.c: Regenerate.
185 * lm32-desc.c: Regenerate.
186 * m32c-desc.c: Regenerate.
187 * m32r-desc.c: Regenerate.
188 * mep-desc.c: Regenerate.
189 * mt-desc.c: Regenerate.
190 * or1k-desc.c: Regenerate.
191 * xc16x-desc.c: Regenerate.
192 * xstormy16-desc.c: Regenerate.
193
9a85b496
AM
1942017-04-11 Alan Modra <amodra@gmail.com>
195
ef85eab0 196 * ppc-dis.c (ppc_opts): Remove PPC_OPCODE_ALTIVEC2,
c03dc33b
AM
197 PPC_OPCODE_VSX3, PPC_OPCODE_HTM and "htm". Formatting. Set
198 PPC_OPCODE_TMR for e6500.
9a85b496
AM
199 * ppc-opc.c (PPCVEC2): Define as PPC_OPCODE_POWER8|PPC_OPCODE_E6500.
200 (PPCVEC3): Define as PPC_OPCODE_POWER9.
9570835e
AM
201 (PPCVSX2): Define as PPC_OPCODE_POWER8.
202 (PPCVSX3): Define as PPC_OPCODE_POWER9.
ef85eab0 203 (PPCHTM): Define as PPC_OPCODE_POWER8.
c03dc33b 204 (powerpc_opcodes <mftmr, mttmr>): Remove now unnecessary E6500.
9a85b496 205
62adc510
AM
2062017-04-10 Alan Modra <amodra@gmail.com>
207
208 * ppc-dis.c (ppc_opts <476>): Remove PPC_OPCODE_440.
209 * ppc-opc.c (MULHW): Add PPC_OPCODE_476.
210 (powerpc_opcodes): Adjust PPC440, PPC464 and PPC476 insns to suit
211 removal of PPC_OPCODE_440 from ppc476 cpu selection bits.
212
aa808707
PC
2132017-04-09 Pip Cet <pipcet@gmail.com>
214
215 * wasm32-dis.c (print_insn_wasm32): Avoid DECIMAL_DIG, specify
216 appropriate floating-point precision directly.
217
ac8f0f72
AM
2182017-04-07 Alan Modra <amodra@gmail.com>
219
220 * ppc-opc.c (powerpc_opcodes <mviwsplt, mvidsplt, lvexbx, lvepxl,
221 lvexhx, lvepx, lvexwx, stvexbx, stvexhx, stvexwx, lvtrx, lvtlx,
222 lvswx, stvfrx, stvflx, stvswx, lvsm, stvepxl, lvtrxl, stvepx,
223 lvtlxl, lvswxl, stvfrxl, stvflxl, stvswxl>): Enable E6500 only
224 vector instructions with E6500 not PPCVEC2.
225
62ecb94c
PC
2262017-04-06 Pip Cet <pipcet@gmail.com>
227
228 * Makefile.am: Add wasm32-dis.c.
229 * configure.ac: Add wasm32-dis.c to wasm32 target.
230 * disassemble.c: Add wasm32 disassembler code.
231 * wasm32-dis.c: New file.
232 * Makefile.in: Regenerate.
233 * configure: Regenerate.
234 * po/POTFILES.in: Regenerate.
235 * po/opcodes.pot: Regenerate.
236
f995bbe8
PA
2372017-04-05 Pedro Alves <palves@redhat.com>
238
239 * arc-dis.c (parse_option, parse_disassembler_options): Constify.
240 * arm-dis.c (parse_arm_disassembler_options): Constify.
241 * ppc-dis.c (powerpc_init_dialect): Constify local.
242 * vax-dis.c (parse_disassembler_options): Constify.
243
b5292032
PD
2442017-04-03 Palmer Dabbelt <palmer@dabbelt.com>
245
246 * riscv-dis.c (riscv_disassemble_insn): Change "_gp" to
247 RISCV_GP_SYMBOL.
248
f96bd6c2
PC
2492017-03-30 Pip Cet <pipcet@gmail.com>
250
251 * configure.ac: Add (empty) bfd_wasm32_arch target.
252 * configure: Regenerate
253 * po/opcodes.pot: Regenerate.
254
f7c514a3
JM
2552017-03-29 Sheldon Lobo <sheldon.lobo@oracle.com>
256
257 Add support for missing SPARC ASIs from UA2005, UA2007, OSA2011, &
258 OSA2015.
259 * opcodes/sparc-opc.c (asi_table): New ASIs.
260
52be03fd
AM
2612017-03-29 Alan Modra <amodra@gmail.com>
262
263 * ppc-dis.c (ppc_opts): Set PPC_OPCODE_PPC for "any" flags. Add
264 "raw" option.
265 (lookup_powerpc): Don't special case -1 dialect. Handle
266 PPC_OPCODE_RAW.
267 (print_insn_powerpc): Mask out PPC_OPCODE_ANY on first
268 lookup_powerpc call, pass it on second.
269
9b753937
AM
2702017-03-27 Alan Modra <amodra@gmail.com>
271
272 PR 21303
273 * ppc-dis.c (struct ppc_mopt): Comment.
274 (ppc_opts <e200z4>): Move PPC_OPCODE_VLE from .sticky to .cpu.
275
c0c31e91
RZ
2762017-03-27 Rinat Zelig <rinat@mellanox.com>
277
278 * arc-nps400-tbl.h: Add Ultra Ip and Miscellaneous instructions format.
279 * arc-opc.c: Add defines. e.g. F_NJ, F_NM , F_NO_T, F_NPS_SR,
280 F_NPS_M, F_NPS_CORE, F_NPS_ALL.
281 (insert_nps_misc_imm_offset): New function.
282 (extract_nps_misc imm_offset): New function.
283 (arc_num_flag_operands): Add F_NJ, F_NM, F_NO_T.
284 (arc_flag_special_cases): Add F_NJ, F_NM, F_NO_T.
285
2253c8f0
AK
2862017-03-21 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
287
288 * s390-mkopc.c (main): Remove vx2 check.
289 * s390-opc.txt: Remove vx2 instruction flags.
290
645d3342
RZ
2912017-03-21 Rinat Zelig <rinat@mellanox.com>
292
293 * arc-nps400-tbl.h: Add cp32/cp16 instructions format.
294 * arc-opc.c: Add F_NPS_NA, NPS_DMA_IMM_ENTRY, NPS_DMA_IMM_OFFSET.
295 (insert_nps_imm_offset): New function.
296 (extract_nps_imm_offset): New function.
297 (insert_nps_imm_entry): New function.
298 (extract_nps_imm_entry): New function.
299
4b94dd2d
AM
3002017-03-17 Alan Modra <amodra@gmail.com>
301
302 PR 21248
303 * ppc-opc.c (powerpc_opcodes): Enable mfivor32, mfivor33,
304 mtivor32, and mtivor33 for e6500. Move mfibatl and mfibatu after
305 those spr mnemonics they alias. Similarly for mtibatl, mtibatu.
306
b416fe87
KC
3072017-03-14 Kito Cheng <kito.cheng@gmail.com>
308
309 * riscv-opc.c (riscv_opcodes> <c.li>: Use the 'o' immediate encoding.
310 <c.andi>: Likewise.
311 <c.addiw> Likewise.
312
03b039a5
KC
3132017-03-14 Kito Cheng <kito.cheng@gmail.com>
314
315 * riscv-opc.c (riscv_opcodes) <c.addi>: Use match_opcode.
316
2c232b83
AW
3172017-03-13 Andrew Waterman <andrew@sifive.com>
318
319 * riscv-opc.c (riscv_opcodes) <srli/C>: Use match_opcode.
320 <srl> Likewise.
321 <srai> Likewise.
322 <sra> Likewise.
323
86fa6981
L
3242017-03-09 H.J. Lu <hongjiu.lu@intel.com>
325
326 * i386-gen.c (opcode_modifiers): Replace S with Load.
327 * i386-opc.h (S): Removed.
328 (Load): New.
329 (i386_opcode_modifier): Replace s with load.
330 * i386-opc.tbl: Add {disp8}, {disp32}, {swap}, {vex2}, {vex3}
331 and {evex}. Replace S with Load.
332 * i386-tbl.h: Regenerated.
333
c1fe188b
L
3342017-03-09 H.J. Lu <hongjiu.lu@intel.com>
335
336 * i386-opc.tbl: Use CpuCET on rdsspq.
337 * i386-tbl.h: Regenerated.
338
4b8b687e
PB
3392017-03-08 Peter Bergner <bergner@vnet.ibm.com>
340
341 * ppc-dis.c (ppc_opts) <altivec>: Do not use PPC_OPCODE_ALTIVEC2;
342 <vsx>: Do not use PPC_OPCODE_VSX3;
343
1437d063
PB
3442017-03-08 Peter Bergner <bergner@vnet.ibm.com>
345
346 * ppc-opc.c (powerpc_opcodes) <lnia>: New extended mnemonic.
347
603555e5
L
3482017-03-06 H.J. Lu <hongjiu.lu@intel.com>
349
350 * i386-dis.c (REG_0F1E_MOD_3): New enum.
351 (MOD_0F1E_PREFIX_1): Likewise.
352 (MOD_0F38F5_PREFIX_2): Likewise.
353 (MOD_0F38F6_PREFIX_0): Likewise.
354 (RM_0F1E_MOD_3_REG_7): Likewise.
355 (PREFIX_MOD_0_0F01_REG_5): Likewise.
356 (PREFIX_MOD_3_0F01_REG_5_RM_1): Likewise.
357 (PREFIX_MOD_3_0F01_REG_5_RM_2): Likewise.
358 (PREFIX_0F1E): Likewise.
359 (PREFIX_MOD_0_0FAE_REG_5): Likewise.
360 (PREFIX_0F38F5): Likewise.
361 (dis386_twobyte): Use PREFIX_0F1E.
362 (reg_table): Add REG_0F1E_MOD_3.
363 (prefix_table): Add PREFIX_MOD_0_0F01_REG_5,
364 PREFIX_MOD_3_0F01_REG_5_RM_1, PREFIX_MOD_3_0F01_REG_5_RM_2,
365 PREFIX_0F1E, PREFIX_MOD_0_0FAE_REG_5 and PREFIX_0F38F5. Update
366 PREFIX_0FAE_REG_6 and PREFIX_0F38F6.
367 (three_byte_table): Use PREFIX_0F38F5.
368 (mod_table): Use PREFIX_MOD_0_0F01_REG_5, PREFIX_MOD_0_0FAE_REG_5.
369 Add MOD_0F1E_PREFIX_1, MOD_0F38F5_PREFIX_2, MOD_0F38F6_PREFIX_0.
370 (rm_table): Add MOD_0F38F5_PREFIX_2, MOD_0F38F6_PREFIX_0,
371 RM_0F1E_MOD_3_REG_7. Use PREFIX_MOD_3_0F01_REG_5_RM_1 and
372 PREFIX_MOD_3_0F01_REG_5_RM_2.
373 * i386-gen.c (cpu_flag_init): Add CPU_CET_FLAGS.
374 (cpu_flags): Add CpuCET.
375 * i386-opc.h (CpuCET): New enum.
376 (CpuUnused): Commented out.
377 (i386_cpu_flags): Add cpucet.
378 * i386-opc.tbl: Add Intel CET instructions.
379 * i386-init.h: Regenerated.
380 * i386-tbl.h: Likewise.
381
73f07bff
AM
3822017-03-06 Alan Modra <amodra@gmail.com>
383
384 PR 21124
385 * ppc-opc.c (extract_esync, extract_ls, extract_ral, extract_ram)
386 (extract_raq, extract_ras, extract_rbx): New functions.
387 (powerpc_operands): Use opposite corresponding insert function.
388 (Q_MASK): Define.
389 (powerpc_opcodes): Apply Q_MASK to all quad insns with even
390 register restriction.
391
65b48a81
PB
3922017-02-28 Peter Bergner <bergner@vnet.ibm.com>
393
394 * disassemble.c Include "safe-ctype.h".
395 (disassemble_init_for_target): Handle s390 init.
396 (remove_whitespace_and_extra_commas): New function.
397 (disassembler_options_cmp): Likewise.
398 * arm-dis.c: Include "libiberty.h".
399 (NUM_ELEM): Delete.
400 (regnames): Use long disassembler style names.
401 Add force-thumb and no-force-thumb options.
402 (NUM_ARM_REGNAMES): Rename from this...
403 (NUM_ARM_OPTIONS): ...to this. Use ARRAY_SIZE.
404 (get_arm_regname_num_options): Delete.
405 (set_arm_regname_option): Likewise.
406 (get_arm_regnames): Likewise.
407 (parse_disassembler_options): Likewise.
408 (parse_arm_disassembler_option): Rename from this...
409 (parse_arm_disassembler_options): ...to this. Make static.
410 Use new FOR_EACH_DISASSEMBLER_OPTION macro to scan over options.
411 (print_insn): Use parse_arm_disassembler_options.
412 (disassembler_options_arm): New function.
413 (print_arm_disassembler_options): Handle updated regnames.
414 * ppc-dis.c: Include "libiberty.h".
415 (ppc_opts): Add "32" and "64" entries.
416 (ppc_parse_cpu): Use ARRAY_SIZE and disassembler_options_cmp.
417 (powerpc_init_dialect): Add break to switch statement.
418 Use new FOR_EACH_DISASSEMBLER_OPTION macro.
419 (disassembler_options_powerpc): New function.
420 (print_ppc_disassembler_options): Use ARRAY_SIZE.
421 Remove printing of "32" and "64".
422 * s390-dis.c: Include "libiberty.h".
423 (init_flag): Remove unneeded variable.
424 (struct s390_options_t): New structure type.
425 (options): New structure.
426 (init_disasm): Rename from this...
427 (disassemble_init_s390): ...to this. Add initializations for
428 current_arch_mask and option_use_insn_len_bits_p. Remove init_flag.
429 (print_insn_s390): Delete call to init_disasm.
430 (disassembler_options_s390): New function.
431 (print_s390_disassembler_options): Print using information from
432 struct 'options'.
433 * po/opcodes.pot: Regenerate.
434
15c7c1d8
JB
4352017-02-28 Jan Beulich <jbeulich@suse.com>
436
437 * i386-dis.c (PCMPESTR_Fixup): New.
438 (VEX_W_0F3A60_P_2, VEX_W_0F3A61_P_2): Delete.
439 (prefix_table): Use PCMPESTR_Fixup.
440 (vex_len_table): Make VPCMPESTR{I,M} entries leaf ones and use
441 PCMPESTR_Fixup.
442 (vex_w_table): Delete VPCMPESTR{I,M} entries.
443 * i386-opc.tbl (pcmpestri, pcmpestrm, vpcmpestri, vpcmpestrm):
444 Split 64-bit and non-64-bit variants.
445 * opcodes/i386-tbl.h: Re-generate.
446
582e12bf
RS
4472017-02-24 Richard Sandiford <richard.sandiford@arm.com>
448
449 * aarch64-tbl.h (OP_SVE_HMH, OP_SVE_VMU_HSD, OP_SVE_VMVU_HSD)
450 (OP_SVE_VMVV_HSD, OP_SVE_VMVVU_HSD, OP_SVE_VM_HSD, OP_SVE_VUVV_HSD)
451 (OP_SVE_VUV_HSD, OP_SVE_VU_HSD, OP_SVE_VVVU_H, OP_SVE_VVVU_S)
452 (OP_SVE_VVVU_HSD, OP_SVE_VVV_D, OP_SVE_VVV_D_H, OP_SVE_VVV_H)
453 (OP_SVE_VVV_HSD, OP_SVE_VVV_S, OP_SVE_VVV_S_B, OP_SVE_VVV_SD_BH)
454 (OP_SVE_VV_BHSDQ, OP_SVE_VV_HSD, OP_SVE_VZVV_HSD, OP_SVE_VZV_HSD)
455 (OP_SVE_V_HSD): New macros.
456 (OP_SVE_VMU_SD, OP_SVE_VMVU_SD, OP_SVE_VM_SD, OP_SVE_VUVV_SD)
457 (OP_SVE_VU_SD, OP_SVE_VVVU_SD, OP_SVE_VVV_SD, OP_SVE_VZVV_SD)
458 (OP_SVE_VZV_SD, OP_SVE_V_SD): Delete.
459 (aarch64_opcode_table): Add new SVE instructions.
460 (aarch64_opcode_table): Use imm_rotate{1,2} instead of imm_rotate
461 for rotation operands. Add new SVE operands.
462 * aarch64-asm.h (ins_sve_addr_ri_s4): New inserter.
463 (ins_sve_quad_index): Likewise.
464 (ins_imm_rotate): Split into...
465 (ins_imm_rotate1, ins_imm_rotate2): ...these two inserters.
466 * aarch64-asm.c (aarch64_ins_imm_rotate): Split into...
467 (aarch64_ins_imm_rotate1, aarch64_ins_imm_rotate2): ...these two
468 functions.
469 (aarch64_ins_sve_addr_ri_s4): New function.
470 (aarch64_ins_sve_quad_index): Likewise.
471 (do_misc_encoding): Handle "MOV Zn.Q, Qm".
472 * aarch64-asm-2.c: Regenerate.
473 * aarch64-dis.h (ext_sve_addr_ri_s4): New extractor.
474 (ext_sve_quad_index): Likewise.
475 (ext_imm_rotate): Split into...
476 (ext_imm_rotate1, ext_imm_rotate2): ...these two extractors.
477 * aarch64-dis.c (aarch64_ext_imm_rotate): Split into...
478 (aarch64_ext_imm_rotate1, aarch64_ext_imm_rotate2): ...these two
479 functions.
480 (aarch64_ext_sve_addr_ri_s4): New function.
481 (aarch64_ext_sve_quad_index): Likewise.
482 (aarch64_ext_sve_index): Allow quad indices.
483 (do_misc_decoding): Likewise.
484 * aarch64-dis-2.c: Regenerate.
485 * aarch64-opc.h (FLD_SVE_i3h, FLD_SVE_rot1, FLD_SVE_rot2): New
486 aarch64_field_kinds.
487 (OPD_F_OD_MASK): Widen by one bit.
488 (OPD_F_NO_ZR): Bump accordingly.
489 (get_operand_field_width): New function.
490 * aarch64-opc.c (fields): Add new SVE fields.
491 (operand_general_constraint_met_p): Handle new SVE operands.
492 (aarch64_print_operand): Likewise.
493 * aarch64-opc-2.c: Regenerate.
494
f482d304
RS
4952017-02-24 Richard Sandiford <richard.sandiford@arm.com>
496
497 * aarch64-tbl.h (aarch64_feature_simd_v8_3): Replace with...
498 (aarch64_feature_compnum): ...this.
499 (SIMD_V8_3): Replace with...
500 (COMPNUM): ...this.
501 (CNUM_INSN): New macro.
502 (aarch64_opcode_table): Use it for the complex number instructions.
503
7db2c588
JB
5042017-02-24 Jan Beulich <jbeulich@suse.com>
505
506 * i386-dis.c (reg_table): REG_F6/1 and REG_F7/1 decode as TEST.
507
1e9d41d4
SL
5082017-02-23 Sheldon Lobo <sheldon.lobo@oracle.com>
509
510 Add support for associating SPARC ASIs with an architecture level.
511 * include/opcode/sparc.h (sparc_asi): New sparc_asi struct.
512 * opcodes/sparc-opc.c (asi_table): Updated asi_table and encoding/
513 decoding of SPARC ASIs.
514
53c4d625
JB
5152017-02-23 Jan Beulich <jbeulich@suse.com>
516
517 * i386-dis.c (get_valid_dis386): Don't special case VEX opcode
518 82. For 3-byte VEX only special case opcode 77 in VEX_0F space.
519
11648de5
JB
5202017-02-21 Jan Beulich <jbeulich@suse.com>
521
522 * aarch64-asm.c (convert_bfc_to_bfm): Copy operand 0 to operand
523 1 (instead of to itself). Correct typo.
524
f98d33be
AW
5252017-02-14 Andrew Waterman <andrew@sifive.com>
526
527 * riscv-opc.c (riscv_opcodes): Add sfence.vma instruction and
528 pseudoinstructions.
529
773fb663
RS
5302017-02-15 Richard Sandiford <richard.sandiford@arm.com>
531
532 * aarch64-opc.c (aarch64_sys_regs): Add SVE registers.
533 (aarch64_sys_reg_supported_p): Handle them.
534
cc07cda6
CZ
5352017-02-15 Claudiu Zissulescu <claziss@synopsys.com>
536
537 * arc-opc.c (UIMM6_20R): Define.
538 (SIMM12_20): Use above.
539 (SIMM12_20R): Define.
540 (SIMM3_5_S): Use above.
541 (UIMM7_A32_11R_S): Define.
542 (UIMM7_9_S): Use above.
543 (UIMM3_13R_S): Define.
544 (SIMM11_A32_7_S): Use above.
545 (SIMM9_8R): Define.
546 (UIMM10_A32_8_S): Use above.
547 (UIMM8_8R_S): Define.
548 (W6): Use above.
549 (arc_relax_opcodes): Use all above defines.
550
66a5a740
VG
5512017-02-15 Vineet Gupta <vgupta@synopsys.com>
552
553 * arc-regs.h: Distinguish some of the registers different on
554 ARC700 and HS38 cpus.
555
7e0de605
AM
5562017-02-14 Alan Modra <amodra@gmail.com>
557
558 PR 21118
559 * ppc-opc.c (powerpc_operands): Flag SPR, SPRG and TBR entries
560 with PPC_OPERAND_SPR. Flag PSQ and PSQM with PPC_OPERAND_GQR.
561
54064fdb
AM
5622017-02-11 Stafford Horne <shorne@gmail.com>
563 Alan Modra <amodra@gmail.com>
564
565 * cgen-opc.c (cgen_lookup_insn): Delete buf and base_insn temps.
566 Use insn_bytes_value and insn_int_value directly instead. Don't
567 free allocated memory until function exit.
568
dce75bf9
NP
5692017-02-10 Nicholas Piggin <npiggin@gmail.com>
570
571 * ppc-opc.c (powerpc_opcodes) <scv, rfscv>: New mnemonics.
572
1b7e3d2f
NC
5732017-02-03 Nick Clifton <nickc@redhat.com>
574
575 PR 21096
576 * aarch64-opc.c (print_register_list): Ensure that the register
577 list index will fir into the tb buffer.
578 (print_register_offset_address): Likewise.
579 * tic6x-dis.c (print_insn_tic6x): Increase size of func_unit_buf.
580
8ec5cf65
AD
5812017-01-27 Alexis Deruell <alexis.deruelle@gmail.com>
582
583 PR 21056
584 * tic6x-dis.c (print_insn_tic6x): Correct displaying of parallel
585 instructions when the previous fetch packet ends with a 32-bit
586 instruction.
587
a1aa5e81
DD
5882017-01-24 Dimitar Dimitrov <dimitar@dinux.eu>
589
590 * pru-opc.c: Remove vague reference to a future GDB port.
591
add3afb2
NC
5922017-01-20 Nick Clifton <nickc@redhat.com>
593
594 * po/ga.po: Updated Irish translation.
595
c13a63b0
SN
5962017-01-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
597
598 * arm-dis.c (coprocessor_opcodes): Fix vcmla mask and disassembly.
599
9608051a
YQ
6002017-01-13 Yao Qi <yao.qi@linaro.org>
601
602 * m68k-dis.c (match_insn_m68k): Extend comments. Return -1
603 if FETCH_DATA returns 0.
604 (m68k_scan_mask): Likewise.
605 (print_insn_m68k): Update code to handle -1 return value.
606
f622ea96
YQ
6072017-01-13 Yao Qi <yao.qi@linaro.org>
608
609 * m68k-dis.c (enum print_insn_arg_error): New.
610 (NEXTBYTE): Replace -3 with
611 PRINT_INSN_ARG_MEMORY_ERROR.
612 (NEXTULONG): Likewise.
613 (NEXTSINGLE): Likewise.
614 (NEXTDOUBLE): Likewise.
615 (NEXTDOUBLE): Likewise.
616 (NEXTPACKED): Likewise.
617 (FETCH_ARG): Likewise.
618 (FETCH_DATA): Update comments.
619 (print_insn_arg): Update comments. Replace magic numbers with
620 enum.
621 (match_insn_m68k): Likewise.
622
620214f7
IT
6232017-01-12 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
624
625 * i386-dis.c (enum): Add PREFIX_EVEX_0F3855, EVEX_W_0F3855_P_2.
626 * i386-dis-evex.h (evex_table): Updated.
627 * i386-gen.c (cpu_flag_init): Add CPU_AVX512_VPOPCNTDQ_FLAGS,
628 CPU_ANY_AVX512_VPOPCNTDQ_FLAGS. Update CPU_ANY_AVX512F_FLAGS.
629 (cpu_flags): Add CpuAVX512_VPOPCNTDQ.
630 * i386-opc.h (enum): (AVX512_VPOPCNTDQ): New.
631 (i386_cpu_flags): Add cpuavx512_vpopcntdq.
632 * i386-opc.tbl: Add Intel AVX512_VPOPCNTDQ instructions.
633 * i386-init.h: Regenerate.
634 * i386-tbl.h: Ditto.
635
d95014a2
YQ
6362017-01-12 Yao Qi <yao.qi@linaro.org>
637
638 * msp430-dis.c (msp430_singleoperand): Return -1 if
639 msp430dis_opcode_signed returns false.
640 (msp430_doubleoperand): Likewise.
641 (msp430_branchinstr): Return -1 if
642 msp430dis_opcode_unsigned returns false.
643 (msp430x_calla_instr): Likewise.
644 (print_insn_msp430): Likewise.
645
0ae60c3e
NC
6462017-01-05 Nick Clifton <nickc@redhat.com>
647
648 PR 20946
649 * frv-desc.c (lookup_mach_via_bfd_name): Return NULL if the name
650 could not be matched.
651 (frv_cgen_cpu_open): Allow for lookup_mach_via_bfd_name returning
652 NULL.
653
d74d4880
SN
6542017-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
655
656 * aarch64-tbl.h (RCPC, RCPC_INSN): Define.
657 (aarch64_opcode_table): Use RCPC_INSN.
658
cc917fd9
KC
6592017-01-03 Kito Cheng <kito.cheng@gmail.com>
660
661 * riscv-opc.c (riscv-opcodes): Add support for the "q" ISA
662 extension.
663 * riscv-opcodes/all-opcodes: Likewise.
664
b52d3cfc
DP
6652017-01-03 Dilyan Palauzov <dilyan.palauzov@aegee.org>
666
667 * riscv-dis.c (print_insn_args): Add fall through comment.
668
f90c58d5
NC
6692017-01-03 Nick Clifton <nickc@redhat.com>
670
671 * po/sr.po: New Serbian translation.
672 * configure.ac (ALL_LINGUAS): Add sr.
673 * configure: Regenerate.
674
f47b0d4a
AM
6752017-01-02 Alan Modra <amodra@gmail.com>
676
677 * epiphany-desc.h: Regenerate.
678 * epiphany-opc.h: Regenerate.
679 * fr30-desc.h: Regenerate.
680 * fr30-opc.h: Regenerate.
681 * frv-desc.h: Regenerate.
682 * frv-opc.h: Regenerate.
683 * ip2k-desc.h: Regenerate.
684 * ip2k-opc.h: Regenerate.
685 * iq2000-desc.h: Regenerate.
686 * iq2000-opc.h: Regenerate.
687 * lm32-desc.h: Regenerate.
688 * lm32-opc.h: Regenerate.
689 * m32c-desc.h: Regenerate.
690 * m32c-opc.h: Regenerate.
691 * m32r-desc.h: Regenerate.
692 * m32r-opc.h: Regenerate.
693 * mep-desc.h: Regenerate.
694 * mep-opc.h: Regenerate.
695 * mt-desc.h: Regenerate.
696 * mt-opc.h: Regenerate.
697 * or1k-desc.h: Regenerate.
698 * or1k-opc.h: Regenerate.
699 * xc16x-desc.h: Regenerate.
700 * xc16x-opc.h: Regenerate.
701 * xstormy16-desc.h: Regenerate.
702 * xstormy16-opc.h: Regenerate.
703
2571583a
AM
7042017-01-02 Alan Modra <amodra@gmail.com>
705
706 Update year range in copyright notice of all files.
707
5c1ad6b5 708For older changes see ChangeLog-2016
3499769a 709\f
5c1ad6b5 710Copyright (C) 2017 Free Software Foundation, Inc.
3499769a
AM
711
712Copying and distribution of this file, with or without modification,
713are permitted in any medium without royalty provided the copyright
714notice and this notice are preserved.
715
716Local Variables:
717mode: change-log
718left-margin: 8
719fill-column: 74
720version-control: never
721End:
This page took 0.114098 seconds and 4 git commands to generate.