ChangeLog-2016 72 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179
  1. 2016-12-31 Alan Modra <amodra@gmail.com>
  2. * disassemble.c (disassembler): Add break accidentally removed
  3. by PRU patch.
  4. 2016-12-31 Dimitar Dimitrov <dimitar@dinux.eu>
  5. * Makefile.am: Add PRU source files.
  6. * configure.ac: Add PRU target.
  7. * disassemble.c (disassembler): Register PRU arch.
  8. * pru-dis.c: New file.
  9. * pru-opc.c: New file.
  10. * Makefile.in: Regenerate.
  11. * configure: Regenerate.
  12. 2016-12-29 Yao Qi <yao.qi@linaro.org>
  13. * avr-dis.c: Include "bfd_stdint.h"
  14. (avrdis_opcode): Change return type to int, add argument
  15. insn. Set *INSN on success.
  16. (print_insn_avr): Check return value of avrdis_opcode, and
  17. return -1 on error.
  18. 2016-12-28 Alan Modra <amodra@gmail.com>
  19. * configure.ac: Revert 2016-12-23.
  20. * Makefile.am: Likewise.
  21. (MIPS_DEFS): Define.
  22. (mips-dis.lo): Add rule.
  23. * Makefile.in: Regenerate.
  24. * aclocal.m4: Regenerate.
  25. * config.in: Regenerate.
  26. * configure: Regenerate.
  27. 2016-12-23 Maciej W. Rozycki <macro@imgtec.com>
  28. * mips16-opc.c (decode_mips16_operand): Add `0', `1', `2', `3',
  29. `4' and `s' operand codes.
  30. (mips16_opcodes): Add "asmacro" entry.
  31. 2016-12-23 Maciej W. Rozycki <macro@imgtec.com>
  32. * mips-dis.c (print_mips16_insn_arg): Simplify processing of
  33. extended operands.
  34. * mips16-opc.c (decode_mips16_operand): Switch the extended
  35. form of the `<' operand type to LSB position 22.
  36. 2016-12-23 Maciej W. Rozycki <macro@imgtec.com>
  37. * mips16-opc.c (decode_mips16_operand): Replace `0' and `4'
  38. operand codes with `.' and `F' respectively.
  39. (mips16_opcodes): Likewise.
  40. 2016-12-23 Maciej W. Rozycki <macro@imgtec.com>
  41. * mips-dis.c (print_insn_mips16): Disallow EXTEND prefix
  42. matching for INSN2_SHORT_ONLY opcode table entries.
  43. * mips16-opc.c (SH): New macro.
  44. (mips16_opcodes): Set SH in `pinfo2' for non-extensible
  45. instruction entries: "nop", "addu", "and", "break", "cmp",
  46. "daddu", "ddiv", "ddivu", "div", "divu", "dmult", "dmultu",
  47. "drem", "dremu", "dsllv", "dsll", "dsrav", "dsra", "dsrlv",
  48. "dsrl", "dsubu", "exit", "entry", "jalr", "jal", "jr", "j",
  49. "jalrc", "jrc", "mfhi", "mflo", "move", "mult", "multu", "neg",
  50. "not", "or", "rem", "remu", "sllv", "sll", "slt", "sltu",
  51. "srav", "sra", "srlv", "srl", "subu", "xor", "sdbbp", "seb",
  52. "seh", "sew", "zeb", "zeh", "zew" and "extend".
  53. 2016-12-23 Maciej W. Rozycki <macro@imgtec.com>
  54. * mips16-opc.c (decode_mips16_operand) <'6'>: Remove extended
  55. encoding support.
  56. 2016-12-23 Maciej W. Rozycki <macro@imgtec.com>
  57. * mips16-opc.c (mips16_opcodes): Set NODS in `pinfo' for
  58. "extend".
  59. 2016-12-23 Maciej W. Rozycki <macro@imgtec.com>
  60. * mips-dis.c (set_default_mips_dis_options): Use
  61. HAVE_BFD_MIPS_ELF_GET_ABIFLAGS rather than BFD64 to guard the
  62. call to `bfd_mips_elf_get_abiflags'.
  63. * configure.ac: Check for `bfd_mips_elf_get_abiflags' in BFD.
  64. * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Add `libbfd.la'.
  65. * aclocal.m4: Regenerate.
  66. * configure: Regenerate.
  67. * config.in: Regenerate.
  68. * Makefile.in: Regenerate.
  69. 2016-12-23 Tristan Gingold <gingold@adacore.com>
  70. * configure: Regenerate.
  71. 2016-12-23 Tristan Gingold <gingold@adacore.com>
  72. * po/opcodes.pot: Regenerate.
  73. 2016-12-21 Andrew Waterman <andrew@sifive.com>
  74. * riscv-opc.c (riscv_opcodes): Reorder jal and call entries.
  75. 2016-12-20 Maciej W. Rozycki <macro@imgtec.com>
  76. * mips-dis.c (mips_arch_choices): Use ISA_MIPS64 rather than
  77. ISA_MIPS3 as the `isa' selection in the `bfd_mach_mips16' entry.
  78. (print_insn_mips16): Check opcode entries for validity against
  79. the ISA level and ASE set selected.
  80. 2016-12-20 Maciej W. Rozycki <macro@imgtec.com>
  81. * mips-dis.c (print_mips16_insn_arg): Always handle `extend' and
  82. `insn' together, with `extend' as the high-order 16 bits.
  83. (match_kind): New enum.
  84. (print_insn_mips16): Rework for 32-bit instruction matching.
  85. Do not dump EXTEND prefixes here.
  86. * mips16-opc.c (mips16_opcodes): Move "extend" entry to the end.
  87. Recode `match' and `mask' fields as 32-bit in absolute "jal" and
  88. "jalx" entries.
  89. 2016-12-20 Maciej W. Rozycki <macro@imgtec.com>
  90. * mips16-opc.c (mips16_opcodes): Set membership to I3 rather
  91. than I1 for the "ddiv", "ddivu", "drem", "dremu" and "dsubu"
  92. INSN_MACRO entries.
  93. 2016-12-20 Maciej W. Rozycki <macro@imgtec.com>
  94. * mips16-opc.c (mips16_opcodes): Set membership to I3 rather
  95. than I1 for the SP-relative "sd"/$ra entry (SDRASP minor
  96. opcode).
  97. 2016-12-20 Andrew Waterman <andrew@sifive.com>
  98. * riscv-opc.c (riscv_opcodes): Rename the "*.sc" instructions to
  99. "*.aqrl".
  100. 2016-12-20 Andrew Waterman <andrew@sifive.com>
  101. * riscv-opc.c (riscv_opcodes): Mark the rd* and csr* aliases as
  102. INSN_ALIAS.
  103. 2016-12-20 Andrew Waterman <andrew@sifive.com>
  104. * riscv-opc.c (riscv_opcodes): Change jr and jalr to "o(s)"
  105. format.
  106. 2016-12-20 Andrew Waterman <andrew@sifive.com>
  107. * riscv-dis.c (riscv_disassemble_insn): Default to the ELF's
  108. XLEN when none is provided.
  109. 2016-12-20 Andrew Waterman <andrew@sifive.com>
  110. * riscv-opc.c: Formatting fixes.
  111. 2016-12-20 Alan Modra <amodra@gmail.com>
  112. * Makefile.am (TARGET_LIBOPCODES_CFILES): Add riscv files.
  113. * Makefile.in: Regenerate.
  114. * po/POTFILES.in: Regenerate.
  115. 2016-12-19 Maciej W. Rozycki <macro@imgtec.com>
  116. * mips-dis.c (set_default_mips_dis_options) [SYMTAB_AVAILABLE]:
  117. Only examine ELF file structures here.
  118. 2016-12-19 Maciej W. Rozycki <macro@imgtec.com>
  119. * mips-dis.c (set_default_mips_dis_options) [BFD64]: Only call
  120. `bfd_mips_elf_get_abiflags' here.
  121. 2016-12-16 Nick Clifton <nickc@redhat.com>
  122. * arm-dis.c (print_insn_thumb32): Fix compile time warning
  123. computing value_in_comment.
  124. 2016-12-14 Maciej W. Rozycki <macro@imgtec.com>
  125. * mips-dis.c (mips_convert_abiflags_ases): New function.
  126. (set_default_mips_dis_options): Also infer ASE flags from ELF
  127. file structures.
  128. 2016-12-14 Maciej W. Rozycki <macro@imgtec.com>
  129. * mips-dis.c (set_default_mips_dis_options): Reorder ELF file
  130. header flag interpretation code.
  131. 2016-12-14 Maciej W. Rozycki <macro@imgtec.com>
  132. * mips16-opc.c (mips16_opcodes): Set RD_SP rather than RD_PC in
  133. `pinfo2' with SP-relative "sd" entries.
  134. 2016-12-14 Maciej W. Rozycki <macro@imgtec.com>
  135. * mips16-opc.c (mips16_opcodes): Update comments on MIPS16e
  136. compact jumps.
  137. 2016-12-13 Renlin Li <renlin.li@arm.com>
  138. * aarch64-opc.c (aarch64_opnd_qualifiers): New CR value range
  139. qualifier.
  140. (operand_general_constraint_met_p): Remove case for CP_REG.
  141. (aarch64_print_operand): Print CRn, CRm operand using imm field.
  142. * aarch64-tbl.h (QL_SYS): Use CR qualifier.
  143. (QL_SYSL): Likewise.
  144. (aarch64_opcode_table): Change CRn, CRm operand class and type.
  145. * aarch64-opc-2.c : Regenerate.
  146. * aarch64-asm-2.c : Likewise.
  147. * aarch64-dis-2.c : Likewise.
  148. 2016-12-12 Yao Qi <yao.qi@linaro.org>
  149. * rx-dis.c: Include <setjmp.h>
  150. (struct private): New.
  151. (rx_get_byte): Check return value of read_memory_func, and
  152. call memory_error_func and OPCODES_SIGLONGJMP on error.
  153. (print_insn_rx): Call OPCODES_SIGSETJMP.
  154. 2016-12-12 Yao Qi <yao.qi@linaro.org>
  155. * rl78-dis.c: Include <setjmp.h>.
  156. (struct private): New.
  157. (rl78_get_byte): Check return value of read_memory_func, and
  158. call memory_error_func and OPCODES_SIGLONGJMP on error.
  159. (print_insn_rl78_common): Call OPCODES_SIGJMP.
  160. 2016-12-09 Maciej W. Rozycki <macro@imgtec.com>
  161. * mips16-opc.c (decode_mips16_operand) <'>'>: Remove cases.
  162. 2016-12-09 Maciej W. Rozycki <macro@imgtec.com>
  163. * mips16-opc.c (decode_mips16_operand) <'e'>: Use HINT rather
  164. than UINT.
  165. 2016-12-09 Maciej W. Rozycki <macro@imgtec.com>
  166. * mips-dis.c (print_insn_mips16): Use a tab rather than a space
  167. to separate `extend' and its uninterpreted argument output.
  168. Separate hexadecimal halves of undecoded extended instructions
  169. output.
  170. 2016-12-08 Maciej W. Rozycki <macro@imgtec.com>
  171. * mips-dis.c (print_mips16_insn_arg): Remove extraneous
  172. indentation space across.
  173. 2016-12-08 Maciej W. Rozycki <macro@imgtec.com>
  174. * mips-dis.c (print_mips16_insn_arg): Avoid delay-slot
  175. adjustment for PC-relative operations following MIPS16e compact
  176. jumps or undefined RR/J(AL)R(C) encodings.
  177. 2016-12-08 Maciej W. Rozycki <macro@imgtec.com>
  178. * aarch64-asm.c (aarch64_ins_reglane): Rename `index' local
  179. variable to `reglane_index'.
  180. 2016-12-08 Luis Machado <lgustavo@codesourcery.com>
  181. * ppc-dis.c (get_powerpc_dialect): Check NULL info->section.
  182. 2016-12-07 Maciej W. Rozycki <macro@imgtec.com>
  183. * mips-dis.c (print_mips16_insn_arg): Fix comment typo.
  184. 2016-12-07 Maciej W. Rozycki <macro@imgtec.com>
  185. * mips16-opc.c (mips16_opcodes): Update comment naming structure
  186. members.
  187. 2016-12-07 Maciej W. Rozycki <macro@imgtec.com>
  188. * mips-dis.c (print_mips_disassembler_options): Reformat output.
  189. 2016-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
  190. * arm-dis.c (coprocessor_opcodes): Add vcmla and vcadd.
  191. (print_insn_coprocessor): Add 'V' format for neon D or Q regs.
  192. 2016-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
  193. * arm-dis.c (coprocessor_opcodes): Add vjcvt.
  194. 2016-12-01 Nick Clifton <nickc@redhat.com>
  195. PR binutils/20893
  196. * i386-dis.c (OP_VEX): Replace call to abort with a append of bad
  197. opcode designator.
  198. 2016-11-29 Claudiu Zissulescu <claziss@synopsys.com>
  199. * arc-opc.c (insert_ra_chk): New function.
  200. (insert_rb_chk): Likewise.
  201. (insert_rad): Update text error message.
  202. (insert_rcd): Likewise.
  203. (insert_rhv2): Likewise.
  204. (insert_r0): Likewise.
  205. (insert_r1): Likewise.
  206. (insert_r2): Likewise.
  207. (insert_r3): Likewise.
  208. (insert_sp): Likewise.
  209. (insert_gp): Likewise.
  210. (insert_pcl): Likewise.
  211. (insert_blink): Likewise.
  212. (insert_ilink1): Likewise.
  213. (insert_ilink2): Likewise.
  214. (insert_ras): Likewise.
  215. (insert_rbs): Likewise.
  216. (insert_rcs): Likewise.
  217. (insert_simm3s): Likewise.
  218. (insert_rrange): Likewise.
  219. (insert_fpel): Likewise.
  220. (insert_blinkel): Likewise.
  221. (insert_pcel): Likewise.
  222. (insert_nps_3bit_dst): Likewise.
  223. (insert_nps_3bit_dst_short): Likewise.
  224. (insert_nps_3bit_src2_short): Likewise.
  225. (insert_nps_bitop_size_2b): Likewise.
  226. (MAKE_SRC_POS_INSERT_EXTRACT_FUNCS): Likewise.
  227. (RA_CHK): Define.
  228. (RB): Adjust.
  229. (RB_CHK): Define.
  230. (RC): Adjust.
  231. * arc-dis.c (print_insn_arc): Add LOAD and STORE class.
  232. * arc-tbl.h (div, divu): All instructions are DIVREM class.
  233. Change first insn argument to check for LP_COUNT usage.
  234. (rem): Likewise.
  235. (ld, ldd): All instructions are LOAD class. Change first insn
  236. argument to check for LP_COUNT usage.
  237. (st, std): All instructions are STORE class.
  238. (mac, mpy, dmac, mul, dmpy): All instructions are MPY class.
  239. Change first insn argument to check for LP_COUNT usage.
  240. (mov): All instructions are MOVE class. Change first insn
  241. argument to check for LP_COUNT usage.
  242. 2016-11-29 Claudiu Zissulescu <claziss@synopsys.com>
  243. * arc-dis.c (is_compatible_p): Remove function.
  244. (skip_this_opcode): Don't add any decoding class to decode list.
  245. Remove warning.
  246. (find_format_from_table): Go through all opcodes, and warn if we
  247. use a guessed mnemonic.
  248. 2016-11-28 Ramiro Polla <ramiro@hex-rays.com>
  249. Amit Pawar <amit.pawar@amd.com>
  250. PR binutils/20637
  251. * i386-dis.c (get_valid_dis386): Ignore REX_B for 32-bit XOP
  252. instructions.
  253. 2016-11-22 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
  254. * configure: Regenerate.
  255. 2016-11-22 Jose E. Marchesi <jose.marchesi@oracle.com>
  256. * sparc-opc.c (HWS_V8): Definition moved from
  257. gas/config/tc-sparc.c.
  258. (HWS_V9): Likewise.
  259. (HWS_VA): Likewise.
  260. (HWS_VB): Likewise.
  261. (HWS_VC): Likewise.
  262. (HWS_VD): Likewise.
  263. (HWS_VE): Likewise.
  264. (HWS_VV): Likewise.
  265. (HWS_VM): Likewise.
  266. (HWS2_VM): Likewise.
  267. (sparc_opcode_archs): Initialize hwcaps and hwcaps2 fields of
  268. existing entries.
  269. 2016-11-22 Claudiu Zissulescu <claziss@synopsys.com>
  270. * arc-tbl.h: Reorder conditional flags with delay flags for 'b'
  271. instructions.
  272. 2016-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
  273. * aarch64-tbl.h (QL_V3SAMEHSD_ROT, QL_ELEMENT_ROT): Define.
  274. (aarch64_feature_simd_v8_3, SIMD_V8_3): Define.
  275. (aarch64_opcode_table): Add fcmla and fcadd.
  276. (AARCH64_OPERANDS): Add IMM_ROT{1,2,3}.
  277. * aarch64-asm.h (aarch64_ins_imm_rotate): Declare.
  278. * aarch64-asm.c (aarch64_ins_imm_rotate): Define.
  279. * aarch64-dis.h (aarch64_ext_imm_rotate): Declare.
  280. * aarch64-dis.c (aarch64_ext_imm_rotate): Define.
  281. * aarch64-opc.h (enum aarch64_field_kind): Add FLD_rotate{1,2,3}.
  282. * aarch64-opc.c (fields): Add FLD_rotate{1,2,3}.
  283. (operand_general_constraint_met_p): Rotate and index range check.
  284. (aarch64_print_operand): Handle rotate operand.
  285. * aarch64-asm-2.c: Regenerate.
  286. * aarch64-dis-2.c: Likewise.
  287. * aarch64-opc-2.c: Likewise.
  288. 2016-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
  289. * aarch64-tbl.h (arch64_opcode_table): Add ldaprb, ldaprh, ldapr.
  290. * aarch64-asm-2.c: Regenerate.
  291. * aarch64-dis-2.c: Regenerate.
  292. * aarch64-opc-2.c: Regenerate.
  293. 2016-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
  294. * aarch64-tbl.h (arch64_opcode_table): Add fjcvtzs.
  295. (QL_FP2INT_W_D, aarch64_feature_fp_v8_3, FP_V8_3): Define.
  296. * aarch64-asm-2.c: Regenerate.
  297. * aarch64-dis-2.c: Regenerate.
  298. * aarch64-opc-2.c: Regenerate.
  299. 2016-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
  300. * aarch64-tbl.h (QL_X1NIL): New.
  301. (arch64_opcode_table): Add ldraa, ldrab.
  302. (AARCH64_OPERANDS): Add "ADDR_SIMM10".
  303. * aarch64-asm.h (aarch64_ins_addr_simm10): Declare.
  304. * aarch64-asm.c (aarch64_ins_addr_simm10): Define.
  305. * aarch64-dis.h (aarch64_ext_addr_simm10): Declare.
  306. * aarch64-dis.c (aarch64_ext_addr_simm10): Define.
  307. * aarch64-opc.h (enum aarch64_field_kind): Add FLD_S_simm10.
  308. * aarch64-opc.c (fields): Add data for FLD_S_simm10.
  309. (operand_general_constraint_met_p): Handle AARCH64_OPND_ADDR_SIMM10.
  310. (aarch64_print_operand): Likewise.
  311. * aarch64-asm-2.c: Regenerate.
  312. * aarch64-dis-2.c: Regenerate.
  313. * aarch64-opc-2.c: Regenerate.
  314. 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
  315. * aarch64-tbl.h (arch64_opcode_table): Add braa, brab, blraa, blrab, braaz,
  316. brabz, blraaz, blrabz, retaa, retab, eretaa, eretab.
  317. * aarch64-asm-2.c: Regenerate.
  318. * aarch64-dis-2.c: Regenerate.
  319. * aarch64-opc-2.c: Regenerate.
  320. 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
  321. * aarch64-tbl.h (arch64_opcode_table): Add pacga.
  322. (AARCH64_OPERANDS): Add Rm_SP.
  323. * aarch64-opc.c (aarch64_print_operand): Handle AARCH64_OPND_Rm_SP.
  324. * aarch64-asm-2.c: Regenerate.
  325. * aarch64-dis-2.c: Regenerate.
  326. * aarch64-opc-2.c: Regenerate.
  327. 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
  328. * aarch64-tbl.h (arch64_opcode_table): Add pacia, pacib, pacda, pacdb, autia,
  329. autib, autda, autdb, paciza, pacizb, pacdza, pacdzb, autiza, autizb, autdza,
  330. autdzb, xpaci, xpacd.
  331. * aarch64-asm-2.c: Regenerate.
  332. * aarch64-dis-2.c: Regenerate.
  333. * aarch64-opc-2.c: Regenerate.
  334. 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
  335. * aarch64-opc.c (aarch64_sys_regs): Add apiakeylo_el1, apiakeyhi_el1,
  336. apibkeylo_el1, apibkeyhi_el1, apdakeylo_el1, apdakeyhi_el1,
  337. apdbkeylo_el1, apdbkeyhi_el1, apgakeylo_el1 and apgakeyhi_el1.
  338. (aarch64_sys_reg_supported_p): Add feature test for new registers.
  339. 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
  340. * aarch64-tbl.h (aarch64_feature_v8_3, ARMV8_3, V8_3_INSN): New.
  341. (arch64_opcode_table): Add xpaclri, pacia1716, pacib1716, autia1716,
  342. autib1716, paciaz, paciasp, pacibz, pacibsp, autiaz, autiasp, autibz,
  343. autibsp.
  344. * aarch64-asm-2.c: Regenerate.
  345. * aarch64-dis-2.c: Regenerate.
  346. 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
  347. * aarch64-gen.c (find_alias_opcode): Increase max_num_aliases to 32.
  348. 2016-11-09 H.J. Lu <hongjiu.lu@intel.com>
  349. PR binutils/20799
  350. * i386-dis-evex.h (evex_table): Replace EdqwS with Edqw.
  351. * i386-dis.c (EdqwS): Removed.
  352. (dqw_swap_mode): Likewise.
  353. (intel_operand_size): Don't check dqw_swap_mode.
  354. (OP_E_register): Likewise.
  355. (OP_E_memory): Likewise.
  356. (OP_G): Likewise.
  357. (OP_EX): Likewise.
  358. * i386-opc.tbl: Remove "S" from EVEX vpextrw.
  359. * i386-tbl.h: Regerated.
  360. 2016-11-09 H.J. Lu <hongjiu.lu@intel.com>
  361. * i386-opc.tbl: Merge AVX512F vmovq.
  362. * i386-tbl.h: Regerated.
  363. 2016-11-08 H.J. Lu <hongjiu.lu@intel.com>
  364. PR binutils/20701
  365. * i386-dis.c (THREE_BYTE_0F7A): Removed.
  366. (dis386_twobyte): Don't use THREE_BYTE_0F7A.
  367. (three_byte_table): Remove THREE_BYTE_0F7A.
  368. 2016-11-07 H.J. Lu <hongjiu.lu@intel.com>
  369. PR binutils/20775
  370. * i386-dis.c (FGRPd9_2): Replace 0 with 1.
  371. (FGRPd9_4): Replace 1 with 2.
  372. (FGRPd9_5): Replace 2 with 3.
  373. (FGRPd9_6): Replace 3 with 4.
  374. (FGRPd9_7): Replace 4 with 5.
  375. (FGRPda_5): Replace 5 with 6.
  376. (FGRPdb_4): Replace 6 with 7.
  377. (FGRPde_3): Replace 7 with 8.
  378. (FGRPdf_4): Replace 8 with 9.
  379. (fgrps): Add an entry for Bad_Opcode.
  380. 2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
  381. * arc-opc.c (arc_flag_operands): Add F_DI14.
  382. (arc_flag_classes): Add C_DI14.
  383. * arc-nps400-tbl.h: Add new exc instructions.
  384. 2016-11-03 Graham Markall <graham.markall@embecosm.com>
  385. * arc-dis.c (arc_insn_length): Return length 8 for instructions with
  386. major opcode 0xa.
  387. * arc-nps-400-tbl.h: Add dcmac instruction.
  388. * arc-opc.c (arc_operands): Added operands for dcmac instruction.
  389. (insert_nps_rbdouble_64): Added.
  390. (extract_nps_rbdouble_64): Added.
  391. (insert_nps_proto_size): Added.
  392. (extract_nps_proto_size): Added.
  393. 2016-11-03 Andrew Burgess <andrew.burgess@embecosm.com>
  394. * arc-dis.c (struct arc_operand_iterator): Remove all fields
  395. relating to long instruction processing, add new limm field.
  396. (OPCODE): Rename to...
  397. (OPCODE_32BIT_INSN): ...this.
  398. (OPCODE_AC): Delete.
  399. (skip_this_opcode): Handle different instruction lengths, update
  400. macro name.
  401. (special_flag_p): Update parameter type.
  402. (find_format_from_table): Update for more instruction lengths.
  403. (find_format_long_instructions): Delete.
  404. (find_format): Update for more instruction lengths.
  405. (arc_insn_length): Likewise.
  406. (extract_operand_value): Update for more instruction lengths.
  407. (operand_iterator_next): Remove code relating to long
  408. instructions.
  409. (arc_opcode_to_insn_type): New function.
  410. (print_insn_arc):Update for more instructions lengths.
  411. * arc-ext.c (extInstruction_t): Change argument type.
  412. * arc-ext.h (extInstruction_t): Change argument type.
  413. * arc-fxi.h: Change type unsigned to unsigned long long
  414. extensively throughout.
  415. * arc-nps400-tbl.h: Add long instructions taken from
  416. arc_long_opcodes table in arc-opc.c.
  417. * arc-opc.c: Update parameter types on insert/extract handlers.
  418. (arc_long_opcodes): Delete.
  419. (arc_num_long_opcodes): Delete.
  420. (arc_opcode_len): Update for more instruction lengths.
  421. 2016-11-03 Graham Markall <graham.markall@embecosm.com>
  422. * arc-dis.c (print_insn_arc): Swap highbyte and lowbyte.
  423. 2016-11-03 Graham Markall <graham.markall@embecosm.com>
  424. * arc-dis.c (find_format_from_table): Replace use of ARC_SHORT
  425. with arc_opcode_len.
  426. (find_format_long_instructions): Likewise.
  427. * arc-opc.c (arc_opcode_len): New function.
  428. 2016-11-03 Andrew Burgess <andrew.burgess@embecosm.com>
  429. * arc-nps400-tbl.h: Fix some instruction masks.
  430. 2016-11-03 H.J. Lu <hongjiu.lu@intel.com>
  431. * i386-dis.c (REG_82): Removed.
  432. (X86_64_82_REG_0): Likewise.
  433. (X86_64_82_REG_1): Likewise.
  434. (X86_64_82_REG_2): Likewise.
  435. (X86_64_82_REG_3): Likewise.
  436. (X86_64_82_REG_4): Likewise.
  437. (X86_64_82_REG_5): Likewise.
  438. (X86_64_82_REG_6): Likewise.
  439. (X86_64_82_REG_7): Likewise.
  440. (X86_64_82): New.
  441. (dis386): Use X86_64_82 instead of REG_82.
  442. (reg_table): Remove REG_82.
  443. (x86_64_table): Add X86_64_82. Remove X86_64_82_REG_0,
  444. X86_64_82_REG_1, X86_64_82_REG_2, X86_64_82_REG_3,
  445. X86_64_82_REG_4, X86_64_82_REG_5, X86_64_82_REG_6 and
  446. X86_64_82_REG_7.
  447. 2016-11-03 H.J. Lu <hongjiu.lu@intel.com>
  448. PR binutils/20754
  449. * i386-dis.c (REG_82): New.
  450. (X86_64_82_REG_0): Likewise.
  451. (X86_64_82_REG_1): Likewise.
  452. (X86_64_82_REG_2): Likewise.
  453. (X86_64_82_REG_3): Likewise.
  454. (X86_64_82_REG_4): Likewise.
  455. (X86_64_82_REG_5): Likewise.
  456. (X86_64_82_REG_6): Likewise.
  457. (X86_64_82_REG_7): Likewise.
  458. (dis386): Use REG_82.
  459. (reg_table): Add REG_82.
  460. (x86_64_table): Add X86_64_82_REG_0, X86_64_82_REG_1,
  461. X86_64_82_REG_2, X86_64_82_REG_3, X86_64_82_REG_4,
  462. X86_64_82_REG_5, X86_64_82_REG_6 and X86_64_82_REG_7.
  463. 2016-11-03 H.J. Lu <hongjiu.lu@intel.com>
  464. * i386-dis.c (REG_82): Renamed to ...
  465. (REG_83): This.
  466. (dis386): Updated.
  467. (reg_table): Likewise.
  468. 2016-11-02 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
  469. * i386-dis.c (enum): Add PREFIX_EVEX_0F3852, PREFIX_EVEX_0F3853.
  470. * i386-dis-evex.h (evex_table): Updated.
  471. * i386-gen.c (cpu_flag_init): Add CPU_AVX512_4VNNIW_FLAGS,
  472. CPU_ANY_AVX512_4VNNIW_FLAGS. Update CPU_ANY_AVX512F_FLAGS.
  473. (cpu_flags): Add CpuAVX512_4VNNIW.
  474. * i386-opc.h (enum): (AVX512_4VNNIW): New.
  475. (i386_cpu_flags): Add cpuavx512_4vnniw.
  476. * i386-opc.tbl: Add Intel AVX512_4VNNIW instructions.
  477. * i386-init.h: Regenerate.
  478. * i386-tbl.h: Ditto.
  479. 2016-11-02 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
  480. * i386-dis.c. (enum): Add PREFIX_EVEX_0F389A,
  481. PREFIX_EVEX_0F389B, PREFIX_EVEX_0F38AA, PREFIX_EVEX_0F38AB.
  482. * i386-dis-evex.h (evex_table): Updated.
  483. * i386-gen.c (cpu_flag_init): Add CPU_AVX512_4FMAPS_FLAGS,
  484. CPU_ANY_AVX512_4FMAPS_FLAGS. Update CPU_ANY_AVX512F_FLAGS.
  485. (cpu_flags): Add CpuAVX512_4FMAPS.
  486. (opcode_modifiers): Add ImplicitQuadGroup modifier.
  487. * i386-opc.h (AVX512_4FMAP): New.
  488. (i386_cpu_flags): Add cpuavx512_4fmaps.
  489. (ImplicitQuadGroup): New.
  490. (i386_opcode_modifier): Add implicitquadgroup.
  491. * i386-opc.tbl: Add Intel AVX512_4FMAPS instructions.
  492. * i386-init.h: Regenerate.
  493. * i386-tbl.h: Ditto.
  494. 2016-11-01 Palmer Dabbelt <palmer@dabbelt.com>
  495. Andrew Waterman <andrew@sifive.com>
  496. Add support for RISC-V architecture.
  497. * configure.ac: Add entry for bfd_riscv_arch.
  498. * configure: Regenerate.
  499. * disassemble.c (disassembler): Add support for riscv.
  500. (disassembler_usage): Likewise.
  501. * riscv-dis.c: New file.
  502. * riscv-opc.c: New file.
  503. 2016-10-21 H.J. Lu <hongjiu.lu@intel.com>
  504. * i386-dis.c (PREFIX_RM_0_0FAE_REG_7): Removed.
  505. (prefix_table): Remove the PREFIX_RM_0_0FAE_REG_7 entry.
  506. (rm_table): Update the RM_0FAE_REG_7 entry.
  507. * i386-gen.c (cpu_flag_init): Remove CPU_PCOMMIT_FLAGS.
  508. (cpu_flags): Remove CpuPCOMMIT.
  509. * i386-opc.h (CpuPCOMMIT): Removed.
  510. (i386_cpu_flags): Remove cpupcommit.
  511. * i386-opc.tbl: Remove pcommit.
  512. * i386-init.h: Regenerated.
  513. * i386-tbl.h: Likewise.
  514. 2016-10-20 H.J. Lu <hongjiu.lu@intel.com>
  515. PR binutis/20705
  516. * i386-dis.c (get_valid_dis386): Ignore the REX_B bit and
  517. the highest bit in VEX.vvvv for the 3-byte VEX prefix in
  518. 32-bit mode. Don't check vex.register_specifier in 32-bit
  519. mode.
  520. (OP_VEX): Check for invalid mask registers.
  521. 2016-10-18 H.J. Lu <hongjiu.lu@intel.com>
  522. PR binutis/20699
  523. * i386-dis.c (OP_E_memory): Check addr32flag in stead of
  524. sizeflag.
  525. 2016-10-18 H.J. Lu <hongjiu.lu@intel.com>
  526. PR binutis/20704
  527. * i386-dis.c (three_byte_table): Remove the remaining SSE5 support.
  528. 2016-10-18 Maciej W. Rozycki <macro@imgtec.com>
  529. * aarch64-dis.c (aarch64_ext_sve_addr_rr_lsl): Rename `index'
  530. local variable to `index_regno'.
  531. 2016-10-17 Cupertino Miranda <cmiranda@synopsys.com>
  532. * arc-tbl.h: Removed any "inv.+" instructions from the table.
  533. 2016-10-14 Claudiu Zissulescu <claziss@synopsys.com>
  534. * arc-dis.c (find_format_from_table): Discriminate LIMM indicator
  535. usage on ISA basis.
  536. 2016-10-11 Jiong Wang <jiong.wang@arm.com>
  537. PR target/20666
  538. * aarch64-asm.c (convert_bfc_to_bfm): Fix dest index.
  539. 2016-10-07 Jiong Wang <jiong.wang@arm.com>
  540. PR target/20667
  541. * aarch64-opc.c (aarch64_print_operand): Always print operand if it's
  542. available.
  543. 2016-10-07 Alan Modra <amodra@gmail.com>
  544. * sh-opc.h (sh_merge_bfd_arch): Delete prototype.
  545. 2016-10-06 Alan Modra <amodra@gmail.com>
  546. * aarch64-opc.c: Spell fall through comments consistently.
  547. * i386-dis.c: Likewise.
  548. * aarch64-dis.c: Add missing fall through comments.
  549. * aarch64-opc.c: Likewise.
  550. * arc-dis.c: Likewise.
  551. * arm-dis.c: Likewise.
  552. * i386-dis.c: Likewise.
  553. * m68k-dis.c: Likewise.
  554. * mep-asm.c: Likewise.
  555. * ns32k-dis.c: Likewise.
  556. * sh-dis.c: Likewise.
  557. * tic4x-dis.c: Likewise.
  558. * tic6x-dis.c: Likewise.
  559. * vax-dis.c: Likewise.
  560. 2016-10-06 Alan Modra <amodra@gmail.com>
  561. * arc-ext.c (create_map): Add missing break.
  562. * msp430-decode.opc (encode_as): Likewise.
  563. * msp430-decode.c: Regenerate.
  564. 2016-10-06 Alan Modra <amodra@gmail.com>
  565. * cr16-dis.c (print_insn_cr16): Don't use boolean OR in arithmetic.
  566. * crx-dis.c (print_insn_crx): Likewise.
  567. 2016-09-30 H.J. Lu <hongjiu.lu@intel.com>
  568. PR binutils/20657
  569. * i386-dis.c (putop): Don't assign alt twice.
  570. 2016-09-29 Jiong Wang <jiong.wang@arm.com>
  571. PR target/20553
  572. * aarch64-tbl.h (fmla, fmls, fmul, fmulx): Fix opcode mask field.
  573. 2016-09-29 Alan Modra <amodra@gmail.com>
  574. * ppc-opc.c (L): Make compulsory.
  575. (LOPT): New, optional form of L.
  576. (HTM_R): Define as LOPT.
  577. (L0, L1): Delete.
  578. (L32OPT): New, optional for 32-bit L.
  579. (L2OPT): New, 2-bit L for dcbf.
  580. (SVC_LEC): Update.
  581. (L2): Define.
  582. (insert_l0, extract_l0, insert_l1, extract_l2): Delete.
  583. (powerpc_opcodes <cmpli, cmpi, cmpl, cmp>): Use L32OPT.
  584. <dcbf>: Use L2OPT.
  585. <tlbiel, tlbie>: Use LOPT.
  586. <wclr, wclrall>: Use L2.
  587. 2016-09-26 Vlad Zakharov <vzakhar@synopsys.com>
  588. * Makefile.in: Regenerate.
  589. * configure: Likewise.
  590. 2016-09-26 Claudiu Zissulescu <claziss@synopsys.com>
  591. * arc-ext-tbl.h (EXTINSN2OPF): Define.
  592. (EXTINSN2OP): Use EXTINSN2OPF.
  593. (bspeekm, bspop, modapp): New extension instructions.
  594. * arc-opc.c (F_DNZ_ND): Define.
  595. (F_DNZ_D): Likewise.
  596. (F_SIZEB1): Changed.
  597. (C_DNZ_D): Define.
  598. (C_HARD): Changed.
  599. * arc-tbl.h (dbnz): New instruction.
  600. (prealloc): Allow it for ARC EM.
  601. (xbfu): Likewise.
  602. 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
  603. * aarch64-opc.c (print_immediate_offset_address): Print spaces
  604. after commas in addresses.
  605. (aarch64_print_operand): Likewise.
  606. 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
  607. * aarch64-opc.c (operand_general_constraint_met_p): Use "must be"
  608. rather than "should be" or "expected to be" in error messages.
  609. 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
  610. * aarch64-dis.c (remove_dot_suffix): New function, split out from...
  611. (print_mnemonic_name): ...here.
  612. (print_comment): New function.
  613. (print_aarch64_insn): Call it.
  614. * aarch64-opc.c (aarch64_conds): Add SVE names.
  615. (aarch64_print_operand): Print alternative condition names in
  616. a comment.
  617. 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
  618. * aarch64-tbl.h (OP_SVE_B, OP_SVE_BB, OP_SVE_BBBU, OP_SVE_BMB)
  619. (OP_SVE_BPB, OP_SVE_BUB, OP_SVE_BUBB, OP_SVE_BUU, OP_SVE_BZ)
  620. (OP_SVE_BZB, OP_SVE_BZBB, OP_SVE_BZU, OP_SVE_DD, OP_SVE_DDD)
  621. (OP_SVE_DMD, OP_SVE_DMH, OP_SVE_DMS, OP_SVE_DU, OP_SVE_DUD, OP_SVE_DUU)
  622. (OP_SVE_DUV_BHS, OP_SVE_DUV_BHSD, OP_SVE_DZD, OP_SVE_DZU, OP_SVE_HB)
  623. (OP_SVE_HMD, OP_SVE_HMS, OP_SVE_HU, OP_SVE_HUU, OP_SVE_HZU, OP_SVE_RR)
  624. (OP_SVE_RURV_BHSD, OP_SVE_RUV_BHSD, OP_SVE_SMD, OP_SVE_SMH, OP_SVE_SMS)
  625. (OP_SVE_SU, OP_SVE_SUS, OP_SVE_SUU, OP_SVE_SZS, OP_SVE_SZU, OP_SVE_UB)
  626. (OP_SVE_UUD, OP_SVE_UUS, OP_SVE_VMR_BHSD, OP_SVE_VMU_SD)
  627. (OP_SVE_VMVD_BHS, OP_SVE_VMVU_BHSD, OP_SVE_VMVU_SD, OP_SVE_VMVV_BHSD)
  628. (OP_SVE_VMVV_SD, OP_SVE_VMV_BHSD, OP_SVE_VMV_HSD, OP_SVE_VMV_SD)
  629. (OP_SVE_VM_SD, OP_SVE_VPU_BHSD, OP_SVE_VPV_BHSD, OP_SVE_VRR_BHSD)
  630. (OP_SVE_VRU_BHSD, OP_SVE_VR_BHSD, OP_SVE_VUR_BHSD, OP_SVE_VUU_BHSD)
  631. (OP_SVE_VUVV_BHSD, OP_SVE_VUVV_SD, OP_SVE_VUV_BHSD, OP_SVE_VUV_SD)
  632. (OP_SVE_VU_BHSD, OP_SVE_VU_HSD, OP_SVE_VU_SD, OP_SVE_VVD_BHS)
  633. (OP_SVE_VVU_BHSD, OP_SVE_VVVU_SD, OP_SVE_VVV_BHSD, OP_SVE_VVV_SD)
  634. (OP_SVE_VV_BHSD, OP_SVE_VV_HSD_BHS, OP_SVE_VV_SD, OP_SVE_VWW_BHSD)
  635. (OP_SVE_VXX_BHSD, OP_SVE_VZVD_BHS, OP_SVE_VZVU_BHSD, OP_SVE_VZVV_BHSD)
  636. (OP_SVE_VZVV_SD, OP_SVE_VZV_SD, OP_SVE_V_SD, OP_SVE_WU, OP_SVE_WV_BHSD)
  637. (OP_SVE_XU, OP_SVE_XUV_BHSD, OP_SVE_XVW_BHSD, OP_SVE_XV_BHSD)
  638. (OP_SVE_XWU, OP_SVE_XXU): New macros.
  639. (aarch64_feature_sve): New variable.
  640. (SVE): New macro.
  641. (_SVE_INSN): Likewise.
  642. (aarch64_opcode_table): Add SVE instructions.
  643. * aarch64-opc.h (extract_fields): Declare.
  644. * aarch64-opc-2.c: Regenerate.
  645. * aarch64-asm.c (do_misc_encoding): Handle the new SVE aarch64_ops.
  646. * aarch64-asm-2.c: Regenerate.
  647. * aarch64-dis.c (extract_fields): Make global.
  648. (do_misc_decoding): Handle the new SVE aarch64_ops.
  649. * aarch64-dis-2.c: Regenerate.
  650. 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
  651. * aarch64-opc.h (FLD_SVE_M_4, FLD_SVE_M_14, FLD_SVE_M_16)
  652. (FLD_SVE_sz, FLD_SVE_tsz, FLD_SVE_tszl_8, FLD_SVE_tszl_19): New
  653. aarch64_field_kinds.
  654. * aarch64-opc.c (fields): Add corresponding entries.
  655. * aarch64-asm.c (aarch64_get_variant): New function.
  656. (aarch64_encode_variant_using_iclass): Likewise.
  657. (aarch64_opcode_encode): Call it.
  658. * aarch64-dis.c (aarch64_decode_variant_using_iclass): New function.
  659. (aarch64_opcode_decode): Call it.
  660. 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
  661. * aarch64-tbl.h (AARCH64_OPERANDS): Add entries for the new SVE core
  662. and FP register operands.
  663. * aarch64-opc.h (FLD_SVE_Rm, FLD_SVE_Rn, FLD_SVE_Vd, FLD_SVE_Vm)
  664. (FLD_SVE_Vn): New aarch64_field_kinds.
  665. * aarch64-opc.c (fields): Add corresponding entries.
  666. (aarch64_print_operand): Handle the new SVE core and FP register
  667. operands.
  668. * aarch64-opc-2.c: Regenerate.
  669. * aarch64-asm-2.c: Likewise.
  670. * aarch64-dis-2.c: Likewise.
  671. 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
  672. * aarch64-tbl.h (AARCH64_OPERANDS): Add entries for the new SVE FP
  673. immediate operands.
  674. * aarch64-opc.h (FLD_SVE_i1): New aarch64_field_kind.
  675. * aarch64-opc.c (fields): Add corresponding entry.
  676. (operand_general_constraint_met_p): Handle the new SVE FP immediate
  677. operands.
  678. (aarch64_print_operand): Likewise.
  679. * aarch64-opc-2.c: Regenerate.
  680. * aarch64-asm.h (ins_sve_float_half_one, ins_sve_float_half_two)
  681. (ins_sve_float_zero_one): New inserters.
  682. * aarch64-asm.c (aarch64_ins_sve_float_half_one): New function.
  683. (aarch64_ins_sve_float_half_two): Likewise.
  684. (aarch64_ins_sve_float_zero_one): Likewise.
  685. * aarch64-asm-2.c: Regenerate.
  686. * aarch64-dis.h (ext_sve_float_half_one, ext_sve_float_half_two)
  687. (ext_sve_float_zero_one): New extractors.
  688. * aarch64-dis.c (aarch64_ext_sve_float_half_one): New function.
  689. (aarch64_ext_sve_float_half_two): Likewise.
  690. (aarch64_ext_sve_float_zero_one): Likewise.
  691. * aarch64-dis-2.c: Regenerate.
  692. 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
  693. * aarch64-tbl.h (AARCH64_OPERANDS): Add entries for the new SVE
  694. integer immediate operands.
  695. * aarch64-opc.h (FLD_SVE_immN, FLD_SVE_imm3, FLD_SVE_imm5)
  696. (FLD_SVE_imm5b, FLD_SVE_imm7, FLD_SVE_imm8, FLD_SVE_imm9)
  697. (FLD_SVE_immr, FLD_SVE_imms, FLD_SVE_tszh): New aarch64_field_kinds.
  698. * aarch64-opc.c (fields): Add corresponding entries.
  699. (operand_general_constraint_met_p): Handle the new SVE integer
  700. immediate operands.
  701. (aarch64_print_operand): Likewise.
  702. (aarch64_sve_dupm_mov_immediate_p): New function.
  703. * aarch64-opc-2.c: Regenerate.
  704. * aarch64-asm.h (ins_inv_limm, ins_sve_aimm, ins_sve_asimm)
  705. (ins_sve_limm_mov, ins_sve_shlimm, ins_sve_shrimm): New inserters.
  706. * aarch64-asm.c (aarch64_ins_limm_1): New function, split out from...
  707. (aarch64_ins_limm): ...here.
  708. (aarch64_ins_inv_limm): New function.
  709. (aarch64_ins_sve_aimm): Likewise.
  710. (aarch64_ins_sve_asimm): Likewise.
  711. (aarch64_ins_sve_limm_mov): Likewise.
  712. (aarch64_ins_sve_shlimm): Likewise.
  713. (aarch64_ins_sve_shrimm): Likewise.
  714. * aarch64-asm-2.c: Regenerate.
  715. * aarch64-dis.h (ext_inv_limm, ext_sve_aimm, ext_sve_asimm)
  716. (ext_sve_limm_mov, ext_sve_shlimm, ext_sve_shrimm): New extractors.
  717. * aarch64-dis.c (decode_limm): New function, split out from...
  718. (aarch64_ext_limm): ...here.
  719. (aarch64_ext_inv_limm): New function.
  720. (decode_sve_aimm): Likewise.
  721. (aarch64_ext_sve_aimm): Likewise.
  722. (aarch64_ext_sve_asimm): Likewise.
  723. (aarch64_ext_sve_limm_mov): Likewise.
  724. (aarch64_top_bit): Likewise.
  725. (aarch64_ext_sve_shlimm): Likewise.
  726. (aarch64_ext_sve_shrimm): Likewise.
  727. * aarch64-dis-2.c: Regenerate.
  728. 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
  729. * aarch64-tbl.h (AARCH64_OPERANDS): Add entries for new MUL VL
  730. operands.
  731. * aarch64-opc.c (aarch64_operand_modifiers): Initialize
  732. the AARCH64_MOD_MUL_VL entry.
  733. (value_aligned_p): Cope with non-power-of-two alignments.
  734. (operand_general_constraint_met_p): Handle the new MUL VL addresses.
  735. (print_immediate_offset_address): Likewise.
  736. (aarch64_print_operand): Likewise.
  737. * aarch64-opc-2.c: Regenerate.
  738. * aarch64-asm.h (ins_sve_addr_ri_s4xvl, ins_sve_addr_ri_s6xvl)
  739. (ins_sve_addr_ri_s9xvl): New inserters.
  740. * aarch64-asm.c (aarch64_ins_sve_addr_ri_s4xvl): New function.
  741. (aarch64_ins_sve_addr_ri_s6xvl): Likewise.
  742. (aarch64_ins_sve_addr_ri_s9xvl): Likewise.
  743. * aarch64-asm-2.c: Regenerate.
  744. * aarch64-dis.h (ext_sve_addr_ri_s4xvl, ext_sve_addr_ri_s6xvl)
  745. (ext_sve_addr_ri_s9xvl): New extractors.
  746. * aarch64-dis.c (aarch64_ext_sve_addr_reg_mul_vl): New function.
  747. (aarch64_ext_sve_addr_ri_s4xvl): Likewise.
  748. (aarch64_ext_sve_addr_ri_s6xvl): Likewise.
  749. (aarch64_ext_sve_addr_ri_s9xvl): Likewise.
  750. * aarch64-dis-2.c: Regenerate.
  751. 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
  752. * aarch64-tbl.h (AARCH64_OPERANDS): Add entries for the new SVE
  753. address operands.
  754. * aarch64-opc.h (FLD_SVE_imm6, FLD_SVE_msz, FLD_SVE_xs_14)
  755. (FLD_SVE_xs_22): New aarch64_field_kinds.
  756. (OPD_F_OD_MASK, OPD_F_OD_LSB, OPD_F_NO_ZR): New flags.
  757. (get_operand_specific_data): New function.
  758. * aarch64-opc.c (fields): Add entries for FLD_SVE_imm6, FLD_SVE_msz,
  759. FLD_SVE_xs_14 and FLD_SVE_xs_22.
  760. (operand_general_constraint_met_p): Handle the new SVE address
  761. operands.
  762. (sve_reg): New array.
  763. (get_addr_sve_reg_name): New function.
  764. (aarch64_print_operand): Handle the new SVE address operands.
  765. * aarch64-opc-2.c: Regenerate.
  766. * aarch64-asm.h (ins_sve_addr_ri_u6, ins_sve_addr_rr_lsl)
  767. (ins_sve_addr_rz_xtw, ins_sve_addr_zi_u5, ins_sve_addr_zz_lsl)
  768. (ins_sve_addr_zz_sxtw, ins_sve_addr_zz_uxtw): New inserters.
  769. * aarch64-asm.c (aarch64_ins_sve_addr_ri_u6): New function.
  770. (aarch64_ins_sve_addr_rr_lsl): Likewise.
  771. (aarch64_ins_sve_addr_rz_xtw): Likewise.
  772. (aarch64_ins_sve_addr_zi_u5): Likewise.
  773. (aarch64_ins_sve_addr_zz): Likewise.
  774. (aarch64_ins_sve_addr_zz_lsl): Likewise.
  775. (aarch64_ins_sve_addr_zz_sxtw): Likewise.
  776. (aarch64_ins_sve_addr_zz_uxtw): Likewise.
  777. * aarch64-asm-2.c: Regenerate.
  778. * aarch64-dis.h (ext_sve_addr_ri_u6, ext_sve_addr_rr_lsl)
  779. (ext_sve_addr_rz_xtw, ext_sve_addr_zi_u5, ext_sve_addr_zz_lsl)
  780. (ext_sve_addr_zz_sxtw, ext_sve_addr_zz_uxtw): New extractors.
  781. * aarch64-dis.c (aarch64_ext_sve_add_reg_imm): New function.
  782. (aarch64_ext_sve_addr_ri_u6): Likewise.
  783. (aarch64_ext_sve_addr_rr_lsl): Likewise.
  784. (aarch64_ext_sve_addr_rz_xtw): Likewise.
  785. (aarch64_ext_sve_addr_zi_u5): Likewise.
  786. (aarch64_ext_sve_addr_zz): Likewise.
  787. (aarch64_ext_sve_addr_zz_lsl): Likewise.
  788. (aarch64_ext_sve_addr_zz_sxtw): Likewise.
  789. (aarch64_ext_sve_addr_zz_uxtw): Likewise.
  790. * aarch64-dis-2.c: Regenerate.
  791. 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
  792. * aarch64-tbl.h (AARCH64_OPERANDS): Add an entry for
  793. AARCH64_OPND_SVE_PATTERN_SCALED.
  794. * aarch64-opc.h (FLD_SVE_imm4): New aarch64_field_kind.
  795. * aarch64-opc.c (fields): Add a corresponding entry.
  796. (set_multiplier_out_of_range_error): New function.
  797. (aarch64_operand_modifiers): Add entry for AARCH64_MOD_MUL.
  798. (operand_general_constraint_met_p): Handle
  799. AARCH64_OPND_SVE_PATTERN_SCALED.
  800. (print_register_offset_address): Use PRIi64 to print the
  801. shift amount.
  802. (aarch64_print_operand): Likewise. Handle
  803. AARCH64_OPND_SVE_PATTERN_SCALED.
  804. * aarch64-opc-2.c: Regenerate.
  805. * aarch64-asm.h (ins_sve_scale): New inserter.
  806. * aarch64-asm.c (aarch64_ins_sve_scale): New function.
  807. * aarch64-asm-2.c: Regenerate.
  808. * aarch64-dis.h (ext_sve_scale): New inserter.
  809. * aarch64-dis.c (aarch64_ext_sve_scale): New function.
  810. * aarch64-dis-2.c: Regenerate.
  811. 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
  812. * aarch64-tbl.h (AARCH64_OPERANDS): Add entries for
  813. AARCH64_OPND_SVE_PATTERN and AARCH64_OPND_SVE_PRFOP.
  814. * aarch64-opc.h (FLD_SVE_pattern): New aarch64_field_kind.
  815. (FLD_SVE_prfop): Likewise.
  816. * aarch64-opc.c: Include libiberty.h.
  817. (aarch64_sve_pattern_array): New variable.
  818. (aarch64_sve_prfop_array): Likewise.
  819. (fields): Add entries for FLD_SVE_pattern and FLD_SVE_prfop.
  820. (aarch64_print_operand): Handle AARCH64_OPND_SVE_PATTERN and
  821. AARCH64_OPND_SVE_PRFOP.
  822. * aarch64-asm-2.c: Regenerate.
  823. * aarch64-dis-2.c: Likewise.
  824. * aarch64-opc-2.c: Likewise.
  825. 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
  826. * aarch64-opc.c (aarch64_opnd_qualifiers): Add entries for
  827. AARCH64_OPND_QLF_P_[ZM].
  828. (aarch64_print_operand): Print /z and /m where appropriate.
  829. 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
  830. * aarch64-tbl.h (AARCH64_OPERANDS): Add entries for new SVE operands.
  831. * aarch64-opc.h (FLD_SVE_Pd, FLD_SVE_Pg3, FLD_SVE_Pg4_5)
  832. (FLD_SVE_Pg4_10, FLD_SVE_Pg4_16, FLD_SVE_Pm, FLD_SVE_Pn, FLD_SVE_Pt)
  833. (FLD_SVE_Za_5, FLD_SVE_Za_16, FLD_SVE_Zd, FLD_SVE_Zm_5, FLD_SVE_Zm_16)
  834. (FLD_SVE_Zn, FLD_SVE_Zt, FLD_SVE_tzsh): New aarch64_field_kinds.
  835. * aarch64-opc.c (fields): Add corresponding entries here.
  836. (operand_general_constraint_met_p): Check that SVE register lists
  837. have the correct length. Check the ranges of SVE index registers.
  838. Check for cases where p8-p15 are used in 3-bit predicate fields.
  839. (aarch64_print_operand): Handle the new SVE operands.
  840. * aarch64-opc-2.c: Regenerate.
  841. * aarch64-asm.h (ins_sve_index, ins_sve_reglist): New inserters.
  842. * aarch64-asm.c (aarch64_ins_sve_index): New function.
  843. (aarch64_ins_sve_reglist): Likewise.
  844. * aarch64-asm-2.c: Regenerate.
  845. * aarch64-dis.h (ext_sve_index, ext_sve_reglist): New extractors.
  846. * aarch64-dis.c (aarch64_ext_sve_index): New function.
  847. (aarch64_ext_sve_reglist): Likewise.
  848. * aarch64-dis-2.c: Regenerate.
  849. 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
  850. * aarch64-tbl.h (CORE_INSN, __FP_INSN, SIMD_INSN, CRYP_INSN)
  851. (_CRC_INSN, _LSE_INSN, _LOR_INSN, RDMA_INSN, FP16_INSN, SF16_INSN)
  852. (V8_2_INSN, aarch64_opcode_table): Initialize tied_operand field.
  853. * aarch64-opc.c (aarch64_match_operands_constraint): Check for
  854. tied operands.
  855. 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
  856. * aarch64-opc.c (get_offset_int_reg_name): New function.
  857. (print_immediate_offset_address): Likewise.
  858. (print_register_offset_address): Take the base and offset
  859. registers as parameters.
  860. (aarch64_print_operand): Update caller accordingly. Use
  861. print_immediate_offset_address.
  862. 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
  863. * aarch64-opc.c (BANK): New macro.
  864. (R32, R64): Take a register number as argument
  865. (int_reg): Use BANK.
  866. 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
  867. * aarch64-opc.c (print_register_list): Add a prefix parameter.
  868. (aarch64_print_operand): Update accordingly.
  869. 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
  870. * aarch64-tbl.h (AARCH64_OPERNADS): Use fpimm rather than imm
  871. for FPIMM.
  872. * aarch64-asm.h (ins_fpimm): New inserter.
  873. * aarch64-asm.c (aarch64_ins_fpimm): New function.
  874. * aarch64-asm-2.c: Regenerate.
  875. * aarch64-dis.h (ext_fpimm): New extractor.
  876. * aarch64-dis.c (aarch64_ext_imm): Remove fpimm test.
  877. (aarch64_ext_fpimm): New function.
  878. * aarch64-dis-2.c: Regenerate.
  879. 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
  880. * aarch64-asm.c: Include libiberty.h.
  881. (insert_fields): New function.
  882. (aarch64_ins_imm): Use it.
  883. * aarch64-dis.c (extract_fields): New function.
  884. (aarch64_ext_imm): Use it.
  885. 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
  886. * aarch64-opc.c (aarch64_logical_immediate_p): Replace is32
  887. with an esize parameter.
  888. (operand_general_constraint_met_p): Update accordingly.
  889. Fix misindented code.
  890. * aarch64-asm.c (aarch64_ins_limm): Update call to
  891. aarch64_logical_immediate_p.
  892. 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
  893. * aarch64-opc.c (match_operands_qualifier): Handle F_STRICT.
  894. 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
  895. * aarch64-gen.c (indented_print): Avoid hard-coded indentation limit.
  896. 2016-09-15 Claudiu Zissulescu <claziss@synopsys.com>
  897. * arc-dis.c (find_format): Walk the linked list pointed by einsn.
  898. 2016-09-14 Peter Bergner <bergner@vnet.ibm.com>
  899. * ppc-opc.c (powerpc_opcodes) <slbiag>: New mnemonic.
  900. <addex., brd, brh, brw, lwzmx, nandxor, rldixor, setbool,
  901. xor3>: Delete mnemonics.
  902. <cp_abort>: Rename mnemonic from ...
  903. <cpabort>: ...to this.
  904. <setb>: Change to a X form instruction.
  905. <sync>: Change to 1 operand form.
  906. <copy>: Delete mnemonic.
  907. <copy_first>: Rename mnemonic from ...
  908. <copy>: ...to this.
  909. <paste, paste.>: Delete mnemonics.
  910. <paste_last>: Rename mnemonic from ...
  911. <paste.>: ...to this.
  912. 2016-09-14 Anton Kolesov <Anton.Kolesov@synopsys.com>
  913. * arc-dis.c (arc_get_disassembler): Accept a null bfd gracefully.
  914. 2016-09-12 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
  915. * s390-mkopc.c (main): Support alternate arch strings.
  916. 2016-09-12 Patrick Steuer <steuer@linux.vnet.ibm.com>
  917. * s390-opc.txt: Fix kmctr instruction type.
  918. 2016-09-07 H.J. Lu <hongjiu.lu@intel.com>
  919. * i386-gen.c (cpu_flag_init): Remove CPU_IAMCU_COMPAT_FLAGS.
  920. * i386-init.h: Regenerated.
  921. 2016-08-30 Cupertino Miranda <cmiranda@synopsys.com>
  922. * opcodes/arc-dis.c (print_insn_arc): Changed.
  923. 2016-08-26 Jose E. Marchesi <jose.marchesi@oracle.com>
  924. * sparc-opc.c (sparc_opcodes): Fix typo in opcode, camellia_fi ->
  925. camellia_fl.
  926. 2016-08-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
  927. * arm-dis.c (psr_name): Use hex as case labels. Add detection for
  928. MSPLIM, PSPLIM, MSPLIM_NS, PSPLIM_NS, PRIMASK_NS, BASEPRI_NS,
  929. FAULTMASK_NS, CONTROL_NS and SP_NS special registers.
  930. 2016-08-24 H.J. Lu <hongjiu.lu@intel.com>
  931. * i386-dis.c (PREFIX_MOD_0_0FAE_REG_4): New.
  932. (PREFIX_MOD_3_0FAE_REG_4): Likewise.
  933. (prefix_table): Add PREFIX_MOD_0_0FAE_REG_4 and
  934. PREFIX_MOD_3_0FAE_REG_4.
  935. (mod_table): Use PREFIX_MOD_0_0FAE_REG_4 and
  936. PREFIX_MOD_3_0FAE_REG_4.
  937. * i386-gen.c (cpu_flag_init): Add CPU_PTWRITE_FLAGS.
  938. (cpu_flags): Add CpuPTWRITE.
  939. * i386-opc.h (CpuPTWRITE): New.
  940. (i386_cpu_flags): Add cpuptwrite.
  941. * i386-opc.tbl: Add ptwrite instruction.
  942. * i386-init.h: Regenerated.
  943. * i386-tbl.h: Likewise.
  944. 2016-08-24 Anton Kolesov <Anton.Kolesov@synopsys.com>
  945. * arc-dis.h: Wrap around in extern "C".
  946. 2016-08-23 Richard Sandiford <richard.sandiford@arm.com>
  947. * aarch64-tbl.h (V8_2_INSN): New macro.
  948. (aarch64_opcode_table): Use it.
  949. 2016-08-23 Richard Sandiford <richard.sandiford@arm.com>
  950. * aarch64-tbl.h (aarch64_opcode_table): Make more use of
  951. CORE_INSN, __FP_INSN and SIMD_INSN.
  952. 2016-08-23 Richard Sandiford <richard.sandiford@arm.com>
  953. * aarch64-tbl.h (CORE_INSN, __FP_INSN, SIMD_INSN): Add OP parameter.
  954. (aarch64_opcode_table): Update uses accordingly.
  955. 2016-07-25 Andrew Jenner <andrew@codesourcery.com>
  956. Kwok Cheung Yeung <kcy@codesourcery.com>
  957. opcodes/
  958. * ppc-opc.c (vle_opcodes): Alias 'e_cmpwi' to 'e_cmpi' and
  959. 'e_cmplwi' to 'e_cmpli' instead.
  960. (OPVUPRT, OPVUPRT_MASK): Define.
  961. (powerpc_opcodes): Add E200Z4 insns.
  962. (vle_opcodes): Add context save/restore insns.
  963. 2016-07-27 Maciej W. Rozycki <macro@imgtec.com>
  964. * micromips-opc.c (micromips_opcodes): Reorder "bc" next to "b",
  965. "beqzc" next to "beq", "bnezc" next to "bne" and "jrc" next to
  966. "j".
  967. 2016-07-27 Graham Markall <graham.markall@embecosm.com>
  968. * arc-nps400-tbl.h: Change block comments to GNU format.
  969. * arc-dis.c: Add new globals addrtypenames,
  970. addrtypenames_max, and addtypeunknown.
  971. (get_addrtype): New function.
  972. (print_insn_arc): Print colons and address types when
  973. required.
  974. * arc-opc.c: Add MAKE_INSERT_NPS_ADDRTYPE macro and use to
  975. define insert and extract functions for all address types.
  976. (arc_operands): Add operands for colon and all address
  977. types.
  978. * arc-nps-400-tbl.h: Add NPS-400 BMU instructions to opcode table.
  979. * arc-opc.c: Add NPS_BD_TYPE and NPS_BMU_NUM operands,
  980. insert_nps_bd_num_buff and extract_nps_bd_num_buff functions.
  981. * arc-nps-400-tbl.h: Add NPS-400 PMU instructions to opcode table.
  982. * arc-opc.c: Add NPS_PMU_NXT_DST and NPS_PMU_NUM_JOB operands,
  983. insert_nps_pmu_num_job and extract_nps_pmu_num_job functions.
  984. 2016-07-21 H.J. Lu <hongjiu.lu@intel.com>
  985. * configure: Regenerated.
  986. 2016-07-20 Claudiu Zissulescu <claziss@synopsys.com>
  987. * arc-dis.c (skipclass): New structure.
  988. (decodelist): New variable.
  989. (is_compatible_p): New function.
  990. (new_element): Likewise.
  991. (skip_class_p): Likewise.
  992. (find_format_from_table): Use skip_class_p function.
  993. (find_format): Decode first the extension instructions.
  994. (print_insn_arc): Select either ARCEM or ARCHS based on elf
  995. e_flags.
  996. (parse_option): New function.
  997. (parse_disassembler_options): Likewise.
  998. (print_arc_disassembler_options): Likewise.
  999. (print_insn_arc): Use parse_disassembler_options function. Proper
  1000. select ARCv2 cpu variant.
  1001. * disassemble.c (disassembler_usage): Add ARC disassembler
  1002. options.
  1003. 2016-07-13 Maciej W. Rozycki <macro@imgtec.com>
  1004. * mips-opc.c (mips_builtin_opcodes): Remove the INSN2_ALIAS
  1005. annotation from the "nal" entry and reorder it beyond "bltzal".
  1006. 2016-07-12 Jose E. Marchesi <jose.marchesi@oracle.com>
  1007. * sparc-opc.c (ldtxa): New macro.
  1008. (sparc_opcodes): Use the macro defined above to add entries for
  1009. the LDTXA instructions.
  1010. (asi_table): Add the ASI_TWINX_* asis used in the LDTXA
  1011. instruction.
  1012. 2016-07-07 James Bowman <james.bowman@ftdichip.com>
  1013. * ft32-opc.c (ft32_opc_info): Correct mask for "callc"
  1014. and "jmpc".
  1015. 2016-07-01 Jan Beulich <jbeulich@suse.com>
  1016. * i386-opc.tbl (movzbl, movzbw, movzbq, movzwl, movzwq): Remove.
  1017. (movzb): Adjust to cover all permitted suffixes.
  1018. (movzw): New.
  1019. * i386-tbl.h: Re-generate.
  1020. 2016-07-01 Jan Beulich <jbeulich@suse.com>
  1021. * i386-opc.tbl (jmp): Remove Disp32S from non-64-bit variant.
  1022. (lgdt): Remove Tbyte from non-64-bit variant.
  1023. (fxsave64, fxrstor64, xsave64, xrstor64, xsaveopt64, xrstors64,
  1024. xsaves64, xsavec64): Remove Disp16.
  1025. (cvtsi2ss, cvtsi2sd, invept, invvpid, invpcid, vcvtsi2sd):
  1026. Remove Disp32S from non-64-bit variants. Remove Disp16 from
  1027. 64-bit variants.
  1028. (vcvtsi2ss, vcvtsd2si, vcvtsd2usi, vcvtsi2sd, vcvtusi2sd,
  1029. vcvtusi2ss, vcvtss2si, vcvtss2usi, vcvttsd2si, vcvttsd2usi,
  1030. vcvttss2si, vcvttss2usi, vmovd, vmovq): Remove Disp16 from
  1031. 64-bit variants.
  1032. * i386-tbl.h: Re-generate.
  1033. 2016-07-01 Jan Beulich <jbeulich@suse.com>
  1034. * i386-opc.tbl (xlat): Remove RepPrefixOk.
  1035. * i386-tbl.h: Re-generate.
  1036. 2016-06-30 Yao Qi <yao.qi@linaro.org>
  1037. * arm-dis.c (print_insn): Fix typo in comment.
  1038. 2016-06-28 Richard Sandiford <richard.sandiford@arm.com>
  1039. * aarch64-opc.c (operand_general_constraint_met_p): Check the
  1040. range of ldst_elemlist operands.
  1041. (print_register_list): Use PRIi64 to print the index.
  1042. (aarch64_print_operand): Likewise.
  1043. 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
  1044. * mcore-opc.h: Remove sentinal.
  1045. * mcore-dis.c (print_insn_mcore): Adjust.
  1046. 2016-06-23 Graham Markall <graham.markall@embecosm.com>
  1047. * arc-opc.c: Correct description of availability of NPS400
  1048. features.
  1049. 2016-06-22 Peter Bergner <bergner@vnet.ibm.com>
  1050. * ppc-opc.c (RM, DRM, VXASH, VXASH_MASK, XMMF, XMMF_MASK): New defines.
  1051. (powerpc_opcodes) <brd, brh, brw, mffsce, mffscdrn, mffscdrni,
  1052. mffscrn, mffscrni, mffsl, nandxor, rldixor, setbool,
  1053. xor3>: New mnemonics.
  1054. <setb>: Change to a VX form instruction.
  1055. (insert_sh6): Add support for rldixor.
  1056. (extract_sh6): Likewise.
  1057. 2016-06-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
  1058. * arc-ext.h: Wrap in extern C.
  1059. 2016-06-21 Graham Markall <graham.markall@embecosm.com>
  1060. * arc-dis.c (arc_insn_length): Add comment on instruction length.
  1061. Use same method for determining instruction length on ARC700 and
  1062. NPS-400.
  1063. (arc_insn_length, print_insn_arc): Remove bfd_mach_arc_nps400.
  1064. * arc-nps400-tbl.h: Make all nps400 instructions ARC700 instructions
  1065. with the NPS400 subclass.
  1066. * arc-opc.c: Likewise.
  1067. 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
  1068. * sparc-opc.c (rdasr): New macro.
  1069. (wrasr): Likewise.
  1070. (rdpr): Likewise.
  1071. (wrpr): Likewise.
  1072. (rdhpr): Likewise.
  1073. (wrhpr): Likewise.
  1074. (sparc_opcodes): Use the macros above to fix and expand the
  1075. definition of read/write instructions from/to
  1076. asr/privileged/hyperprivileged instructions.
  1077. * sparc-dis.c (v9_hpriv_reg_names): Add %hmcdper, %hmcddfr and
  1078. %hva_mask_nz. Prefer softint_set and softint_clear over
  1079. set_softint and clear_softint.
  1080. (print_insn_sparc): Support %ver in Rd.
  1081. 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
  1082. * sparc-opc.c (sparc_opcodes): Adjust instructions opcode
  1083. architecture according to the hardware capabilities they require.
  1084. 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
  1085. * sparc-dis.c (MASK_V9): Add SPARC_OPCODE_ARCH_V9{C,D,E,V,M}.
  1086. (compute_arch_mask): Handle bfd_mach_sparc_v8plus{c,d,e,v,m} and
  1087. bfd_mach_sparc_v9{c,d,e,v,m}.
  1088. * sparc-opc.c (MASK_V9C): Define.
  1089. (MASK_V9D): Likewise.
  1090. (MASK_V9E): Likewise.
  1091. (MASK_V9V): Likewise.
  1092. (MASK_V9M): Likewise.
  1093. (v6): Add MASK_V9{C,D,E,V,M}.
  1094. (v6notlet): Likewise.
  1095. (v7): Likewise.
  1096. (v8): Likewise.
  1097. (v9): Likewise.
  1098. (v9andleon): Likewise.
  1099. (v9a): Likewise.
  1100. (v9b): Likewise.
  1101. (v9c): Define.
  1102. (v9d): Likewise.
  1103. (v9e): Likewise.
  1104. (v9v): Likewise.
  1105. (v9m): Likewise.
  1106. (sparc_opcode_archs): Add entry for v9{c,d,e,v,m}.
  1107. 2016-06-15 Nick Clifton <nickc@redhat.com>
  1108. * nds32-dis.c (nds32_parse_audio_ext): Change printing of integer
  1109. constants to match expected behaviour.
  1110. (nds32_parse_opcode): Likewise. Also for whitespace.
  1111. 2016-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
  1112. * arc-opc.c (extract_rhv1): Extract value from insn.
  1113. 2016-06-14 Graham Markall <graham.markall@embecosm.com>
  1114. * arc-nps400-tbl.h: Add ldbit instruction.
  1115. * arc-opc.c: Add flag classes required for ldbit.
  1116. 2016-06-14 Graham Markall <graham.markall@embecosm.com>
  1117. * arc-nps400-tbl.h: Add hash, hash.p[0-3], tr, utf8, e4by, and addf
  1118. * arc-opc.c: Add flag classes, insert/extract functions, and operands to
  1119. support the above instructions.
  1120. 2016-06-14 Graham Markall <graham.markall@embecosm.com>
  1121. * arc-nps400-tbl.h: Add calcbsd, calcbxd, calckey, calcxkey, mxb,
  1122. imxb, addl, subl, andl, orl, xorl, andab, orab, lbdsize, bdlen, csms,
  1123. csma, cbba, zncv, and hofs.
  1124. * arc-opc.c: Add flag classes, insert/extract functions, and operands to
  1125. support the above instructions.
  1126. 2016-06-06 Graham Markall <graham.markall@embecosm.com>
  1127. * arc-nps400-tbl.h: Add andab and orab instructions.
  1128. 2016-06-06 Graham Markall <graham.markall@embecosm.com>
  1129. * arc-nps400-tbl.h: Add addl-like instructions.
  1130. 2016-06-06 Graham Markall <graham.markall@embecosm.com>
  1131. * arc-nps400-tbl.h: Add mxb and imxb instructions.
  1132. 2016-06-06 Graham Markall <graham.markall@embecosm.com>
  1133. * arc-nps400-tbl.h: Add calcbsd, calcbxd, calckey and calcxkey
  1134. instructions.
  1135. 2016-06-10 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
  1136. * s390-dis.c (option_use_insn_len_bits_p): New file scope
  1137. variable.
  1138. (init_disasm): Handle new command line option "insnlength".
  1139. (print_s390_disassembler_options): Mention new option in help
  1140. output.
  1141. (print_insn_s390): Use the encoded insn length when dumping
  1142. unknown instructions.
  1143. 2016-06-03 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
  1144. * avr-dis.c (avr_operand): Add default data address space origin (0x800000)
  1145. to the address and set as symbol address for LDS/ STS immediate operands.
  1146. 2016-06-07 Alan Modra <amodra@gmail.com>
  1147. * ppc-dis.c (ppc_opts): Delete extraneous parentheses. Default
  1148. cpu for "vle" to e500.
  1149. * ppc-opc.c (ALLOW8_SPRG): Remove PPC_OPCODE_VLE.
  1150. (NO371, PPCSPE, PPCISEL, PPCEFS, MULHW, DCBT_EO): Likewise.
  1151. (PPCNONE): Delete, substitute throughout.
  1152. (powerpc_opcodes): Remove PPCVLE from "flags". Add to "deprecated"
  1153. except for major opcode 4 and 31.
  1154. (vle_opcodes <se_rfmci>): Add PPCRFMCI to flags.
  1155. 2016-06-07 Matthew Wahab <matthew.wahab@arm.com>
  1156. * arm-dis.c (arm_opcodes): Replace ARM_EXT_V8_2A with
  1157. ARM_EXT_RAS in relevant entries.
  1158. 2016-06-03 Peter Bergner <bergner@vnet.ibm.com>
  1159. PR binutils/20196
  1160. * ppc-opc.c (powerpc_opcodes <lbarx, lharx, stbcx., sthcx.>): Enable
  1161. opcodes for E6500.
  1162. 2016-06-03 H.J. Lu <hongjiu.lu@intel.com>
  1163. PR binutis/18386
  1164. * i386-dis.c (indirEv): Replace stack_v_mode with indir_v_mode.
  1165. (indir_v_mode): New.
  1166. Add comments for '&'.
  1167. (reg_table): Replace "{T|}" with "{&|}" on call and jmp.
  1168. (putop): Handle '&'.
  1169. (intel_operand_size): Handle indir_v_mode.
  1170. (OP_E_register): Likewise.
  1171. * i386-opc.tbl: Mark 64-bit indirect call/jmp as AMD64. Add
  1172. 64-bit indirect call/jmp for AMD64.
  1173. * i386-tbl.h: Regenerated
  1174. 2016-06-02 Andrew Burgess <andrew.burgess@embecosm.com>
  1175. * arc-dis.c (struct arc_operand_iterator): New structure.
  1176. (find_format_from_table): All the old content from find_format,
  1177. with some minor adjustments, and parameter renaming.
  1178. (find_format_long_instructions): New function.
  1179. (find_format): Rewritten.
  1180. (arc_insn_length): Add LSB parameter.
  1181. (extract_operand_value): New function.
  1182. (operand_iterator_next): New function.
  1183. (print_insn_arc): Use new functions to find opcode, and iterator
  1184. over operands.
  1185. * arc-opc.c (insert_nps_3bit_dst_short): New function.
  1186. (extract_nps_3bit_dst_short): New function.
  1187. (insert_nps_3bit_src2_short): New function.
  1188. (extract_nps_3bit_src2_short): New function.
  1189. (insert_nps_bitop1_size): New function.
  1190. (extract_nps_bitop1_size): New function.
  1191. (insert_nps_bitop2_size): New function.
  1192. (extract_nps_bitop2_size): New function.
  1193. (insert_nps_bitop_mod4_msb): New function.
  1194. (extract_nps_bitop_mod4_msb): New function.
  1195. (insert_nps_bitop_mod4_lsb): New function.
  1196. (extract_nps_bitop_mod4_lsb): New function.
  1197. (insert_nps_bitop_dst_pos3_pos4): New function.
  1198. (extract_nps_bitop_dst_pos3_pos4): New function.
  1199. (insert_nps_bitop_ins_ext): New function.
  1200. (extract_nps_bitop_ins_ext): New function.
  1201. (arc_operands): Add new operands.
  1202. (arc_long_opcodes): New global array.
  1203. (arc_num_long_opcodes): New global.
  1204. * arc-nps400-tbl.h: Add comments referencing arc_long_opcodes.
  1205. 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
  1206. * nds32-asm.h: Add extern "C".
  1207. * sh-opc.h: Likewise.
  1208. 2016-06-01 Graham Markall <graham.markall@embecosm.com>
  1209. * arc-nps400-tbl.h: Add operands a,b,u6, 0,b,u6, and
  1210. 0,b,limm to the rflt instruction.
  1211. 2016-05-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
  1212. * sh-opc.h (ARCH_SH_HAS_DSP): Make the shifted value an unsigned
  1213. constant.
  1214. 2016-05-29 H.J. Lu <hongjiu.lu@intel.com>
  1215. PR gas/20145
  1216. * i386-gen.c (cpu_flag_init): Add CPU_ANY_AVX512F_FLAGS,
  1217. CPU_ANY_AVX512CD_FLAGS, CPU_ANY_AVX512ER_FLAGS,
  1218. CPU_ANY_AVX512PF_FLAGS, CPU_ANY_AVX512DQ_FLAGS,
  1219. CPU_ANY_AVX512BW_FLAGS, CPU_ANY_AVX512VL_FLAGS,
  1220. CPU_ANY_AVX512IFMA_FLAGS and CPU_ANY_AVX512VBMI_FLAGS.
  1221. * i386-init.h: Regenerated.
  1222. 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
  1223. PR gas/20145
  1224. * i386-gen.c (cpu_flag_init): Update CPU_XXX_FLAGS. Remove
  1225. CpuMMX from CPU_SSE_FLAGS. Remove AVX and AVX512 bits from
  1226. CPU_ANY_SSE_FLAGS. Remove AVX512 bits from CPU_ANY_AVX_FLAGS.
  1227. Add CPU_XSAVE_FLAGS to CPU_XSAVEOPT_FLAGS, CPU_XSAVE_FLAGS and
  1228. CpuXSAVEC. Add CPU_AVX_FLAGS to CpuF16C. Remove CpuMMX from
  1229. CPU_AVX512F_FLAGS, CPU_AVX512CD_FLAGS, CPU_AVX512ER_FLAGS,
  1230. CPU_AVX512PF_FLAGS, CPU_AVX512DQ_FLAGS and CPU_AVX512BW_FLAGS.
  1231. Add CPU_SSE2_FLAGS to CPU_SHA_FLAGS. Add CPU_ANY_287_FLAGS,
  1232. CPU_ANY_387_FLAGS, CPU_ANY_687_FLAGS, CPU_ANY_SSE2_FLAGS,
  1233. CPU_ANY_SSE3_FLAGS, CPU_ANY_SSSE3_FLAGS, CPU_ANY_SSE4_1_FLAGS,
  1234. CPU_ANY_SSE4_2_FLAGS and CPU_ANY_AVX2_FLAGS. Enable CpuRegMMX
  1235. for MMX. Enable CpuRegXMM for SSE, AVX and AVX512. Enable
  1236. CpuRegYMM for AVX and AVX512VL, Enable CpuRegZMM and
  1237. CpuRegMask for AVX512.
  1238. (cpu_flags): Add CpuRegMMX, CpuRegXMM, CpuRegYMM, CpuRegZMM
  1239. and CpuRegMask.
  1240. (set_bitfield_from_cpu_flag_init): New function.
  1241. (set_bitfield): Remove const on f. Call
  1242. set_bitfield_from_cpu_flag_init to handle CPU_XXX_FLAGS.
  1243. * i386-opc.h (CpuRegMMX): New.
  1244. (CpuRegXMM): Likewise.
  1245. (CpuRegYMM): Likewise.
  1246. (CpuRegZMM): Likewise.
  1247. (CpuRegMask): Likewise.
  1248. (i386_cpu_flags): Add cpuregmmx, cpuregxmm, cpuregymm, cpuregzmm
  1249. and cpuregmask.
  1250. * i386-init.h: Regenerated.
  1251. * i386-tbl.h: Likewise.
  1252. 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
  1253. PR gas/20154
  1254. * i386-gen.c (cpu_flags): Remove CpuAMD64 and CpuIntel64.
  1255. (opcode_modifiers): Add AMD64 and Intel64.
  1256. (main): Properly verify CpuMax.
  1257. * i386-opc.h (CpuAMD64): Removed.
  1258. (CpuIntel64): Likewise.
  1259. (CpuMax): Set to CpuNo64.
  1260. (i386_cpu_flags): Remove cpuamd64 and cpuintel64.
  1261. (AMD64): New.
  1262. (Intel64): Likewise.
  1263. (i386_opcode_modifier): Add amd64 and intel64.
  1264. (i386-opc.tbl): Replace CpuAMD64/CpuIntel64 with AMD64/Intel64
  1265. on call and jmp.
  1266. * i386-init.h: Regenerated.
  1267. * i386-tbl.h: Likewise.
  1268. 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
  1269. PR gas/20154
  1270. * i386-gen.c (main): Fail if CpuMax is incorrect.
  1271. * i386-opc.h (CpuMax): Set to CpuIntel64.
  1272. * i386-tbl.h: Regenerated.
  1273. 2016-05-27 Nick Clifton <nickc@redhat.com>
  1274. PR target/20150
  1275. * msp430-dis.c (msp430dis_read_two_bytes): New function.
  1276. (msp430dis_opcode_unsigned): New function.
  1277. (msp430dis_opcode_signed): New function.
  1278. (msp430_singleoperand): Use the new opcode reading functions.
  1279. Only disassenmble bytes if they were successfully read.
  1280. (msp430_doubleoperand): Likewise.
  1281. (msp430_branchinstr): Likewise.
  1282. (msp430x_callx_instr): Likewise.
  1283. (print_insn_msp430): Check that it is safe to read bytes before
  1284. attempting disassembly. Use the new opcode reading functions.
  1285. 2016-05-26 Peter Bergner <bergner@vnet.ibm.com>
  1286. * ppc-opc.c (CY): New define. Document it.
  1287. (powerpc_opcodes) <addex[.], lwzmx, vmsumudm>: New mnemonics.
  1288. 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
  1289. * i386-gen.c (cpu_flag_init): Add CpuVREX to CPU_AVX512DQ_FLAGS,
  1290. CPU_AVX512BW_FLAGS, CPU_AVX512VL_FLAGS, CPU_AVX512IFMA_FLAGS
  1291. and CPU_AVX512VBMI_FLAGS. Add CpuAVX512DQ, CpuAVX512BW,
  1292. CpuAVX512VL, CpuAVX512IFMA and CpuAVX512VBMI to
  1293. CPU_ANY_AVX_FLAGS.
  1294. * i386-init.h: Regenerated.
  1295. 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
  1296. PR gas/20141
  1297. * i386-gen.c (cpu_flag_init): Add CpuVREX to CPU_AVX512F_FLAGS,
  1298. CPU_AVX512CD_FLAGS, CPU_AVX512ER_FLAGS and CPU_AVX512PF_FLAGS.
  1299. * i386-init.h: Regenerated.
  1300. 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
  1301. * i386-gen.c (cpu_flag_init): Rename CPU_ANY87_FLAGS to
  1302. CPU_ANY_X87_FLAGS. Add CPU_ANY_MMX_FLAGS.
  1303. * i386-init.h: Regenerated.
  1304. 2016-05-23 Claudiu Zissulescu <claziss@synopsys.com>
  1305. * arc-dis.c (print_flags): Set branch_delay_insns, and insn_type
  1306. information.
  1307. (print_insn_arc): Set insn_type information.
  1308. * arc-opc.c (C_CC): Add F_CLASS_COND.
  1309. * arc-tbl.h (bbit0, bbit1): Update subclass to COND.
  1310. (beq_s, bge_s, bgt_s, bhi_s, bhs_s): Likewise.
  1311. (ble_s, blo_s, bls_s, blt_s, bne_s): Likewise.
  1312. (breq, breq_s, brge, brhs, brlo, brlt): Likewise.
  1313. (brne, brne_s, jeq_s, jne_s): Likewise.
  1314. 2016-05-23 Claudiu Zissulescu <claziss@synopsys.com>
  1315. * arc-tbl.h (neg): New instruction variant.
  1316. 2016-05-23 Cupertino Miranda <cmiranda@synopsys.com>
  1317. * arc-dis.c (find_format, find_format, get_auxreg)
  1318. (print_insn_arc): Changed.
  1319. * arc-ext.h (INSERT_XOP): Likewise.
  1320. 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
  1321. * tic54x-dis.c (sprint_mmr): Adjust.
  1322. * tic54x-opc.c: Likewise.
  1323. 2016-05-19 Alan Modra <amodra@gmail.com>
  1324. * ppc-opc.c (NSISIGNOPT): Use insert_nsi and extract_nsi.
  1325. 2016-05-19 Alan Modra <amodra@gmail.com>
  1326. * ppc-opc.c: Formatting.
  1327. (NSISIGNOPT): Define.
  1328. (powerpc_opcodes <subis>): Use NSISIGNOPT.
  1329. 2016-05-18 Maciej W. Rozycki <macro@imgtec.com>
  1330. * mips-dis.c (is_compressed_mode_p): Add `micromips_p' operand,
  1331. replacing references to `micromips_ase' throughout.
  1332. (_print_insn_mips): Don't use file-level microMIPS annotation to
  1333. determine the disassembly mode with the symbol table.
  1334. 2016-05-13 Peter Bergner <bergner@vnet.ibm.com>
  1335. * ppc-opc.c (IMM8): Use PPC_OPERAND_SIGNOPT.
  1336. 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
  1337. * mips-dis.c (mips_arch_choices): Add ASE_DSPR3 to mips32r6 and
  1338. mips64r6.
  1339. * mips-opc.c (D34): New macro.
  1340. (mips_builtin_opcodes): Define bposge32c for DSPr3.
  1341. 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
  1342. * i386-dis.c (prefix_table): Add RDPID instruction.
  1343. * i386-gen.c (cpu_flag_init): Add RDPID flag.
  1344. (cpu_flags): Add RDPID bitfield.
  1345. * i386-opc.h (enum): Add RDPID element.
  1346. (i386_cpu_flags): Add RDPID field.
  1347. * i386-opc.tbl: Add RDPID instruction.
  1348. * i386-init.h: Regenerate.
  1349. * i386-tbl.h: Regenerate.
  1350. 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
  1351. * arm-dis.c (get_sym_code_type): Use ARM_GET_SYM_BRANCH_TYPE to get
  1352. branch type of a symbol.
  1353. (print_insn): Likewise.
  1354. 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
  1355. * arm-dis.c (coprocessor_opcodes): Add entries for VFP ARMv8-M
  1356. Mainline Security Extensions instructions.
  1357. (thumb_opcodes): Add entries for narrow ARMv8-M Security
  1358. Extensions instructions.
  1359. (thumb32_opcodes): Add entries for wide ARMv8-M Security Extensions
  1360. instructions.
  1361. (psr_name): Add new MSP_NS and PSP_NS ARMv8-M Security Extensions
  1362. special registers.
  1363. 2016-05-09 Jose E. Marchesi <jose.marchesi@oracle.com>
  1364. * sparc-opc.c (sparc_opcodes): Fix mnemonic of faligndatai.
  1365. 2016-05-03 Claudiu Zissulescu <claziss@synopsys.com>
  1366. * arc-ext.c (dump_ARC_extmap): Handle SYNATX_NOP and SYNTAX_1OP.
  1367. (arcExtMap_genOpcode): Likewise.
  1368. * arc-opc.c (arg_32bit_rc): Define new variable.
  1369. (arg_32bit_u6): Likewise.
  1370. (arg_32bit_limm): Likewise.
  1371. 2016-05-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
  1372. * aarch64-gen.c (VERIFIER): Define.
  1373. * aarch64-opc.c (VERIFIER): Define.
  1374. (verify_ldpsw): Use static linkage.
  1375. * aarch64-opc.h (verify_ldpsw): Remove.
  1376. * aarch64-tbl.h: Use VERIFIER for verifiers.
  1377. 2016-04-28 Nick Clifton <nickc@redhat.com>
  1378. PR target/19722
  1379. * aarch64-dis.c (aarch64_opcode_decode): Run verifier if present.
  1380. * aarch64-opc.c (verify_ldpsw): New function.
  1381. * aarch64-opc.h (verify_ldpsw): New prototype.
  1382. * aarch64-tbl.h: Add initialiser for verifier field.
  1383. (LDPSW): Set verifier to verify_ldpsw.
  1384. 2016-04-23 H.J. Lu <hongjiu.lu@intel.com>
  1385. PR binutils/19983
  1386. PR binutils/19984
  1387. * i386-dis.c (print_insn): Return -1 if size of bfd_vma is
  1388. smaller than address size.
  1389. 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
  1390. * alpha-dis.c: Regenerate.
  1391. * crx-dis.c: Likewise.
  1392. * disassemble.c: Likewise.
  1393. * epiphany-opc.c: Likewise.
  1394. * fr30-opc.c: Likewise.
  1395. * frv-opc.c: Likewise.
  1396. * ip2k-opc.c: Likewise.
  1397. * iq2000-opc.c: Likewise.
  1398. * lm32-opc.c: Likewise.
  1399. * lm32-opinst.c: Likewise.
  1400. * m32c-opc.c: Likewise.
  1401. * m32r-opc.c: Likewise.
  1402. * m32r-opinst.c: Likewise.
  1403. * mep-opc.c: Likewise.
  1404. * mt-opc.c: Likewise.
  1405. * or1k-opc.c: Likewise.
  1406. * or1k-opinst.c: Likewise.
  1407. * tic80-opc.c: Likewise.
  1408. * xc16x-opc.c: Likewise.
  1409. * xstormy16-opc.c: Likewise.
  1410. 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
  1411. * arc-nps400-tbl.h: Add addb, subb, adcb, sbcb, andb, xorb, orb,
  1412. fxorb, wxorb, shlb, shrb, notb, cntbb, div, mod, divm, qcmp,
  1413. calcsd, and calcxd instructions.
  1414. * arc-opc.c (insert_nps_bitop_size): Delete.
  1415. (extract_nps_bitop_size): Delete.
  1416. (MAKE_SRC_POS_INSERT_EXTRACT_FUNCS): Define, and use.
  1417. (extract_nps_qcmp_m3): Define.
  1418. (extract_nps_qcmp_m2): Define.
  1419. (extract_nps_qcmp_m1): Define.
  1420. (arc_flag_operands): Add F_NPS_SX, F_NPS_AR, F_NPS_AL.
  1421. (arc_flag_classes): Add C_NPS_SX, C_NPS_AR_AL
  1422. (arc_operands): Add NPS_SRC2_POS, NPS_SRC1_POS, NPS_ADDB_SIZE,
  1423. NPS_ANDB_SIZE, NPS_FXORB_SIZ, NPS_WXORB_SIZ, NPS_R_XLDST,
  1424. NPS_DIV_UIMM4, NPS_QCMP_SIZE, NPS_QCMP_M1, NPS_QCMP_M2, and
  1425. NPS_QCMP_M3.
  1426. 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
  1427. * arc-nps400-tbl.h: Add dctcp, dcip, dcet, and dcacl instructions.
  1428. 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
  1429. * Makefile.in: Regenerated with automake 1.11.6.
  1430. * aclocal.m4: Likewise.
  1431. 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
  1432. * arc-nps400-tbl.h: Add xldb, xldw, xld, xstb, xstw, and xst
  1433. instructions.
  1434. * arc-opc.c (insert_nps_cmem_uimm16): New function.
  1435. (extract_nps_cmem_uimm16): New function.
  1436. (arc_operands): Add NPS_XLDST_UIMM16 operand.
  1437. 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
  1438. * arc-dis.c (arc_insn_length): New function.
  1439. (print_insn_arc): Use arc_insn_length, change insnLen to unsigned.
  1440. (find_format): Change insnLen parameter to unsigned.
  1441. 2016-04-13 Nick Clifton <nickc@redhat.com>
  1442. PR target/19937
  1443. * v850-opc.c (v850_opcodes): Correct masks for long versions of
  1444. the LD.B and LD.BU instructions.
  1445. 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
  1446. * arc-dis.c (find_format): Check for extension flags.
  1447. (print_flags): New function.
  1448. (print_insn_arc): Update for .extCondCode, .extCoreRegister and
  1449. .extAuxRegister.
  1450. * arc-ext.c (arcExtMap_coreRegName): Use
  1451. LAST_EXTENSION_CORE_REGISTER.
  1452. (arcExtMap_coreReadWrite): Likewise.
  1453. (dump_ARC_extmap): Update printing.
  1454. * arc-opc.c (arc_flag_classes): Add F_CLASS_EXTEND flag.
  1455. (arc_aux_regs): Add cpu field.
  1456. * arc-regs.h: Add cpu field, lower case name aux registers.
  1457. 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
  1458. * arc-tbl.h: Add rtsc, sleep with no arguments.
  1459. 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
  1460. * arc-opc.c (flags_none, flags_f, flags_cc, flags_ccf):
  1461. Initialize.
  1462. (arg_none, arg_32bit_rarbrc, arg_32bit_zarbrc, arg_32bit_rbrbrc)
  1463. (arg_32bit_rarbu6, arg_32bit_zarbu6, arg_32bit_rbrbu6)
  1464. (arg_32bit_rbrbs12, arg_32bit_ralimmrc, arg_32bit_rarblimm)
  1465. (arg_32bit_zalimmrc, arg_32bit_zarblimm, arg_32bit_rbrblimm)
  1466. (arg_32bit_ralimmu6, arg_32bit_zalimmu6, arg_32bit_zalimms12)
  1467. (arg_32bit_ralimmlimm, arg_32bit_zalimmlimm, arg_32bit_rbrc)
  1468. (arg_32bit_zarc, arg_32bit_rbu6, arg_32bit_zau6, arg_32bit_rblimm)
  1469. (arg_32bit_zalimm, arg_32bit_limmrc, arg_32bit_limmu6)
  1470. (arg_32bit_limms12, arg_32bit_limmlimm): Likewise.
  1471. (arc_opcode arc_opcodes): Null terminate the array.
  1472. (arc_num_opcodes): Remove.
  1473. * arc-ext.h (INSERT_XOP): Define.
  1474. (extInstruction_t): Likewise.
  1475. (arcExtMap_instName): Delete.
  1476. (arcExtMap_insn): New function.
  1477. (arcExtMap_genOpcode): Likewise.
  1478. * arc-ext.c (ExtInstruction): Remove.
  1479. (create_map): Zero initialize instruction fields.
  1480. (arcExtMap_instName): Remove.
  1481. (arcExtMap_insn): New function.
  1482. (dump_ARC_extmap): More info while debugging.
  1483. (arcExtMap_genOpcode): New function.
  1484. * arc-dis.c (find_format): New function.
  1485. (print_insn_arc): Use find_format.
  1486. (arc_get_disassembler): Enable dump_ARC_extmap only when
  1487. debugging.
  1488. 2016-04-11 Maciej W. Rozycki <macro@imgtec.com>
  1489. * mips-dis.c (print_mips16_insn_arg): Mask unused extended
  1490. instruction bits out.
  1491. 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
  1492. * arc-nps400-tbl.h: Add schd, sync, and hwschd instructions.
  1493. * arc-opc.c (arc_flag_operands): Add new flags.
  1494. (arc_flag_classes): Add new classes.
  1495. 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
  1496. * arc-opc.c (arc_opcodes): Extend comment to discus table layout.
  1497. 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
  1498. * arc-nps400-tbl.h: Add movbi, decode1, fbset, fbclear, encode0,
  1499. encode1, rflt, crc16, and crc32 instructions.
  1500. * arc-opc.c (arc_flag_operands): Add F_NPS_R.
  1501. (arc_flag_classes): Add C_NPS_R.
  1502. (insert_nps_bitop_size_2b): New function.
  1503. (extract_nps_bitop_size_2b): Likewise.
  1504. (insert_nps_bitop_uimm8): Likewise.
  1505. (extract_nps_bitop_uimm8): Likewise.
  1506. (arc_operands): Add new operand entries.
  1507. 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
  1508. * arc-regs.h: Add a new subclass field. Add double assist
  1509. accumulator register values.
  1510. * arc-tbl.h: Use DPA subclass to mark the double assist
  1511. instructions. Use DPX/SPX subclas to mark the FPX instructions.
  1512. * arc-opc.c (RSP): Define instead of SP.
  1513. (arc_aux_regs): Add the subclass field.
  1514. 2016-04-05 Jiong Wang <jiong.wang@arm.com>
  1515. * arm-dis.c: Support FP16 vmul, vmla, vmls (by scalar).
  1516. 2016-03-31 Andrew Burgess <andrew.burgess@embecosm.com>
  1517. * arc-opc.c (arc_operands): Fix operand flags for NPS_R_DST, and
  1518. NPS_R_SRC1.
  1519. 2016-03-30 Andrew Burgess <andrew.burgess@embecosm.com>
  1520. * arc-nps400-tbl.h: Add a header comment, and fix some whitespace
  1521. issues. No functional changes.
  1522. 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
  1523. * arc-regs.h (IC_RAM_ADDRESS, IC_TAG, IC_WP, IC_DATA, CONTROL0)
  1524. (AX2, AY2, MX2, MY2, AY0, AY1, DC_RAM_ADDR, DC_TAG, CONTROL1)
  1525. (RTT): Remove duplicate.
  1526. (LCDINSTR, LCDDATA, LCDSTAT, CC_*, PCT_COUNT*, PCT_SNAP*)
  1527. (PCT_CONFIG*): Remove.
  1528. (D1L, D1H, D2H, D2L): Define.
  1529. 2016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
  1530. * arc-ext-tbl.h (dsp_fp_i2flt): Fix typo.
  1531. 2016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
  1532. * arc-tbl.h (invld07): Remove.
  1533. * arc-ext-tbl.h: New file.
  1534. * arc-dis.c (FIELDA, FIELDB, FIELDC): Remove.
  1535. * arc-opc.c (arc_opcodes): Add ext-tbl include.
  1536. 2016-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
  1537. Fix -Wstack-usage warnings.
  1538. * aarch64-dis.c (print_operands): Substitute size.
  1539. * aarch64-opc.c (print_register_offset_address): Substitute tblen.
  1540. 2016-03-22 Jose E. Marchesi <jose.marchesi@oracle.com>
  1541. * sparc-opc.c (sparc_opcodes): Reorder entries for `rd' in order
  1542. to get a proper diagnostic when an invalid ASR register is used.
  1543. 2016-03-22 Nick Clifton <nickc@redhat.com>
  1544. * configure: Regenerate.
  1545. 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
  1546. * arc-nps400-tbl.h: New file.
  1547. * arc-opc.c: Add top level comment.
  1548. (insert_nps_3bit_dst): New function.
  1549. (extract_nps_3bit_dst): New function.
  1550. (insert_nps_3bit_src2): New function.
  1551. (extract_nps_3bit_src2): New function.
  1552. (insert_nps_bitop_size): New function.
  1553. (extract_nps_bitop_size): New function.
  1554. (arc_flag_operands): Add nps400 entries.
  1555. (arc_flag_classes): Add nps400 entries.
  1556. (arc_operands): Add nps400 entries.
  1557. (arc_opcodes): Add nps400 include.
  1558. 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
  1559. * arc-opc.c (arc_flag_classes): Convert all flag classes to use
  1560. the new class enum values.
  1561. 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
  1562. * arc-dis.c (print_insn_arc): Handle nps400.
  1563. 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
  1564. * arc-opc.c (BASE): Delete.
  1565. 2016-03-18 Nick Clifton <nickc@redhat.com>
  1566. PR target/19721
  1567. * aarch64-tbl.h (aarch64_opcode_table): Fix type of second operand
  1568. of MOV insn that aliases an ORR insn.
  1569. 2016-03-16 Jiong Wang <jiong.wang@arm.com>
  1570. * arm-dis.c (neon_opcodes): Support new FP16 instructions.
  1571. 2016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
  1572. * mcore-opc.h: Add const qualifiers.
  1573. * microblaze-opc.h (struct op_code_struct): Likewise.
  1574. * sh-opc.h: Likewise.
  1575. * tic4x-dis.c (tic4x_print_indirect): Likewise.
  1576. (tic4x_print_op): Likewise.
  1577. 2016-03-02 Alan Modra <amodra@gmail.com>
  1578. * or1k-desc.h: Regenerate.
  1579. * fr30-ibld.c: Regenerate.
  1580. * rl78-decode.c: Regenerate.
  1581. 2016-03-01 Nick Clifton <nickc@redhat.com>
  1582. PR target/19747
  1583. * rl78-dis.c (print_insn_rl78_common): Fix typo.
  1584. 2016-02-24 Renlin Li <renlin.li@arm.com>
  1585. * arm-dis.c (coprocessor_opcodes): Add fp16 instruction entries.
  1586. (print_insn_coprocessor): Support fp16 instructions.
  1587. 2016-02-24 Renlin Li <renlin.li@arm.com>
  1588. * arm-dis.c (print_insn_coprocessor): Fix mask for vsel, vmaxnm,
  1589. vminnm, vrint(mpna).
  1590. 2016-02-24 Renlin Li <renlin.li@arm.com>
  1591. * arm-dis.c (print_insn_coprocessor): Check co-processor number for
  1592. cpd/cpd2, mcr/mcr2, mrc/mrc2, ldc/ldc2, stc/stc2.
  1593. 2016-02-15 H.J. Lu <hongjiu.lu@intel.com>
  1594. * i386-dis.c (print_insn): Parenthesize expression to prevent
  1595. truncated addresses.
  1596. (OP_J): Likewise.
  1597. 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
  1598. Janek van Oirschot <jvanoirs@synopsys.com>
  1599. * arc-opc.c (arc_relax_opcodes, arc_num_relax_opcodes): New
  1600. variable.
  1601. 2016-02-04 Nick Clifton <nickc@redhat.com>
  1602. PR target/19561
  1603. * msp430-dis.c (print_insn_msp430): Add a special case for
  1604. decoding an RRC instruction with the ZC bit set in the extension
  1605. word.
  1606. 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
  1607. * cgen-ibld.in (insert_normal): Rework calculation of shift.
  1608. * epiphany-ibld.c: Regenerate.
  1609. * fr30-ibld.c: Regenerate.
  1610. * frv-ibld.c: Regenerate.
  1611. * ip2k-ibld.c: Regenerate.
  1612. * iq2000-ibld.c: Regenerate.
  1613. * lm32-ibld.c: Regenerate.
  1614. * m32c-ibld.c: Regenerate.
  1615. * m32r-ibld.c: Regenerate.
  1616. * mep-ibld.c: Regenerate.
  1617. * mt-ibld.c: Regenerate.
  1618. * or1k-ibld.c: Regenerate.
  1619. * xc16x-ibld.c: Regenerate.
  1620. * xstormy16-ibld.c: Regenerate.
  1621. 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
  1622. * epiphany-dis.c: Regenerated from latest cpu files.
  1623. 2016-02-01 Michael McConville <mmcco@mykolab.com>
  1624. * cgen-dis.c (count_decodable_bits): Use unsigned value for mask
  1625. test bit.
  1626. 2016-01-25 Renlin Li <renlin.li@arm.com>
  1627. * arm-dis.c (mapping_symbol_for_insn): New function.
  1628. (find_ifthen_state): Call mapping_symbol_for_insn().
  1629. 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
  1630. * aarch64-opc.c (operand_general_constraint_met_p): Check validity
  1631. of MSR UAO immediate operand.
  1632. 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
  1633. * mips-dis.c (print_insn_micromips): Remove 48-bit microMIPS
  1634. instruction support.
  1635. 2016-01-17 Alan Modra <amodra@gmail.com>
  1636. * configure: Regenerate.
  1637. 2016-01-14 Nick Clifton <nickc@redhat.com>
  1638. * rl78-decode.opc (rl78_decode_opcode): Add 's' operand to movw
  1639. instructions that can support stack pointer operations.
  1640. * rl78-decode.c: Regenerate.
  1641. * rl78-dis.c: Fix display of stack pointer in MOVW based
  1642. instructions.
  1643. 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
  1644. * aarch64-opc.c (aarch64_sys_reg_supported_p): Merge conditionals
  1645. testing for RAS support. Add checks for erxfr_el1, erxctlr_el1,
  1646. erxtatus_el1 and erxaddr_el1.
  1647. 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
  1648. * arm-dis.c (arm_opcodes): Add "esb".
  1649. (thumb_opcodes): Likewise.
  1650. 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
  1651. * ppc-opc.c <xscmpnedp>: Delete.
  1652. <xvcmpnedp>: Likewise.
  1653. <xvcmpnedp.>: Likewise.
  1654. <xvcmpnesp>: Likewise.
  1655. <xvcmpnesp.>: Likewise.
  1656. 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
  1657. PR gas/13050
  1658. * m68k-opc.c (moveb, movew): For ISA_B/C only allow #,d(An) in
  1659. addition to ISA_A.
  1660. 2016-01-01 Alan Modra <amodra@gmail.com>
  1661. Update year range in copyright notice of all files.
  1662. For older changes see ChangeLog-2015
  1663. Copyright (C) 2016 Free Software Foundation, Inc.
  1664. Copying and distribution of this file, with or without modification,
  1665. are permitted in any medium without royalty provided the copyright
  1666. notice and this notice are preserved.
  1667. Local Variables:
  1668. mode: change-log
  1669. left-margin: 8
  1670. fill-column: 74
  1671. version-control: never
  1672. End: