1*56bb7041Schristos2019-12-27 Jan Beulich <jbeulich@suse.com> 2*56bb7041Schristos 3*56bb7041Schristos * config/tc-i386.c (output_branch, output_jump, 4*56bb7041Schristos output_interseg_jump): Also emit skipped prefix warning in Intel 5*56bb7041Schristos syntax mode. Name instruction in the warning text. 6*56bb7041Schristos * testsuite/gas/i386/mpx-inval-1.l, 7*56bb7041Schristos testsuite/gas/i386/notrackbad.l, 8*56bb7041Schristos testsuite/gas/i386/x86-64-notrackbad.l: Adjust expectations. 9*56bb7041Schristos 10*56bb7041Schristos2019-12-27 Jan Beulich <jbeulich@suse.com> 11*56bb7041Schristos 12*56bb7041Schristos * config/tc-i386.c (output_branch): Handle BND prefix the same 13*56bb7041Schristos way as other prefixes. Emit it last before REX. 14*56bb7041Schristos (output_jump): Emit BND before REX. 15*56bb7041Schristos (output_interseg_jump): Don't emit REX. 16*56bb7041Schristos * testsuite/gas/i386/x86-64-branch-2.s, 17*56bb7041Schristos testsuite/gas/i386/x86-64-branch-3.s, 18*56bb7041Schristos testsuite/gas/i386/x86-64-mpx-branch-1.s, 19*56bb7041Schristos testsuite/gas/i386/x86-64-mpx-branch-2.s: Add REX.W cases. 20*56bb7041Schristos * testsuite/gas/i386/x86-64-mpx-branch-2.d: Match output against 21*56bb7041Schristos x86-64-mpx-branch-1.d. 22*56bb7041Schristos * testsuite/gas/i386/x86-64-branch-2.d, 23*56bb7041Schristos testsuite/gas/i386/x86-64-branch-3.d, 24*56bb7041Schristos testsuite/gas/i386/x86-64-mpx-branch-1.d: Adjust expectations. 25*56bb7041Schristos 26*56bb7041Schristos2019-12-27 Jan Beulich <jbeulich@suse.com> 27*56bb7041Schristos 28*56bb7041Schristos * config/tc-i386.c (flip_code16): New. 29*56bb7041Schristos (output_branch, output_jump): Use it. 30*56bb7041Schristos (i386_displacement): Restrict template set to just direct 31*56bb7041Schristos branches when handling a respective operand. Don't set Disp16 32*56bb7041Schristos when in Intel64 mode and there's a respective template. 33*56bb7041Schristos * testsuite/gas/i386/i386.exp: Convert x86-64-branch-3 from list 34*56bb7041Schristos to dump test. Drop its XFail again. 35*56bb7041Schristos * testsuite/gas/i386/x86-64-branch-3.d: New. 36*56bb7041Schristos * testsuite/gas/i386/x86-64-branch-3.l: Delete. 37*56bb7041Schristos * testsuite/gas/i386/x86-64-branch-3.s: Add XBEGIN case. 38*56bb7041Schristos 39*56bb7041Schristos2019-12-27 Jan Beulich <jbeulich@suse.com> 40*56bb7041Schristos 41*56bb7041Schristos * config/tc-i386.c (i386_addressing_mode): Declare. 42*56bb7041Schristos (match_template): Don't transform displacement width flags for 43*56bb7041Schristos non-indirect branches. Re-write transformation logic. 44*56bb7041Schristos (i386_displacement): Also check BaseIndex when deciding whether 45*56bb7041Schristos an operand belongs to a direct branch. Restrict which DispNN get 46*56bb7041Schristos set. 47*56bb7041Schristos (i386_finalize_displacement): Set Disp8 for JumpByte templates. 48*56bb7041Schristos * config/tc-i386-intel.c (i386_intel_operand): Don't set Disp32 49*56bb7041Schristos for 64-bit addressing. 50*56bb7041Schristos * testsuite/gas/i386/i386.exp: XFail x86-64-branch-3. 51*56bb7041Schristos 52*56bb7041Schristos2019-12-17 Alan Modra <amodra@gmail.com> 53*56bb7041Schristos 54*56bb7041Schristos * doc/as.texi: Remove mention of tic80. 55*56bb7041Schristos 56*56bb7041Schristos2019-12-12 H.J. Lu <hongjiu.lu@intel.com> 57*56bb7041Schristos 58*56bb7041Schristos PR gas/25274 59*56bb7041Schristos * config/tc-i386.c (optimize_encoding): Also check R12-R15 60*56bb7041Schristos registers for "test $imm7, %r64/%r32/%r16 -> test $imm7, %r8" 61*56bb7041Schristos optimization. 62*56bb7041Schristos * testsuite/gas/i386/x86-64-optimize-3.s: Add tests for test 63*56bb7041Schristos with r12. 64*56bb7041Schristos * testsuite/gas/i386/x86-64-optimize-3.d: Updated. 65*56bb7041Schristos * testsuite/gas/i386/x86-64-optimize-3b.d: Likewise. 66*56bb7041Schristos 67*56bb7041Schristos2019-12-12 H.J. Lu <hongjiu.lu@intel.com> 68*56bb7041Schristos 69*56bb7041Schristos * testsuite/gas/i386/align-branch-1.s: New file. 70*56bb7041Schristos * testsuite/gas/i386/align-branch-1a.d: Likewise. 71*56bb7041Schristos * testsuite/gas/i386/align-branch-1b.d: Likewise. 72*56bb7041Schristos * testsuite/gas/i386/align-branch-1c.d: Likewise. 73*56bb7041Schristos * testsuite/gas/i386/align-branch-1d.d: Likewise. 74*56bb7041Schristos * testsuite/gas/i386/align-branch-1e.d: Likewise. 75*56bb7041Schristos * testsuite/gas/i386/align-branch-1f.d: Likewise. 76*56bb7041Schristos * testsuite/gas/i386/align-branch-1g.d: Likewise. 77*56bb7041Schristos * testsuite/gas/i386/align-branch-1h.d: Likewise. 78*56bb7041Schristos * testsuite/gas/i386/align-branch-2.s: Likewise. 79*56bb7041Schristos * testsuite/gas/i386/align-branch-2a.d: Likewise. 80*56bb7041Schristos * testsuite/gas/i386/align-branch-2b.d: Likewise. 81*56bb7041Schristos * testsuite/gas/i386/align-branch-2c.d: Likewise. 82*56bb7041Schristos * testsuite/gas/i386/align-branch-3.d: Likewise. 83*56bb7041Schristos * testsuite/gas/i386/align-branch-3.s: Likewise. 84*56bb7041Schristos * testsuite/gas/i386/align-branch-4.s: Likewise. 85*56bb7041Schristos * testsuite/gas/i386/align-branch-4a.d: Likewise. 86*56bb7041Schristos * testsuite/gas/i386/align-branch-4b.d: Likewise. 87*56bb7041Schristos * testsuite/gas/i386/align-branch-5.d: Likewise. 88*56bb7041Schristos * testsuite/gas/i386/align-branch-5.s: Likewise. 89*56bb7041Schristos * testsuite/gas/i386/align-branch-6.d: Likewise. 90*56bb7041Schristos * testsuite/gas/i386/align-branch-6.s: Likewise. 91*56bb7041Schristos * testsuite/gas/i386/align-branch-7.d: Likewise. 92*56bb7041Schristos * testsuite/gas/i386/align-branch-7.s: Likewise. 93*56bb7041Schristos * testsuite/gas/i386/align-branch-8.d: Likewise. 94*56bb7041Schristos * testsuite/gas/i386/align-branch-8.s: Likewise. 95*56bb7041Schristos * testsuite/gas/i386/x86-64-align-branch-1.s: Likewise. 96*56bb7041Schristos * testsuite/gas/i386/x86-64-align-branch-1a.d: Likewise. 97*56bb7041Schristos * testsuite/gas/i386/x86-64-align-branch-1b.d: Likewise. 98*56bb7041Schristos * testsuite/gas/i386/x86-64-align-branch-1c.d: Likewise. 99*56bb7041Schristos * testsuite/gas/i386/x86-64-align-branch-1d.d: Likewise. 100*56bb7041Schristos * testsuite/gas/i386/x86-64-align-branch-1e.d: Likewise. 101*56bb7041Schristos * testsuite/gas/i386/x86-64-align-branch-1f.d: Likewise. 102*56bb7041Schristos * testsuite/gas/i386/x86-64-align-branch-1g.d: Likewise. 103*56bb7041Schristos * testsuite/gas/i386/x86-64-align-branch-1h.d: Likewise. 104*56bb7041Schristos * testsuite/gas/i386/x86-64-align-branch-2.s: Likewise. 105*56bb7041Schristos * testsuite/gas/i386/x86-64-align-branch-2a.d: Likewise. 106*56bb7041Schristos * testsuite/gas/i386/x86-64-align-branch-2b.d: Likewise. 107*56bb7041Schristos * testsuite/gas/i386/x86-64-align-branch-2c.d: Likewise. 108*56bb7041Schristos * testsuite/gas/i386/x86-64-align-branch-3.d: Likewise. 109*56bb7041Schristos * testsuite/gas/i386/x86-64-align-branch-3.s: Likewise. 110*56bb7041Schristos * testsuite/gas/i386/x86-64-align-branch-4.s: Likewise. 111*56bb7041Schristos * testsuite/gas/i386/x86-64-align-branch-4a.d: Likewise. 112*56bb7041Schristos * testsuite/gas/i386/x86-64-align-branch-4b.d: Likewise. 113*56bb7041Schristos * testsuite/gas/i386/x86-64-align-branch-5.d: Likewise. 114*56bb7041Schristos * testsuite/gas/i386/x86-64-align-branch-6.d: Likewise. 115*56bb7041Schristos * testsuite/gas/i386/x86-64-align-branch-7.d: Likewise. 116*56bb7041Schristos * testsuite/gas/i386/x86-64-align-branch-7.s: Likewise. 117*56bb7041Schristos * testsuite/gas/i386/x86-64-align-branch-8.d: Likewise. 118*56bb7041Schristos * testsuite/gas/i386/x86-64-align-branch-8.s: Likewise. 119*56bb7041Schristos * testsuite/gas/i386/i386.exp: Run new tests. 120*56bb7041Schristos 121*56bb7041Schristos2019-12-12 H.J. Lu <hongjiu.lu@intel.com> 122*56bb7041Schristos 123*56bb7041Schristos * config/tc-i386.c (OPTION_MBRANCHES_WITH_32B_BOUNDARIES): New. 124*56bb7041Schristos (md_longopts): Add -mbranches-within-32B-boundaries. 125*56bb7041Schristos (md_parse_option): Handle -mbranches-within-32B-boundaries. 126*56bb7041Schristos (md_show_usage): Add -mbranches-within-32B-boundaries. 127*56bb7041Schristos 128*56bb7041Schristos2019-12-12 H.J. Lu <hongjiu.lu@intel.com> 129*56bb7041Schristos 130*56bb7041Schristos * config/tc-i386.c (_i386_insn): Add has_gotpc_tls_reloc. 131*56bb7041Schristos (tls_get_addr): New. 132*56bb7041Schristos (last_insn): New. 133*56bb7041Schristos (align_branch_power): New. 134*56bb7041Schristos (align_branch_kind): New. 135*56bb7041Schristos (align_branch_bit): New. 136*56bb7041Schristos (align_branch): New. 137*56bb7041Schristos (MAX_FUSED_JCC_PADDING_SIZE): New. 138*56bb7041Schristos (align_branch_prefix_size): New. 139*56bb7041Schristos (BRANCH_PADDING): New. 140*56bb7041Schristos (BRANCH_PREFIX): New. 141*56bb7041Schristos (FUSED_JCC_PADDING): New. 142*56bb7041Schristos (i386_generate_nops): Support BRANCH_PADDING and FUSED_JCC_PADDING. 143*56bb7041Schristos (md_begin): Abort if align_branch_prefix_size < 144*56bb7041Schristos MAX_FUSED_JCC_PADDING_SIZE. 145*56bb7041Schristos (md_assemble): Set last_insn. 146*56bb7041Schristos (maybe_fused_with_jcc_p): New. 147*56bb7041Schristos (add_fused_jcc_padding_frag_p): New. 148*56bb7041Schristos (add_branch_prefix_frag_p): New. 149*56bb7041Schristos (add_branch_padding_frag_p): New. 150*56bb7041Schristos (output_insn): Generate a BRANCH_PADDING, FUSED_JCC_PADDING or 151*56bb7041Schristos BRANCH_PREFIX frag and terminate each frag to align branches. 152*56bb7041Schristos (output_disp): Set i.has_gotpc_tls_reloc to TRUE for GOTPC and 153*56bb7041Schristos relaxable TLS relocations. 154*56bb7041Schristos (output_imm): Likewise. 155*56bb7041Schristos (i386_next_non_empty_frag): New. 156*56bb7041Schristos (i386_next_jcc_frag): New. 157*56bb7041Schristos (i386_classify_machine_dependent_frag): New. 158*56bb7041Schristos (i386_branch_padding_size): New. 159*56bb7041Schristos (i386_generic_table_relax_frag): New. 160*56bb7041Schristos (md_estimate_size_before_relax): Handle COND_JUMP_PADDING, 161*56bb7041Schristos FUSED_JCC_PADDING and COND_JUMP_PREFIX frags. 162*56bb7041Schristos (md_convert_frag): Handle BRANCH_PADDING, BRANCH_PREFIX and 163*56bb7041Schristos FUSED_JCC_PADDING frags. 164*56bb7041Schristos (OPTION_MALIGN_BRANCH_BOUNDARY): New. 165*56bb7041Schristos (OPTION_MALIGN_BRANCH_PREFIX_SIZE): New. 166*56bb7041Schristos (OPTION_MALIGN_BRANCH): New. 167*56bb7041Schristos (md_longopts): Add -malign-branch-boundary=, 168*56bb7041Schristos -malign-branch-prefix-size= and -malign-branch=. 169*56bb7041Schristos (md_parse_option): Handle -malign-branch-boundary=, 170*56bb7041Schristos -malign-branch-prefix-size= and -malign-branch=. 171*56bb7041Schristos (md_show_usage): Display -malign-branch-boundary=, 172*56bb7041Schristos -malign-branch-prefix-size= and -malign-branch=. 173*56bb7041Schristos (i386_target_format): Set tls_get_addr. 174*56bb7041Schristos (i386_cons_align): New. 175*56bb7041Schristos * config/tc-i386.h (i386_cons_align): New. 176*56bb7041Schristos (md_cons_align): New. 177*56bb7041Schristos (i386_generic_table_relax_frag): New. 178*56bb7041Schristos (md_generic_table_relax_frag): New. 179*56bb7041Schristos (i386_tc_frag_data): Add u, padding_address, length, 180*56bb7041Schristos max_prefix_length, prefix_length, default_prefix, cmp_size, 181*56bb7041Schristos classified and branch_type. 182*56bb7041Schristos (TC_FRAG_INIT): Initialize u, padding_address, length, 183*56bb7041Schristos max_prefix_length, prefix_length, default_prefix, cmp_size, 184*56bb7041Schristos classified and branch_type. 185*56bb7041Schristos * doc/c-i386.texi: Document -malign-branch-boundary=, 186*56bb7041Schristos -malign-branch= and -malign-branch-prefix-size=. 187*56bb7041Schristos 188*56bb7041Schristos2019-12-12 H.J. Lu <hongjiu.lu@intel.com> 189*56bb7041Schristos 190*56bb7041Schristos * write.c (md_generic_table_relax_frag): New. Defined to 191*56bb7041Schristos relax_frag if not defined. 192*56bb7041Schristos (relax_segment): Call md_generic_table_relax_frag instead of 193*56bb7041Schristos relax_frag. 194*56bb7041Schristos 195*56bb7041Schristos2019-12-12 Alan Modra <amodra@gmail.com> 196*56bb7041Schristos 197*56bb7041Schristos * config/tc-aarch64.c (get_aarch64_insn): Avoid signed overflow. 198*56bb7041Schristos * config/tc-metag.c (parse_dalu): Likewise. 199*56bb7041Schristos * config/tc-tic4x.c (md_pcrel_from): Likewise. 200*56bb7041Schristos * config/tc-tic6x.c (tic6x_output_unwinding): Likewise. 201*56bb7041Schristos * config/tc-csky.c (parse_fexp): Use an unsigned char temp buffer. 202*56bb7041Schristos Don't use register keyword. Avoid signed overflow and remove now 203*56bb7041Schristos unneccesary char masks. Formatting. 204*56bb7041Schristos * config/tc-ia64.c (operand_match): Don't use shifts to sign extend. 205*56bb7041Schristos * config/tc-mep.c (mep_apply_fix): Likewise. 206*56bb7041Schristos * config/tc-pru.c (md_apply_fix): Likewise. 207*56bb7041Schristos * config/tc-riscv.c (load_const): Likewise. 208*56bb7041Schristos * config/tc-nios2.c (md_apply_fix): Likewise. Don't potentially 209*56bb7041Schristos truncate fixup before right shift. Tidy BFD_RELOC_NIOS2_HIADJ16 210*56bb7041Schristos calculation. 211*56bb7041Schristos 212*56bb7041Schristos2019-12-12 Alan Modra <amodra@gmail.com> 213*56bb7041Schristos 214*56bb7041Schristos * config/obj-evax.c (crc32, encode_32, encode_16, decode_16): 215*56bb7041Schristos Remove unnecessary prototypes. 216*56bb7041Schristos (number_of_codings): Delete, use ARRAY_SIZE instead throughout. 217*56bb7041Schristos (codings, decodings): Make arrays of unsigned char. 218*56bb7041Schristos (crc32): Use unsigned variables. Delete unnecessary mask. 219*56bb7041Schristos (encode_32, encode_16): Return unsigned char*, and make static 220*56bb7041Schristos buffer an unsigned char array. 221*56bb7041Schristos (decode_16): Make arg an unsigned char*. Remove useless casts. 222*56bb7041Schristos (shorten_identifier): Use unsigned char crc_chars. 223*56bb7041Schristos (is_truncated_identifier): Make ptr an unsigned char*. 224*56bb7041Schristos 225*56bb7041Schristos2019-12-11 Wilco Dijkstra <wdijkstr@arm.com> 226*56bb7041Schristos 227*56bb7041Schristos * config/tc-arm.c (warn_on_restrict_it): Add new variable. 228*56bb7041Schristos (it_fsm_post_encode): Check warn_on_restrict_it. 229*56bb7041Schristos (arm_option_table): Add -mwarn-restrict-it/-mno-warn-restrict-it. 230*56bb7041Schristos * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: Add -mwarn-restrict-it. 231*56bb7041Schristos * testsuite/gas/arm/armv8-2-fp16-scalar-bad-ext.d: Likewise. 232*56bb7041Schristos * testsuite/gas/arm/armv8-a-bad.d: Likewise. 233*56bb7041Schristos * testsuite/gas/arm/armv8-a-it-bad.d: Likewise. 234*56bb7041Schristos * testsuite/gas/arm/armv8-r-bad.d: Likewise. 235*56bb7041Schristos * testsuite/gas/arm/armv8-r-it-bad.d: Likewise. 236*56bb7041Schristos * testsuite/gas/arm/sp-pc-validations-bad-t-v8a.d: Likewise. 237*56bb7041Schristos * testsuite/gas/arm/udf.d: Likewise. 238*56bb7041Schristos 239*56bb7041Schristos2018-12-11 Jan Beulich <jbeulich@suse.com> 240*56bb7041Schristos 241*56bb7041Schristos * config/tc-i386.c (md_assemble): Extend SSE check conditional. 242*56bb7041Schristos * testsuite/gas/i386/sse-check.s: Add SSE4a and SHA tests. 243*56bb7041Schristos Extend GFNI tests. 244*56bb7041Schristos * testsuite/gas/i386/sse-check.d: Adjust expectations. 245*56bb7041Schristos * testsuite/gas/i386/sse-check-error.l, 246*56bb7041Schristos testsuite/gas/i386/x86-64-sse-check-error.l: Likewise. 247*56bb7041Schristos * testsuite/gas/i386/sse-check-warn.e: Likewise. 248*56bb7041Schristos 249*56bb7041Schristos2019-12-10 Vladimir Murzin <vladimir.murzin@arm.com> 250*56bb7041Schristos 251*56bb7041Schristos * config/tc-arm.c (s_arm_arch): Set selected_ctx_ext_table. 252*56bb7041Schristos * testsuite/gas/arm/mve-arch-ext.s: New. 253*56bb7041Schristos * testsuite/gas/arm/mve-arch-ext.d: New. 254*56bb7041Schristos 255*56bb7041Schristos2019-12-09 Jan Beulich <jbeulich@suse.com> 256*56bb7041Schristos 257*56bb7041Schristos * config/tc-i386-intel.c (O_oword_ptr): Move. 258*56bb7041Schristos (O_xmmword_ptr): Alias to O_oword_ptr. 259*56bb7041Schristos (O_fword_ptr, O_tbyte_ptr, O_ymmword_ptr, O_zmmword_ptr): Adjust 260*56bb7041Schristos expansion. 261*56bb7041Schristos (i386_intel_simplify, i386_intel_operand): Fold O_oword_ptr and 262*56bb7041Schristos O_xmmword_ptr cases, leaving comments. 263*56bb7041Schristos 264*56bb7041Schristos2019-12-09 Jan Beulich <jbeulich@suse.com> 265*56bb7041Schristos 266*56bb7041Schristos * config/tc-i386-intel.c (O_mmword_ptr): Define. 267*56bb7041Schristos (i386_types): Add mmword entry. 268*56bb7041Schristos (i386_intel_simplify, i386_intel_operand): Add comment. 269*56bb7041Schristos * testsuite/gas/i386/intel-expr.s: Also test mmword and zmmword. 270*56bb7041Schristos * testsuite/gas/i386/intelok.s: Also test "mmword ptr". 271*56bb7041Schristos * testsuite/gas/i386/intel-expr.d, testsuite/gas/i386/intelok.d, 272*56bb7041Schristos testsuite/gas/i386/intelok.e: Adjust expectations. 273*56bb7041Schristos 274*56bb7041Schristos2019-12-09 Jan Beulich <jbeulich@suse.com> 275*56bb7041Schristos 276*56bb7041Schristos * config/tc-i386-intel.c (i386_intel_operand): Set "byte" 277*56bb7041Schristos attribute suffix instead of suffix for floating point insns when 278*56bb7041Schristos handling O_near_ptr / O_far_ptr. 279*56bb7041Schristos * testsuite/gas/i386/intelbad.s: Add FPU tests. 280*56bb7041Schristos * testsuite/gas/i386/intelbad.l: Adjust expectations. 281*56bb7041Schristos 282*56bb7041Schristos2019-12-09 Jan Beulich <jbeulich@suse.com> 283*56bb7041Schristos 284*56bb7041Schristos * config/tc-i386-intel.c (i386_intel_operand): Set "byte" 285*56bb7041Schristos attribute suffix instead of suffix uniformly for insns not 286*56bb7041Schristos possibly accepting "tbyte ptr" explicitly. 287*56bb7041Schristos 288*56bb7041Schristos2019-12-09 Jan Beulich <jbeulich@suse.com> 289*56bb7041Schristos 290*56bb7041Schristos * config/tc-i386-intel.c (i386_intel_operand): Don't set suffix 291*56bb7041Schristos for floating point insns when handling O_fword_ptr. 292*56bb7041Schristos 293*56bb7041Schristos2019-12-09 Jan Beulich <jbeulich@suse.com> 294*56bb7041Schristos 295*56bb7041Schristos * config/tc-i386-intel.c (i386_intel_operand): Don't special 296*56bb7041Schristos case LDS et al when handling O_word_ptr. 297*56bb7041Schristos 298*56bb7041Schristos2019-12-08 Alan Modra <amodra@gmail.com> 299*56bb7041Schristos 300*56bb7041Schristos * testsuite/gas/aarch64/bfloat16.d: Match 32-bit and 64-bit output. 301*56bb7041Schristos * testsuite/gas/aarch64/dgh.d: Likewise. 302*56bb7041Schristos * testsuite/gas/aarch64/f32mm.d: Likewise. 303*56bb7041Schristos * testsuite/gas/aarch64/f64mm.d: Likewise. 304*56bb7041Schristos * testsuite/gas/aarch64/i8mm.d: Likewise. 305*56bb7041Schristos * testsuite/gas/aarch64/pac_ab_key.d: Likewise. 306*56bb7041Schristos * testsuite/gas/aarch64/pac_negate_ra_state.d: Likewise. 307*56bb7041Schristos * testsuite/gas/aarch64/reloc-prel_g0.d: Likewise. 308*56bb7041Schristos * testsuite/gas/aarch64/reloc-prel_g0_nc.d: Likewise. 309*56bb7041Schristos * testsuite/gas/aarch64/reloc-prel_g1.d: Likewise. 310*56bb7041Schristos * testsuite/gas/aarch64/sve-bfloat-movprfx.d: Likewise. 311*56bb7041Schristos * testsuite/gas/aarch64/sve-movprfx-mm.d: Likewise. 312*56bb7041Schristos * testsuite/gas/aarch64/sve2.d: Likewise. 313*56bb7041Schristos 314*56bb7041Schristos2019-12-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com> 315*56bb7041Schristos 316*56bb7041Schristos * dw2gencfi.c (cfi_pseudo_table): Add cfi_negate_ra_state. 317*56bb7041Schristos * testsuite/gas/aarch64/pac_negate_ra_state.s: New file. 318*56bb7041Schristos * testsuite/gas/aarch64/pac_negate_ra_state.d: Likewise. 319*56bb7041Schristos 320*56bb7041Schristos2019-12-05 Jan Beulich <jbeulich@suse.com> 321*56bb7041Schristos 322*56bb7041Schristos * config/tc-aarch64.c (aarch64_features): Drop redundant AES and 323*56bb7041Schristos SHA2 flags from "crypto" entry. 324*56bb7041Schristos 325*56bb7041Schristos2019-12-05 Jan Beulich <jbeulich@suse.com> 326*56bb7041Schristos 327*56bb7041Schristos * config/tc-aarch64.c (aarch64_features): Make SHA2 a prereq of 328*56bb7041Schristos SHA3. 329*56bb7041Schristos * testsuite/gas/aarch64/crypto.s 330*56bb7041Schristos * testsuite/gas/aarch64/crypto-directive.d: Refer to crypto.d 331*56bb7041Schristos for actual output. 332*56bb7041Schristos * testsuite/gas/aarch64/illegal-crypto-nofp.l: Relax 333*56bb7041Schristos expectations. 334*56bb7041Schristos * testsuite/gas/aarch64/crypto-directive2.d, 335*56bb7041Schristos testsuite/gas/aarch64/crypto-directive3.d: New. 336*56bb7041Schristos 337*56bb7041Schristos2019-12-04 Jan Beulich <jbeulich@suse.com> 338*56bb7041Schristos 339*56bb7041Schristos * config/tc-i386-intel.c (i386_intel_operand): Handle LFS et al 340*56bb7041Schristos as well as LGDT at al when processing O_tbyte_ptr. 341*56bb7041Schristos * testsuite/gas/i386/intelbad.s: Add LDS et al cases. 342*56bb7041Schristos * testsuite/gas/i386/x86-64-intel64.s, 343*56bb7041Schristos * testsuite/gas/i386/x86-64-opcode.s: Add LFS et al cases. 344*56bb7041Schristos * testsuite/gas/i386/ilp32/x86-64-intel64.d: Add -mintel64 345*56bb7041Schristos command line option and fold expectations with parent dir test. 346*56bb7041Schristos * testsuite/gas/i386/x86-64-intel64.d: Add -mintel64 command 347*56bb7041Schristos line option and adjust expectations. 348*56bb7041Schristos * testsuite/gas/i386/intelbad.l, 349*56bb7041Schristos testsuite/gas/i386/x86-64-opcode.d: Adjust expectations. 350*56bb7041Schristos 351*56bb7041Schristos2019-12-04 Jan Beulich <jbeulich@suse.com> 352*56bb7041Schristos 353*56bb7041Schristos * config/tc-i386-intel.c (i386_intel_operand): Also handle DWORD 354*56bb7041Schristos with 64-bit mode branches. 355*56bb7041Schristos * testsuite/gas/i386/x86-64-jump.s: Extend Intel syntax branch 356*56bb7041Schristos operand coverage. 357*56bb7041Schristos * testsuite/gas/i386/x86-64-jump.d: Adjust expectations. 358*56bb7041Schristos 359*56bb7041Schristos2019-12-04 Jan Beulich <jbeulich@suse.com> 360*56bb7041Schristos 361*56bb7041Schristos * config/tc-i386.c (output_insn): Don't consider Cpu* settings 362*56bb7041Schristos when setting GNU_PROPERTY_X86_FEATURE_2_MMX. 363*56bb7041Schristos 364*56bb7041Schristos2019-12-04 Jan Beulich <jbeulich@suse.com> 365*56bb7041Schristos 366*56bb7041Schristos * testsuite/gas/i386/movdir.s: Add Intel syntax case with 367*56bb7041Schristos operand size specifier. 368*56bb7041Schristos * testsuite/gas/i386/x86-64-movdir.s: Add Intel syntax cases 369*56bb7041Schristos with operand size specifier and wit 32-bit operands. 370*56bb7041Schristos * testsuite/gas/i386/movdir-intel.d, 371*56bb7041Schristos testsuite/gas/i386/movdir.d, 372*56bb7041Schristos testsuite/gas/i386/x86-64-movdir-intel.d, 373*56bb7041Schristos testsuite/gas/i386/x86-64-movdir.d: Adjust expectations. 374*56bb7041Schristos 375*56bb7041Schristos2019-12-04 Jan Beulich <jbeulich@suse.com> 376*56bb7041Schristos 377*56bb7041Schristos * config/tc-i386.c (process_suffix): Arrange for insns with a 378*56bb7041Schristos single non-GPR register operand to not have its suffix guessed 379*56bb7041Schristos from GPR operands. Extend DefaultSize handling to cover PUSH/POP 380*56bb7041Schristos of segment registers. 381*56bb7041Schristos * testsuite/gas/i386/general.s: Add PUSH/POP sreg to .code16gcc 382*56bb7041Schristos set of insns. 383*56bb7041Schristos * testsuite/gas/i386/general.l: Adjust expectations. 384*56bb7041Schristos 385*56bb7041Schristos2019-12-04 Jan Beulich <jbeulich@suse.com> 386*56bb7041Schristos 387*56bb7041Schristos * config/tc-i386.c (process_suffix): Exclude SYSRET alongside 388*56bb7041Schristos FLDENV et al. 389*56bb7041Schristos * testsuite/gas/i386/general.s: Expand .code16gcc set of insns. 390*56bb7041Schristos * testsuite/gas/i386/general.l: Adjust expectations. 391*56bb7041Schristos 392*56bb7041Schristos2019-11-22 Andrew Burgess <andrew.burgess@embecosm.com> 393*56bb7041Schristos 394*56bb7041Schristos * as.c (flag_dwarf_cie_version): Change initial value to -1, and 395*56bb7041Schristos update comment. 396*56bb7041Schristos * config/tc-riscv.c (riscv_after_parse_args): Set 397*56bb7041Schristos flag_dwarf_cie_version if it has not already been set. 398*56bb7041Schristos * dwarf2dbg.c (dwarf2_init): Initialise flag_dwarf_cie_version if 399*56bb7041Schristos needed. 400*56bb7041Schristos * testsuite/gas/riscv/default-cie-version.d: New file. 401*56bb7041Schristos * testsuite/gas/riscv/default-cie-version.s: New file. 402*56bb7041Schristos 403*56bb7041Schristos2019-11-22 Andrew Burgess <andrew.burgess@embecosm.com> 404*56bb7041Schristos 405*56bb7041Schristos * dw2gencfi.c (output_cie): Error on return column overflow. 406*56bb7041Schristos * testsuite/gas/riscv/cie-rtn-col-1.d: New file. 407*56bb7041Schristos * testsuite/gas/riscv/cie-rtn-col-3.d: New file. 408*56bb7041Schristos * testsuite/gas/riscv/cie-rtn-col.s: New file. 409*56bb7041Schristos 410*56bb7041Schristos2019-11-22 Andrew Burgess <andrew.burgess@embecosm.com> 411*56bb7041Schristos 412*56bb7041Schristos * config/tc-riscv.c (tc_riscv_regname_to_dw2regnum): Lookup CSR 413*56bb7041Schristos names too. 414*56bb7041Schristos * testsuite/gas/riscv/csr-dw-regnums.d: New file. 415*56bb7041Schristos * testsuite/gas/riscv/csr-dw-regnums.s: New file. 416*56bb7041Schristos 417*56bb7041Schristos2019-11-22 Andrew Burgess <andrew.burgess@embecosm.com> 418*56bb7041Schristos 419*56bb7041Schristos * config/tc-riscv.c (struct regname): Delete. 420*56bb7041Schristos (hash_reg_names): Handle value as 'void *'. 421*56bb7041Schristos 422*56bb7041Schristos2019-11-25 Andrew Pinski <apinski@marvell.com> 423*56bb7041Schristos 424*56bb7041Schristos * config/tc-aarch64.c (md_begin): Use correct 425*56bb7041Schristos hash table for uppercase version of hint. 426*56bb7041Schristos * testsuite/gas/aarch64/system-2.s: Extend psb case to uppercase. 427*56bb7041Schristos * testsuite/gas/aarch64/system-2.d: Update. 428*56bb7041Schristos 429*56bb7041Schristos2019-11-25 Christian Eggers <ceggers@gmx.de> 430*56bb7041Schristos 431*56bb7041Schristos * as.h: Define SEC_OCTETS as SEC_ELF_OCTETS if OBJ_ELF. 432*56bb7041Schristos * dwarf2dbg.c: (dwarf2_finish): Set section flag SEC_OCTETS for 433*56bb7041Schristos .debug_line, .debug_info, .debug_abbrev, .debug_aranges, .debug_str 434*56bb7041Schristos and .debug_ranges sections. 435*56bb7041Schristos * write.c (maybe_generate_build_notes): Set section flag 436*56bb7041Schristos SEC_OCTETS for .gnu.build.attributes section. 437*56bb7041Schristos * frags.c (frag_now_fix): Don't divide by OCTETS_PER_BYTE if 438*56bb7041Schristos SEC_OCTETS is set. 439*56bb7041Schristos * symbols.c (resolve_symbol_value): Likewise. 440*56bb7041Schristos 441*56bb7041Schristos2019-11-25 Christian Eggers <ceggers@gmx.de> 442*56bb7041Schristos 443*56bb7041Schristos * dwarf2dbg.c (out_set_addr): Revert 2019-03-13 change. 444*56bb7041Schristos (out_debug_line, out_debug_aranges, out_debug_info): Likewise. 445*56bb7041Schristos * symbols.h (symbol_set_value_now_octets, symbol_octets_p): Remove. 446*56bb7041Schristos * symbols.c (struct symbol_flags): Remove member sy_octets. 447*56bb7041Schristos (symbol_temp_new_now_octets): Don't set symbol_flags::sy_octets. 448*56bb7041Schristos (resolve_symbol_value): Revert: Return octets instead of bytes if 449*56bb7041Schristos sy_octets is set. 450*56bb7041Schristos (symbol_set_value_now_octets): Remove. 451*56bb7041Schristos (symbol_octets_p): Remove. 452*56bb7041Schristos 453*56bb7041Schristos2019-11-22 Mihail Ionescu <mihail.ionescu@arm.com> 454*56bb7041Schristos 455*56bb7041Schristos * config/tc-arm.c (arm_ext_crc): New. 456*56bb7041Schristos (crc_ext_armv8): Remove. 457*56bb7041Schristos (insns): Rename crc_ext_armv8 to arm_ext_crc. 458*56bb7041Schristos (arm_cpus): Replace CRC_EXT_ARMV8 with ARM_EXT2_CRC. 459*56bb7041Schristos (armv8a_ext_table, armv8r_ext_table, 460*56bb7041Schristos arm_option_extension_value_table): Redefine the crc 461*56bb7041Schristos extension in terms of ARM_EXT2_CRC. 462*56bb7041Schristos * gas/testsuite/gas/arm/crc-ext.s: New. 463*56bb7041Schristos * gas/testsuite/gas/arm/crc-ext.d: New. 464*56bb7041Schristos 465*56bb7041Schristos2019-11-20 Alan Modra <amodra@gmail.com> 466*56bb7041Schristos 467*56bb7041Schristos PR 24944 468*56bb7041Schristos * atof-generic.c (atof_generic): Increase decimal guard digits. 469*56bb7041Schristos * testsuite/gas/i386/fp.s: Add more tests. 470*56bb7041Schristos * testsuite/gas/i386/fp.d: Update. 471*56bb7041Schristos 472*56bb7041Schristos2019-11-18 Andrew Burgess <andrew.burgess@embecosm.com> 473*56bb7041Schristos 474*56bb7041Schristos * as.c (parse_args): Parse --gdwarf-cie-version option. 475*56bb7041Schristos (flag_dwarf_cie_version): New variable. 476*56bb7041Schristos * as.h (flag_dwarf_cie_version): Declare. 477*56bb7041Schristos * dw2gencfi.c (output_cie): Switch from DW_CIE_VERSION to 478*56bb7041Schristos flag_dwarf_cie_version. 479*56bb7041Schristos * doc/as.texi (Overview): Document --gdwarf-cie-version. 480*56bb7041Schristos * NEWS: Likewise. 481*56bb7041Schristos * testsuite/gas/cfi/cfi.exp: Add new tests. 482*56bb7041Schristos * testsuite/gas/cfi/cie-version-0.d: New file. 483*56bb7041Schristos * testsuite/gas/cfi/cie-version-1.d: New file. 484*56bb7041Schristos * testsuite/gas/cfi/cie-version-2.d: New file. 485*56bb7041Schristos * testsuite/gas/cfi/cie-version-3.d: New file. 486*56bb7041Schristos * testsuite/gas/cfi/cie-version-4.d: New file. 487*56bb7041Schristos * testsuite/gas/cfi/cie-version.s: New file. 488*56bb7041Schristos 489*56bb7041Schristos2019-11-14 Jan Beulich <jbeulich@suse.com> 490*56bb7041Schristos 491*56bb7041Schristos * config/tc-i386.c (operand_size_match, md_assemble, 492*56bb7041Schristos parse_insn, match_template, process_suffix, output_jump, 493*56bb7041Schristos output_insn, i386_displacement): Adjust jump* field use/ 494*56bb7041Schristos handling. 495*56bb7041Schristos * config/tc-i386-intel.c (i386_intel_operand): Likewise. 496*56bb7041Schristos 497*56bb7041Schristos2019-11-14 Jan Beulich <jbeulich@suse.com> 498*56bb7041Schristos 499*56bb7041Schristos * config/tc-i386.c (struct _i386_insn): Add jumpabsolute field. 500*56bb7041Schristos (operand_type_match): Drop jumpabsolute use. 501*56bb7041Schristos (type_names): Remove OPERAND_TYPE_JUMPABSOLUTE entry. 502*56bb7041Schristos (process_suffix, i386_displacement): Adjust jumpabsolute uses. 503*56bb7041Schristos (match_template, i386_att_operand): Adjust jumpabsolute 504*56bb7041Schristos handling. 505*56bb7041Schristos * config/tc-i386-intel.c (i386_intel_operand): Likewise. 506*56bb7041Schristos 507*56bb7041Schristos2019-11-14 Jan Beulich <jbeulich@suse.com> 508*56bb7041Schristos 509*56bb7041Schristos * config/tc-i386.c (operand_size_match): Adjust anysize use. 510*56bb7041Schristos 511*56bb7041Schristos2019-11-14 Jan Beulich <jbeulich@suse.com> 512*56bb7041Schristos 513*56bb7041Schristos * testsuite/gas/i386/intel-cmps32.d, 514*56bb7041Schristos testsuite/gas/i386/intel-cmps64.d: Correct regexp closing 515*56bb7041Schristos parentheses placement. 516*56bb7041Schristos 517*56bb7041Schristos2019-11-14 Jan Beulich <jbeulich@suse.com> 518*56bb7041Schristos 519*56bb7041Schristos * testsuite/gas/i386/intel-cmps.s, 520*56bb7041Schristos testsuite/gas/i386/intel-movs.s: Extend. 521*56bb7041Schristos * testsuite/gas/i386/intel-cmps32.d, 522*56bb7041Schristos testsuite/gas/i386/intel-cmps64.d, 523*56bb7041Schristos testsuite/gas/i386/intel-movs32.d, 524*56bb7041Schristos testsuite/gas/i386/intel-movs64.d: Adjust expectations. 525*56bb7041Schristos * testsuite/gas/i386/intel-cmps16.d, 526*56bb7041Schristos testsuite/gas/i386/intel-movs16.d: New. 527*56bb7041Schristos * testsuite/gas/i386/i386.exp: Run new tests. 528*56bb7041Schristos 529*56bb7041Schristos2019-11-12 Nelson Chu <nelson.chu@sifive.com> 530*56bb7041Schristos 531*56bb7041Schristos * testsuite/gas/riscv/insn.d: Add the f extension to -march option. 532*56bb7041Schristos 533*56bb7041Schristos2019-11-12 Mihail Ionescu <mihail.ionescu@arm.com> 534*56bb7041Schristos 535*56bb7041Schristos * config/tc-arm.c (do_vfp_nsyn_push): Move in order to enable it for 536*56bb7041Schristos both fpu_vfp_ext_v1xd and mve_ext and add call to the aliased vstm 537*56bb7041Schristos instruction for mve_ext. 538*56bb7041Schristos (do_vfp_nsyn_pop): Move in order to enable it for both 539*56bb7041Schristos fpu_vfp_ext_v1xd and mve_ext and add call to the aliased vldm 540*56bb7041Schristos instruction for mve_ext. 541*56bb7041Schristos (do_neon_ldm_stm): Add fpu_vfp_ext_v1 and mve_ext checks. 542*56bb7041Schristos (insns): Enable vldm, vldmia, vldmdb, vstm, vstmia, vstmdb, vpop, 543*56bb7041Schristos vpush, and fldd, fstd, flds, fsts for arm_ext_v6t2 instead 544*56bb7041Schristos of fpu_vfp_ext_v1xd. 545*56bb7041Schristos * testsuite/gas/arm/v8_1m-mve.s: New. 546*56bb7041Schristos * testsuite/gas/arm/v8_1m-mve.d: New. 547*56bb7041Schristos 548*56bb7041Schristos2019-11-12 Mihail Ionescu <mihail.ionescu@arm.com> 549*56bb7041Schristos 550*56bb7041Schristos * gas/config/tc-arm.c (do_neon_mvn): Allow mve_ext cmode=0xd. 551*56bb7041Schristos * testsuite/gas/arm/mve-vmov-vmvn-vorr-vbic.s: New test. 552*56bb7041Schristos * testsuite/gas/arm/mve-vmov-vmvn-vorr-vbic.d: Likewise. 553*56bb7041Schristos 554*56bb7041Schristos2019-11-12 Mihail Ionescu <mihail.ionescu@arm.com> 555*56bb7041Schristos 556*56bb7041Schristos * config/tc-arm.c (s_arm_fpu): Clear selected_cpu fpu bits. 557*56bb7041Schristos (fpu_any): Remove OBJ_ELF guards. 558*56bb7041Schristos * testsuite/gas/arm/fpu-rst.s: New. 559*56bb7041Schristos * testsuite/gas/arm/fpu-rst.d: New. 560*56bb7041Schristos * testsuite/gas/arm/fpu-rst.l: New. 561*56bb7041Schristos 562*56bb7041Schristos2019-11-12 Jan Beulich <jbeulich@suse.com> 563*56bb7041Schristos 564*56bb7041Schristos * config/tc-i386.c (type_names): Remove OPERAND_TYPE_ESSEG 565*56bb7041Schristos entry. 566*56bb7041Schristos (md_assemble): Adjust isstring field use. Add assertion. 567*56bb7041Schristos (check_string): Mostly re-write. 568*56bb7041Schristos (i386_index_check): Adjust isstring field use and related code. 569*56bb7041Schristos 570*56bb7041Schristos2019-11-12 Jan Beulich <jbeulich@suse.com> 571*56bb7041Schristos 572*56bb7041Schristos * config/tc-i386.c (process_immext): Remove SSE3, SVME, and 573*56bb7041Schristos MWAITX special case logic. 574*56bb7041Schristos (process_suffix): Replace immext field uses by instance ones. 575*56bb7041Schristos * testsuite/gas/i386/arch-13.s, 576*56bb7041Schristos testsuite/gas/i386/x86-64-arch-3.s: Add CLZERO with operand 577*56bb7041Schristos cases. 578*56bb7041Schristos * testsuite/gas/i386/svme.s: Add 16-bit operand cases. 579*56bb7041Schristos * testsuite/gas/i386/x86-64-specific-reg.s: Drop FIXME comments. 580*56bb7041Schristos * testsuite/gas/i386/arch-13.d, 581*56bb7041Schristos testsuite/gas/i386/mwaitx-reg.l, testsuite/gas/i386/svme.d, 582*56bb7041Schristos testsuite/gas/i386/x86-64-arch-3.d, 583*56bb7041Schristos testsuite/gas/i386/x86-64-mwaitx-reg.l, 584*56bb7041Schristos testsuite/gas/i386/x86-64-specific-reg.l: Adjust expectations. 585*56bb7041Schristos 586*56bb7041Schristos2019-11-12 Jan Beulich <jbeulich@suse.com> 587*56bb7041Schristos 588*56bb7041Schristos * config/tc-i386.c (operand_type_set, operand_type_and, 589*56bb7041Schristos operand_type_and_not, operand_type_or, operand_type_xor): Handle 590*56bb7041Schristos "instance" field specially. 591*56bb7041Schristos (operand_size_match, md_assemble, match_template, process_suffix, 592*56bb7041Schristos check_byte_reg, check_long_reg, check_qword_reg, check_word_reg, 593*56bb7041Schristos process_operands, build_modrm_byte): Use "instance" instead of 594*56bb7041Schristos "acc" / "inoutportreg" / "shiftcount" fields. 595*56bb7041Schristos (optimize_imm): Adjust comment. 596*56bb7041Schristos 597*56bb7041Schristos2019-11-11 Jan Beulich <jbeulich@suse.com> 598*56bb7041Schristos 599*56bb7041Schristos * testsuite/gas/aarch64/illegal-sve2.s: Add smaxp/sminp cases 600*56bb7041Schristos with mismatched 1st and 3rd operands. 601*56bb7041Schristos * testsuite/gas/aarch64/illegal-sve2.l: Adjust expectations. 602*56bb7041Schristos 603*56bb7041Schristos2019-11-08 H.J. Lu <hongjiu.lu@intel.com> 604*56bb7041Schristos 605*56bb7041Schristos PR gas/25167 606*56bb7041Schristos * config/tc-i386.c (match_template): Don't check instruction 607*56bb7041Schristos suffix set from operand. 608*56bb7041Schristos * testsuite/gas/i386/code16.d: New file. 609*56bb7041Schristos * testsuite/gas/i386/code16.s: Likewise. 610*56bb7041Schristos * testsuite/gas/i386/i386.exp: Run code16. 611*56bb7041Schristos 612*56bb7041Schristos2019-11-08 Jan Beulich <jbeulich@suse.com> 613*56bb7041Schristos 614*56bb7041Schristos * config/tc-i386.c (optimize_encoding, build_modrm_byte, 615*56bb7041Schristos check_VecOperations, parse_real_register): Use "class" instead 616*56bb7041Schristos of "regmask" and "regbnd" fields. 617*56bb7041Schristos 618*56bb7041Schristos2019-11-08 Jan Beulich <jbeulich@suse.com> 619*56bb7041Schristos 620*56bb7041Schristos * config/tc-i386.c (match_mem_size, operand_size_match, 621*56bb7041Schristos operand_type_register_match, pi, check_VecOperands, match_template, 622*56bb7041Schristos check_byte_reg, check_long_reg, check_qword_reg, process_operands, 623*56bb7041Schristos build_modrm_byte, parse_real_register): Use "class" instead of 624*56bb7041Schristos "regsimd" / "regmmx" fields. 625*56bb7041Schristos 626*56bb7041Schristos2019-11-08 Jan Beulich <jbeulich@suse.com> 627*56bb7041Schristos 628*56bb7041Schristos * config/tc-i386.c (pi, check_byte_reg, build_modrm_byte, 629*56bb7041Schristos parse_real_register): Use "class" instead of "control"/"debug"/ 630*56bb7041Schristos "test" fields. 631*56bb7041Schristos 632*56bb7041Schristos2019-11-08 Jan Beulich <jbeulich@suse.com> 633*56bb7041Schristos 634*56bb7041Schristos * config/tc-i386.c (pi, check_byte_reg, process_operands, 635*56bb7041Schristos build_modrm_byte, i386_att_operand, parse_real_register): Use 636*56bb7041Schristos "class" instead of "sreg" field. 637*56bb7041Schristos * config/tc-i386-intel.c (i386_intel_simplify_register, 638*56bb7041Schristos i386_intel_operand): Likewise. 639*56bb7041Schristos 640*56bb7041Schristos2019-11-08 Jan Beulich <jbeulich@suse.com> 641*56bb7041Schristos 642*56bb7041Schristos * config/tc-i386.c (operand_type_set, operand_type_and, 643*56bb7041Schristos operand_type_and_not, operand_type_or, operand_type_xor): Handle 644*56bb7041Schristos "class" field specially. 645*56bb7041Schristos (anyimm): New. 646*56bb7041Schristos (operand_type_check, operand_size_match, 647*56bb7041Schristos operand_type_register_match, pi, md_assemble, is_short_form, 648*56bb7041Schristos process_suffix, check_byte_reg, check_long_reg, check_qword_reg, 649*56bb7041Schristos check_word_reg, process_operands, build_modrm_byte): Use "class" 650*56bb7041Schristos instead of "reg" field. 651*56bb7041Schristos (optimize_imm): Likewise. Reduce redundancy. Adjust calculation 652*56bb7041Schristos of "allowed". 653*56bb7041Schristos 654*56bb7041Schristos2019-11-07 Mihail Ionescu <mihail.ionescu@arm.com> 655*56bb7041Schristos 656*56bb7041Schristos * testsuite/gas/aarch64/dgh.s: New test. 657*56bb7041Schristos * testsuite/gas/aarch64/dgh.d: New test. 658*56bb7041Schristos 659*56bb7041Schristos2019-11-07 Mihail Ionescu <mihail.ionescu@arm.com> 660*56bb7041Schristos 661*56bb7041Schristos * config/tc-arm.c (arm_ext_i8mm): New feature set. 662*56bb7041Schristos (do_vusdot): New. 663*56bb7041Schristos (do_vsudot): New. 664*56bb7041Schristos (do_vsmmla): New. 665*56bb7041Schristos (do_vummla): New. 666*56bb7041Schristos (insns): Add vsmmla, vummla, vusmmla, vusdot, vsudot mnemonics. 667*56bb7041Schristos (armv86a_ext_table): Add i8mm extension. 668*56bb7041Schristos (arm_extensions): Move bf16 extension to context sensitive table. 669*56bb7041Schristos (armv82a_ext_table, armv84a_ext_table, armv85a_ext_table): 670*56bb7041Schristos Move bf16 extension to context sensitive table. 671*56bb7041Schristos (armv86a_ext_table): Add i8mm extension. 672*56bb7041Schristos * doc/c-arm.texi: Document i8mm extension. 673*56bb7041Schristos * testsuite/gas/arm/i8mm.s: New test. 674*56bb7041Schristos * testsuite/gas/arm/i8mm.d: New test. 675*56bb7041Schristos * testsuite/gas/arm/bfloat17-cmdline-bad-3.d: Update test. 676*56bb7041Schristos 677*56bb7041Schristos2019-11-07 Mihail Ionescu <mihail.ionescu@arm.com> 678*56bb7041Schristos 679*56bb7041Schristos * config/tc-aarch64.c: Add new arch fetures to suppport the mm extension. 680*56bb7041Schristos (parse_operands): Add new operand. 681*56bb7041Schristos * testsuite/gas/aarch64/i8mm.s: New test. 682*56bb7041Schristos * testsuite/gas/aarch64/i8mm.d: New test. 683*56bb7041Schristos * testsuite/gas/aarch64/f32mm.s: New test. 684*56bb7041Schristos * testsuite/gas/aarch64/f32mm.d: New test. 685*56bb7041Schristos * testsuite/gas/aarch64/f64mm.s: New test. 686*56bb7041Schristos * testsuite/gas/aarch64/f64mm.d: New test. 687*56bb7041Schristos * testsuite/gas/aarch64/sve-movprfx-mm.s: New test. 688*56bb7041Schristos * testsuite/gas/aarch64/sve-movprfx-mm.d: New test. 689*56bb7041Schristos 690*56bb7041Schristos2019-11-07 Mihail Ionescu <mihail.ionescu@arm.com> 691*56bb7041Schristos2019-11-07 Barnaby Wilks <barnaby.wilks@arm.com> 692*56bb7041Schristos 693*56bb7041Schristos * config/tc-aarch64.c (md_atof): Add encoding for the bfloat16 format. 694*56bb7041Schristos * testsuite/gas/aarch64/bfloat16-directive-le.d: New test. 695*56bb7041Schristos * testsuite/gas/aarch64/bfloat16-directive-be.d: New test. 696*56bb7041Schristos * testsuite/gas/aarch64/bfloat16-directive.s: New test. 697*56bb7041Schristos 698*56bb7041Schristos2019-11-07 Mihail Ionescu <mihail.ionescu@arm.com> 699*56bb7041Schristos2019-11-07 Barnaby Wilks <barnaby.wilks@arm.com> 700*56bb7041Schristos 701*56bb7041Schristos * config/tc-arm.c (md_atof): Add encoding for bfloat16 702*56bb7041Schristos * testsuite/gas/arm/bfloat16-directive-le.d: New test. 703*56bb7041Schristos * testsuite/gas/arm/bfloat16-directive-be.d: New test. 704*56bb7041Schristos * testsuite/gas/arm/bfloat16-directive.s: New test. 705*56bb7041Schristos 706*56bb7041Schristos2019-11-07 Mihail Ionescu <mihail.ionescu@arm.com> 707*56bb7041Schristos2019-11-07 Barnaby Wilks <barnaby.wilks@arm.com> 708*56bb7041Schristos 709*56bb7041Schristos * as.h (atof_ieee_detail): Add prototype for atof_ieee_detail function. 710*56bb7041Schristos (atof_ieee): Move some code into the atof_ieee_detail function. 711*56bb7041Schristos (atof_ieee_detail): Add function that provides a higher level of 712*56bb7041Schristos control over generating IEEE-like numbers. 713*56bb7041Schristos 714*56bb7041Schristos2019-11-07 Mihail Ionescu <mihail.ionescu@arm.com> 715*56bb7041Schristos2019-11-07 Matthew Malcomson <matthew.malcomson@arm.com> 716*56bb7041Schristos 717*56bb7041Schristos * config/tc-arm.c (arm_archs): Add armv8.6-a option. 718*56bb7041Schristos (cpu_arch_ver): Add TAG_CPU_ARCH_V8 tag for Armv8.6-a. 719*56bb7041Schristos * doc/c-arm.texi (-march): New armv8.6-a arch. 720*56bb7041Schristos * config/tc-arm.c (arm_ext_bf16): New feature set. 721*56bb7041Schristos (enum neon_el_type): Add NT_bfloat value. 722*56bb7041Schristos (B_MNEM_vfmat, B_MNEM_vfmab): New bfloat16 encoder 723*56bb7041Schristos helpers. 724*56bb7041Schristos (BAD_BF16): New message. 725*56bb7041Schristos (parse_neon_type): Add bf16 type specifier. 726*56bb7041Schristos (enum neon_type_mask): Add N_BF16 type. 727*56bb7041Schristos (type_chk_of_el_type): Account for NT_bfloat. 728*56bb7041Schristos (el_type_of_type_chk): Account for N_BF16. 729*56bb7041Schristos (neon_three_args): Split out from neon_three_same. 730*56bb7041Schristos (neon_three_same): Part split out into neon_three_args. 731*56bb7041Schristos (CVT_FLAVOUR_VAR): Add bf16_f32 cvt flavour. 732*56bb7041Schristos (do_neon_cvt_1): Account for vcvt.bf16.f32. 733*56bb7041Schristos (do_bfloat_vmla): New. 734*56bb7041Schristos (do_mve_vfma): New function to deal with the mnemonic clash between the BF16 735*56bb7041Schristos vfmat and the MVE vfma in a VPT block with a 't'rue condition. 736*56bb7041Schristos (do_neon_cvttb_1): Account for vcvt{t,b}.bf16.f32. 737*56bb7041Schristos (do_vdot): New 738*56bb7041Schristos (do_vmmla): New 739*56bb7041Schristos (insns): Add vdot and vmmla mnemonics. 740*56bb7041Schristos (arm_extensions): Add "bf16" extension. 741*56bb7041Schristos * doc/c-arm.texi: Document "bf16" extension. 742*56bb7041Schristos * testsuite/gas/arm/attr-march-armv8_6-a.d: New test. 743*56bb7041Schristos * testsuite/gas/arm/bfloat16-bad.d: New test. 744*56bb7041Schristos * testsuite/gas/arm/bfloat16-bad.l: New test. 745*56bb7041Schristos * testsuite/gas/arm/bfloat16-bad.s: New test. 746*56bb7041Schristos * testsuite/gas/arm/bfloat16-cmdline-bad-2.d: New test. 747*56bb7041Schristos * testsuite/gas/arm/bfloat16-cmdline-bad-3.d: New test. 748*56bb7041Schristos * testsuite/gas/arm/bfloat16-cmdline-bad.d: New test. 749*56bb7041Schristos * testsuite/gas/arm/bfloat16-neon.s: New test. 750*56bb7041Schristos * testsuite/gas/arm/bfloat16-non-neon.s: New test. 751*56bb7041Schristos * testsuite/gas/arm/bfloat16-thumb-bad.d: New test. 752*56bb7041Schristos * testsuite/gas/arm/bfloat16-thumb-bad.l: New test. 753*56bb7041Schristos * testsuite/gas/arm/bfloat16-thumb.d: New test. 754*56bb7041Schristos * testsuite/gas/arm/bfloat16-vfp.d: New test. 755*56bb7041Schristos * testsuite/gas/arm/bfloat16.d: New test. 756*56bb7041Schristos * testsuite/gas/arm/bfloat16.s: New test. 757*56bb7041Schristos 758*56bb7041Schristos2019-11-07 Mihail Ionescu <mihail.ionescu@arm.com> 759*56bb7041Schristos2019-11-07 Matthew Malcomson <matthew.malcomson@arm.com> 760*56bb7041Schristos 761*56bb7041Schristos * config/tc-aarch64.c (vectype_to_qualifier): Special case the 762*56bb7041Schristos S_2H operand qualifier. 763*56bb7041Schristos * doc/c-aarch64.texi: Document bf16 extension. 764*56bb7041Schristos * testsuite/gas/aarch64/bfloat16.d: New test. 765*56bb7041Schristos * testsuite/gas/aarch64/bfloat16.s: New test. 766*56bb7041Schristos * testsuite/gas/aarch64/illegal-bfloat16.d: New test. 767*56bb7041Schristos * testsuite/gas/aarch64/illegal-bfloat16.l: New test. 768*56bb7041Schristos * testsuite/gas/aarch64/illegal-bfloat16.s: New test. 769*56bb7041Schristos * testsuite/gas/aarch64/sve-bfloat-movprfx.s: New test. 770*56bb7041Schristos * testsuite/gas/aarch64/sve-bfloat-movprfx.d: New test. 771*56bb7041Schristos 772*56bb7041Schristos2019-11-07 Mihail Ionescu <mihail.ionescu@arm.com> 773*56bb7041Schristos2019-11-07 Matthew Malcomson <matthew.malcomson@arm.com> 774*56bb7041Schristos 775*56bb7041Schristos * config/tc-aarch64.c (armv8.6-a): New arch. 776*56bb7041Schristos * doc/c-aarch64.texi (armv8.6-a): Document new arch. 777*56bb7041Schristos 778*56bb7041Schristos2019-11-07 Jan Beulich <jbeulich@suse.com> 779*56bb7041Schristos 780*56bb7041Schristos * config/tc-i386.c (cpu_arch): Add .rdpru and .mcommit entries. 781*56bb7041Schristos * doc/c-i386.texi: Mention rdpru and mcommit. 782*56bb7041Schristos * testsuite/gas/i386/arch-13.s, 783*56bb7041Schristos testsuite/gas/i386/x86-64-arch-3.s: Add mcommit and rdpru cases. 784*56bb7041Schristos * testsuite/gas/i386/arch-13.d, 785*56bb7041Schristos testsuite/gas/i386/x86-64-arch-3.d: Extend -march=. Adjust 786*56bb7041Schristos expectations. 787*56bb7041Schristos * testsuite/gas/i386/arch-13-znver1.d: Extend -march=. Redirect 788*56bb7041Schristos expectations to arch-13.d. 789*56bb7041Schristos * testsuite/gas/i386/arch-13-znver2.d: Redirect expectations to 790*56bb7041Schristos arch-13.d. 791*56bb7041Schristos testsuite/gas/i386/x86-64-arch-3-znver1.d: Extend -march=. 792*56bb7041Schristos 793*56bb7041Schristos2019-11-07 Jan Beulich <jbeulich@suse.com> 794*56bb7041Schristos 795*56bb7041Schristos * testsuite/gas/i386/x86-64-arch-3.s: Add monitorx/mwaitx cases 796*56bb7041Schristos with canonical operand sizes. 797*56bb7041Schristos * testsuite/gas/i386/x86-64-sse3.s: Add monitor/mwait cases with 798*56bb7041Schristos canonical operand sizes. 799*56bb7041Schristos * testsuite/gas/i386/x86-64-arch-3-znver1.d, 800*56bb7041Schristos testsuite/gas/i386/x86-64-arch-3-znver2.d: Redirect expectations 801*56bb7041Schristos to x86-64-arch-3.d. 802*56bb7041Schristos * testsuite/gas/i386/ilp32/x86-64-sse-noavx.d: Redirect 803*56bb7041Schristos expectations to parent dir's x86-64-sse-noavx.d. 804*56bb7041Schristos * testsuite/gas/i386/ilp32/x86-64-sse3.d: Redirect expectations 805*56bb7041Schristos to to parent dir's x86-64-sse3.d. 806*56bb7041Schristos * testsuite/gas/i386/x86-64-arch-3.d, 807*56bb7041Schristos testsuite/gas/i386/x86-64-mwaitx-bdver4.d, 808*56bb7041Schristos testsuite/gas/i386/x86-64-sse-noavx.d, 809*56bb7041Schristos testsuite/gas/i386/x86-64-sse3.d, 810*56bb7041Schristos testsuite/gas/i386/x86-64-suffix.d: Adjust expectations. 811*56bb7041Schristos 812*56bb7041Schristos2019-11-04 Jan Beulich <jbeulich@suse.com> 813*56bb7041Schristos 814*56bb7041Schristos * config/tc-i386.c (process_operands): Handle ShortForm insns 815*56bb7041Schristos later, splitting out their segment register sub-form. 816*56bb7041Schristos 817*56bb7041Schristos2019-10-31 H.J. Lu <hongjiu.lu@intel.com> 818*56bb7041Schristos 819*56bb7041Schristos * testsuite/gas/i386/general.s: Add .code16gcc fldenv tests. 820*56bb7041Schristos * testsuite/gas/i386/general.l: Updated. 821*56bb7041Schristos 822*56bb7041Schristos2019-10-31 Mihail Ionescu <mihail.ionescu@arm.com> 823*56bb7041Schristos 824*56bb7041Schristos * config/tc-arm.c (selected_ctx_ext_table) New static variable. 825*56bb7041Schristos (arm_parse_arch): Set context sensitive extension table based on the 826*56bb7041Schristos chosen base architecture. 827*56bb7041Schristos (s_arm_arch_extension): Change to lookup extensions in the new context 828*56bb7041Schristos sensitive tables. 829*56bb7041Schristos * gas/testsuite/gas/arm/mve-ext.s: New. 830*56bb7041Schristos * gas/testsuite/gas/arm/mve-ext.d: New. 831*56bb7041Schristos * gas/testsuite/gas/arm/mvefp-ext.s: New. 832*56bb7041Schristos * gas/testsuite/gas/arm/mvefp-ext.d: New. 833*56bb7041Schristos 834*56bb7041Schristos2019-10-30 Delia Burduv <Delia.Burduv@arm.com> 835*56bb7041Schristos 836*56bb7041Schristos * config/tc-aarch64.c (parse_address_main): Accept the omission of 837*56bb7041Schristos the immediate argument for ldraa and ldrab as a shorthand for the 838*56bb7041Schristos immediate being 0. 839*56bb7041Schristos * testsuite/gas/aarch64/ldraa-ldrab-no-offset.d: New test. 840*56bb7041Schristos * testsuite/gas/aarch64/ldraa-ldrab-no-offset.s: New test. 841*56bb7041Schristos * testsuite/gas/aarch64/illegal-ldraa.s: Modified to accept the 842*56bb7041Schristos writeback form with no offset. 843*56bb7041Schristos * testsuite/gas/aarch64/illegal-ldraa.s: Removed missing offset 844*56bb7041Schristos error. 845*56bb7041Schristos 846*56bb7041Schristos2019-10-30 Jan Beulich <jbeulich@suse.com> 847*56bb7041Schristos 848*56bb7041Schristos * testsuite/gas/i386/noreg16.d, testsuite/gas/i386/noreg16.s, 849*56bb7041Schristos testsuite/gas/i386/noreg32.d, testsuite/gas/i386/noreg32.s, 850*56bb7041Schristos testsuite/gas/i386/noreg64.d, testsuite/gas/i386/noreg64.s: New. 851*56bb7041Schristos * testsuite/gas/i386/i386.exp: Run new tests. 852*56bb7041Schristos 853*56bb7041Schristos2019-10-30 Jan Beulich <jbeulich@suse.com> 854*56bb7041Schristos 855*56bb7041Schristos * config/tc-i386.c (optimize_encoding): Adjust opcodes compared 856*56bb7041Schristos against. Adjust replacement opcode and clear .w. 857*56bb7041Schristos 858*56bb7041Schristos2019-10-29 Alan Modra <amodra@gmail.com> 859*56bb7041Schristos 860*56bb7041Schristos PR 25125 861*56bb7041Schristos * dw2gencfi.c (output_cfi_insn): Don't allow DW_CFA_advance_loc4 862*56bb7041Schristos to be placed in a different frag to the rs_cfa. 863*56bb7041Schristos 864*56bb7041Schristos2019-10-26 John David Anglin <danglin@gcc.gnu.org> 865*56bb7041Schristos 866*56bb7041Schristos PR gas/25121 867*56bb7041Schristos * config/tc-hppa.c (tc_gen_reloc): Cast some enums to int. 868*56bb7041Schristos (md_assemble): Likewise. 869*56bb7041Schristos 870*56bb7041Schristos2019-10-26 Alan Modra <amodra@gmail.com> 871*56bb7041Schristos 872*56bb7041Schristos PR 25125 873*56bb7041Schristos * dw2gencfi.c (output_cfi_insn): Don't output DW_CFA_advance_loc+0. 874*56bb7041Schristos * ehopt.c (eh_frame_estimate_size_before_relax): Return -1 for 875*56bb7041Schristos an advance_loc of zero. 876*56bb7041Schristos (eh_frame_relax_frag): Translate fr_subtype of 7 to size -1. 877*56bb7041Schristos (eh_frame_convert_frag): Handle fr_subtype of 7. Abort on 878*56bb7041Schristos unexpected fr_subtype. 879*56bb7041Schristos 880*56bb7041Schristos2019-10-25 Alan Modra <amodra@gmail.com> 881*56bb7041Schristos 882*56bb7041Schristos PR gas/25125 883*56bb7041Schristos PR gas/12049 884*56bb7041Schristos * write.c (relax_frag): Correct calculation of delta for 885*56bb7041Schristos positive branches where "stretch" would make the branch 886*56bb7041Schristos negative. Return zero immediately in that case. Correct 887*56bb7041Schristos TC_PCREL_ADJUST comment. 888*56bb7041Schristos 889*56bb7041Schristos2019-10-16 Alan Modra <amodra@gmail.com> 890*56bb7041Schristos 891*56bb7041Schristos * config/tc-xtensa.c (xg_order_trampoline_chain_entry): Don't 892*56bb7041Schristos call S_GET_VALUE multiple times for a symbol. Rearrange code 893*56bb7041Schristos so it is obvious what is the primary sort key. 894*56bb7041Schristos (xg_order_trampoline_chain): Similarly. 895*56bb7041Schristos 896*56bb7041Schristos2019-10-15 Alan Modra <amodra@gmail.com> 897*56bb7041Schristos 898*56bb7041Schristos * config/tc-nds32.c (nds32_set_section_relocs): Use relocs and n 899*56bb7041Schristos parameters rather than equivalent sec->orelocation and 900*56bb7041Schristos sec->reloc_count. Don't sort for n <= 1. Tidy. 901*56bb7041Schristos 902*56bb7041Schristos2019-10-09 Nick Clifton <nickc@redhat.com> 903*56bb7041Schristos 904*56bb7041Schristos PR 25041 905*56bb7041Schristos * testsuite/gas/avr/pr25041.s: New test. 906*56bb7041Schristos * testsuite/gas/avr/pr25041.d: New test driver. 907*56bb7041Schristos 908*56bb7041Schristos2019-10-07 Jozef Lawrynowicz <jozef.l@mittosystems.com> 909*56bb7041Schristos 910*56bb7041Schristos * config/tc-msp430.c (md_parse_option): Set lower_data_region_only 911*56bb7041Schristos to FALSE if the data region is set to "upper", "either" or "none". 912*56bb7041Schristos (msp430_object_attribute): New. 913*56bb7041Schristos (md_pseudo_table): Handle .mspabi_attribute and .gnu_attribute. 914*56bb7041Schristos (msp430_md_end): Replace hard-coded attribute values with enums. 915*56bb7041Schristos Handle data region object attribute. 916*56bb7041Schristos * doc/as.texi: Document MSP430 Data Region object attribute. 917*56bb7041Schristos * doc/c-msp430.texi: Document the .mspabi_attribute directive. 918*56bb7041Schristos * testsuite/gas/msp430/attr-430-small-bad.d: New test. 919*56bb7041Schristos * testsuite/gas/msp430/attr-430-small-bad.l: New test. 920*56bb7041Schristos * testsuite/gas/msp430/attr-430-small-good.d: New test. 921*56bb7041Schristos * testsuite/gas/msp430/attr-430-small.s: New test. 922*56bb7041Schristos * testsuite/gas/msp430/attr-430x-large-any-bad.d: New test. 923*56bb7041Schristos * testsuite/gas/msp430/attr-430x-large-any-bad.l: New test. 924*56bb7041Schristos * testsuite/gas/msp430/attr-430x-large-any-good.d: New test. 925*56bb7041Schristos * testsuite/gas/msp430/attr-430x-large-any.s: New test. 926*56bb7041Schristos * testsuite/gas/msp430/attr-430x-large-lower-bad.d: New test. 927*56bb7041Schristos * testsuite/gas/msp430/attr-430x-large-lower-bad.l: New test. 928*56bb7041Schristos * testsuite/gas/msp430/attr-430x-large-lower-good.d: New test. 929*56bb7041Schristos * testsuite/gas/msp430/attr-430x-large-lower.s: New test. 930*56bb7041Schristos * testsuite/gas/msp430/msp430.exp: Run new tests. 931*56bb7041Schristos 932*56bb7041Schristos2019-10-07 Jan Beulich <jbeulich@suse.com> 933*56bb7041Schristos 934*56bb7041Schristos * config/tc-i386.c (check_string): Make reported operand number 935*56bb7041Schristos depend on Intel syntax. 936*56bb7041Schristos * testsuite/gas/i386/intel-cmps.s, 937*56bb7041Schristos testsuite/gas/i386/intel-cmps32.d, 938*56bb7041Schristos testsuite/gas/i386/intel-cmps64.d: New. 939*56bb7041Schristos * testsuite/gas/i386/i386.exp: Run new tests. 940*56bb7041Schristos * testsuite/gas/i386/intel-movs.s: Extend. 941*56bb7041Schristos * testsuite/gas/i386/intel-movs32.d, 942*56bb7041Schristos testsuite/gas/i386/intel-movs64.d: Adjust expectations. 943*56bb7041Schristos * testsuite/gas/i386/string-bad.l: Tighten expectations. 944*56bb7041Schristos 945*56bb7041Schristos2019-09-24 Tamar Christina <tamar.christina@arm.com> 946*56bb7041Schristos 947*56bb7041Schristos PR gas/24991 948*56bb7041Schristos * config/tc-arm.c (out_of_range_p): New. 949*56bb7041Schristos (md_apply_fix): Use it in BFD_RELOC_THUMB_PCREL_BRANCH9, 950*56bb7041Schristos BFD_RELOC_THUMB_PCREL_BRANCH12, BFD_RELOC_THUMB_PCREL_BRANCH20, 951*56bb7041Schristos BFD_RELOC_THUMB_PCREL_BRANCH23, BFD_RELOC_THUMB_PCREL_BRANCH25 952*56bb7041Schristos * testsuite/gas/arm/pr24991.d: New test. 953*56bb7041Schristos * testsuite/gas/arm/pr24991.l: New test. 954*56bb7041Schristos * testsuite/gas/arm/pr24991.s: New test. 955*56bb7041Schristos 956*56bb7041Schristos2019-09-23 Alan Modra <amodra@gmail.com> 957*56bb7041Schristos 958*56bb7041Schristos * config/obj-ecoff.c: Include ecoff-bfd.h. 959*56bb7041Schristos * config/obj-elf.c: Likewise. 960*56bb7041Schristos 961*56bb7041Schristos2019-09-23 Alan Modra <amodra@gmail.com> 962*56bb7041Schristos 963*56bb7041Schristos * config/tc-arm.c: Include cpu-arm.h. 964*56bb7041Schristos 965*56bb7041Schristos2019-09-21 Alan Modra <amodra@gmail.com> 966*56bb7041Schristos 967*56bb7041Schristos * config/tc-i386.c (md_parse_option): Fix warning on vexwig assignment. 968*56bb7041Schristos 969*56bb7041Schristos2019-09-20 Alan Modra <amodra@gmail.com> 970*56bb7041Schristos 971*56bb7041Schristos * config/tc-tic6x.c (tc_gen_reloc): Correct common symbol check. 972*56bb7041Schristos 973*56bb7041Schristos2018-09-20 Jan Beulich <jbeulich@suse.com> 974*56bb7041Schristos 975*56bb7041Schristos PR gas/25012 976*56bb7041Schristos * config/tc-i386.c (process_operands): Adjust handling of 977*56bb7041Schristos PUSH/POP of segment registers. 978*56bb7041Schristos * testsuite/gas/i386/x86-64-opcode.s: Add PUSHq/POPq case with 979*56bb7041Schristos %fs/%gs operands. Add PUSHF/POPF case without suffix. 980*56bb7041Schristos * testsuite/gas/i386/x86-64-opcode.d: Adjust expectations. 981*56bb7041Schristos 982*56bb7041Schristos2019-09-19 Matthew Malcomson <matthew.malcomson@arm.com> 983*56bb7041Schristos 984*56bb7041Schristos * NEWS: Add SVE2 and TME entries. 985*56bb7041Schristos 986*56bb7041Schristos2019-09-18 Alan Modra <amodra@gmail.com> 987*56bb7041Schristos 988*56bb7041Schristos * as.c, * as.h, * dw2gencfi.c, * dwarf2dbg.c, * ecoff.c, 989*56bb7041Schristos * read.c, * stabs.c, * subsegs.c, * subsegs.h, * write.c, 990*56bb7041Schristos * config/obj-coff-seh.c, * config/obj-coff.c, * config/obj-ecoff.c, 991*56bb7041Schristos * config/obj-elf.c, * config/obj-macho.c, * config/obj-som.c, 992*56bb7041Schristos * config/tc-aarch64.c, * config/tc-alpha.c, * config/tc-arc.c, 993*56bb7041Schristos * config/tc-arm.c, * config/tc-avr.c, * config/tc-bfin.c, 994*56bb7041Schristos * config/tc-bpf.c, * config/tc-d10v.c, * config/tc-d30v.c, 995*56bb7041Schristos * config/tc-epiphany.c, * config/tc-fr30.c, * config/tc-frv.c, 996*56bb7041Schristos * config/tc-h8300.c, * config/tc-hppa.c, * config/tc-i386.c, 997*56bb7041Schristos * config/tc-ia64.c, * config/tc-ip2k.c, * config/tc-iq2000.c, 998*56bb7041Schristos * config/tc-lm32.c, * config/tc-m32c.c, * config/tc-m32r.c, 999*56bb7041Schristos * config/tc-m68hc11.c, * config/tc-mep.c, * config/tc-microblaze.c, 1000*56bb7041Schristos * config/tc-mips.c, * config/tc-mmix.c, * config/tc-mn10200.c, 1001*56bb7041Schristos * config/tc-mn10300.c, * config/tc-msp430.c, * config/tc-mt.c, 1002*56bb7041Schristos * config/tc-nds32.c, * config/tc-or1k.c, * config/tc-ppc.c, 1003*56bb7041Schristos * config/tc-pru.c, * config/tc-rl78.c, * config/tc-rx.c, 1004*56bb7041Schristos * config/tc-s12z.c, * config/tc-s390.c, * config/tc-score.c, 1005*56bb7041Schristos * config/tc-score7.c, * config/tc-sh.c, * config/tc-sparc.c, 1006*56bb7041Schristos * config/tc-spu.c, * config/tc-tic4x.c, * config/tc-tic54x.c, 1007*56bb7041Schristos * config/tc-tic6x.c, * config/tc-tilegx.c, * config/tc-tilepro.c, 1008*56bb7041Schristos * config/tc-v850.c, * config/tc-visium.c, * config/tc-wasm32.c, 1009*56bb7041Schristos * config/tc-xc16x.c, * config/tc-xgate.c, * config/tc-xstormy16.c, 1010*56bb7041Schristos * config/tc-xtensa.c, * config/tc-z8k.c: Update throughout for 1011*56bb7041Schristos bfd section macro and function changes. 1012*56bb7041Schristos * write.c (compress_debug): Use bfd_rename_section. 1013*56bb7041Schristos 1014*56bb7041Schristos2019-09-18 Alan Modra <amodra@gmail.com> 1015*56bb7041Schristos 1016*56bb7041Schristos * symbols.c (S_IS_LOCAL): Update bfd_get_section to 1017*56bb7041Schristos bfd_asymbol_section. 1018*56bb7041Schristos 1019*56bb7041Schristos2019-09-18 Simon Marchi <simon.marchi@polymtl.ca> 1020*56bb7041Schristos 1021*56bb7041Schristos * Makefile.in: Re-generate. 1022*56bb7041Schristos * configure: Re-generate. 1023*56bb7041Schristos * doc/Makefile.in: Re-generate. 1024*56bb7041Schristos 1025*56bb7041Schristos2019-09-17 Maxim Blinov <maxim.blinov@embecosm.com> 1026*56bb7041Schristos 1027*56bb7041Schristos * config/tc-riscv.c (riscv_multi_subset_supports): Handle 1028*56bb7041Schristos insn_class enum rather than subset char string. 1029*56bb7041Schristos (riscv_ip): Update call to riscv_multi_subset_supports. 1030*56bb7041Schristos 1031*56bb7041Schristos2019-09-16 Phil Blundell <pb@pbcl.net> 1032*56bb7041Schristos 1033*56bb7041Schristos * Makefile.in, configure, doc/Makefile.in: Regenerated. 1034*56bb7041Schristos 1035*56bb7041Schristos2019-09-10 Nick Clifton <nickc@redhat.com> 1036*56bb7041Schristos 1037*56bb7041Schristos PR 24907 1038*56bb7041Schristos * testsuite/gas/arm/pr24907.s: New test. 1039*56bb7041Schristos * testsuite/gas/arm/pr24907.d: Expected disassembly. 1040*56bb7041Schristos 1041*56bb7041Schristos2019-09-09 Phil Blundell <pb@pbcl.net> 1042*56bb7041Schristos 1043*56bb7041Schristos binutils 2.33 branch created. 1044*56bb7041Schristos 1045*56bb7041Schristos2019-09-05 Alan Modra <amodra@gmail.com> 1046*56bb7041Schristos 1047*56bb7041Schristos * config/tc-ppc.c (ppc_elf_suffix): Display the relocation 1048*56bb7041Schristos operator on GOT reloc warnings/errors. 1049*56bb7041Schristos 1050*56bb7041Schristos2019-08-27 Srinath Parvathaneni <srinath.parvathaneni@arm.com> 1051*56bb7041Schristos 1052*56bb7041Schristos * config/tc-arm.c (parse_neon_mov): Add check to accept vector 1053*56bb7041Schristos register to both the arguments in VMOV instruction. 1054*56bb7041Schristos * testsuite/gas/arm/mve-vmov-1.d: Modify. 1055*56bb7041Schristos * testsuite/gas/arm/mve-vmov-1.s: Likewise. 1056*56bb7041Schristos * testsuite/gas/arm/mve-vorr.d: Likewise. 1057*56bb7041Schristos 1058*56bb7041Schristos2019-08-23 Nick Clifton <nickc@redhat.com> 1059*56bb7041Schristos 1060*56bb7041Schristos * po/sv.po: Updated Swedish translation. 1061*56bb7041Schristos 1062*56bb7041Schristos2019-08-22 Dennis Zhang <dennis.zhang@arm.com> 1063*56bb7041Schristos 1064*56bb7041Schristos * config/tc-arm.c: New entries for Cortex-M35P, Cortex-A77, 1065*56bb7041Schristos and Cortex-A76AE. 1066*56bb7041Schristos * doc/c-arm.texi: Document new processors. 1067*56bb7041Schristos * testsuite/gas/arm/cpu-cortex-a76ae.d: New test. 1068*56bb7041Schristos * testsuite/gas/arm/cpu-cortex-a77.d: New test. 1069*56bb7041Schristos * testsuite/gas/arm/cpu-cortex-m35p.d: New test. 1070*56bb7041Schristos 1071*56bb7041Schristos2019-08-22 Bosco García <jbgg.gnu@gmail.com> 1072*56bb7041Schristos Nick Clifton <nickc@redhat.com> 1073*56bb7041Schristos 1074*56bb7041Schristos * atof-generic.c (atof_generic): Do not ignore leading zeros if 1075*56bb7041Schristos they appear after a decimal point. 1076*56bb7041Schristos * testsuite/gas/all/float.s: Extend test to include a number with 1077*56bb7041Schristos a leading decimal point followed by several zeroes. 1078*56bb7041Schristos * testsuite/gas/i386/fp.s: Likewise. 1079*56bb7041Schristos * testsuite/gas/i386/fp.d: Update expected output. 1080*56bb7041Schristos 1081*56bb7041Schristos2019-08-22 Barnaby Wilks <barnaby.wilks@arm.com> 1082*56bb7041Schristos 1083*56bb7041Schristos * config/tc-aarch64.c: Add float16 directive and add "Hh" to 1084*56bb7041Schristos acceptable float characters. 1085*56bb7041Schristos * doc/c-aarch64.texi: Documentation for float16 directive. 1086*56bb7041Schristos * testsuite/gas/aarch64/float16-be.d: New test. 1087*56bb7041Schristos * testsuite/gas/aarch64/float16-le.d: New test. 1088*56bb7041Schristos * testsuite/gas/aarch64/float16.s: New test. 1089*56bb7041Schristos * NEWS: Add NEWS entry. 1090*56bb7041Schristos 1091*56bb7041Schristos2019-08-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com> 1092*56bb7041Schristos 1093*56bb7041Schristos * testsuite/gas/aarch64/sysreg-4.d: Update expected disassembly for 1094*56bb7041Schristos tfsre0_el1, tfsr_el1, tfsr_el2, tfsr_el3, tfsr_el12 system registers. 1095*56bb7041Schristos 1096*56bb7041Schristos2019-08-20 Dennis Zhang <dennis.zhang@arm.com> 1097*56bb7041Schristos 1098*56bb7041Schristos * NEWS: Mention the Arm and AArch64 new processors. 1099*56bb7041Schristos * config/tc-aarch64.c: New entries for Cortex-A34, Cortex-A65, 1100*56bb7041Schristos Cortex-A77, cortex-A65AE, and Cortex-A76AE. 1101*56bb7041Schristos * doc/c-aarch64.texi: Document new CPUs. 1102*56bb7041Schristos * testsuite/gas/aarch64/cpu-cortex-a34.d: New test. 1103*56bb7041Schristos * testsuite/gas/aarch64/cpu-cortex-a65.d: New test. 1104*56bb7041Schristos * testsuite/gas/aarch64/cpu-cortex-a65ae.d: New test. 1105*56bb7041Schristos * testsuite/gas/aarch64/cpu-cortex-a76ae.d: New test. 1106*56bb7041Schristos * testsuite/gas/aarch64/cpu-cortex-a77.d: New test. 1107*56bb7041Schristos * testsuite/gas/aarch64/nop-asm.s: New test. 1108*56bb7041Schristos 1109*56bb7041Schristos2019-08-19 Faraz Shahbazker <fshahbazker@wavecomp.com> 1110*56bb7041Schristos 1111*56bb7041Schristos * config/tc-mips.c (fix_bad_misaligned_address): New function. 1112*56bb7041Schristos (fix_validate_branch): Call fix_bad_misaligned address_to 1113*56bb7041Schristos calculate the target address. 1114*56bb7041Schristos (md_apply_fix): Likewise. 1115*56bb7041Schristos (md_convert_frag): Update misaligned address calculation to 1116*56bb7041Schristos disregard ISA mode bit. 1117*56bb7041Schristos 1118*56bb7041Schristos2019-08-19 Faraz Shahbazker <fshahbazker@wavecomp.com> 1119*56bb7041Schristos 1120*56bb7041Schristos * config/tc-mips.c (mips_move_labels): Retain ISA mode bit 1121*56bb7041Schristos when moving labels in text segments. 1122*56bb7041Schristos (mips_align): Indicate text mode when aligning labels in 1123*56bb7041Schristos text segments. 1124*56bb7041Schristos * gas/testsuite/gas/mips/insn-isa-mode.d: New test. 1125*56bb7041Schristos * gas/testsuite/gas/mips/insn-isa-mode.s: New test source. 1126*56bb7041Schristos * gas/testsuite/gas/mips/mips.exp: Run the new test. 1127*56bb7041Schristos 1128*56bb7041Schristos2019-08-19 Barnaby Wilks <Barnaby.Wilks@arm.com> 1129*56bb7041Schristos 1130*56bb7041Schristos * config/tc-arm.c (md_atof): Add precision check. Formatting. 1131*56bb7041Schristos 1132*56bb7041Schristos2019-08-15 Nick Clifton <nickc@redhat.com> 1133*56bb7041Schristos 1134*56bb7041Schristos * po/sv.po: Updated Swedish translation. 1135*56bb7041Schristos 1136*56bb7041Schristos2019-08-12 Srinath Parvathaneni <srinath.parvathaneni@arm.com> 1137*56bb7041Schristos 1138*56bb7041Schristos * config/tc-arm.c (enum operand_parse_code): Add the entry OP_I48_I64. 1139*56bb7041Schristos (po_imm1_or_imm2_or_fail): Marco to check the immediate is either of 1140*56bb7041Schristos 48 or 64. 1141*56bb7041Schristos (parse_operands): Add case OP_I48_I64. 1142*56bb7041Schristos (do_mve_scalar_shift1): Add function to encode the MVE shift 1143*56bb7041Schristos instructions with 4 arguments. 1144*56bb7041Schristos * testsuite/gas/arm/mve-shift-bad.l: Modify. 1145*56bb7041Schristos * testsuite/gas/arm/mve-shift-bad.s: Likewise. 1146*56bb7041Schristos * testsuite/gas/arm/mve-shift.d: Likewise. 1147*56bb7041Schristos * testsuite/gas/arm/mve-shift.s: Likewise. 1148*56bb7041Schristos 1149*56bb7041Schristos2019-08-12 Barnaby Wilks <barnaby.wilks@arm.com> 1150*56bb7041Schristos 1151*56bb7041Schristos * config/tc-arm.c (enum fp_16bit_format): Add enum to represent the 2 float16 encodings. 1152*56bb7041Schristos (md_atof): Set precision for float16 type. 1153*56bb7041Schristos (arm_is_largest_exponent_ok): Check for whether to encode with the IEEE or alternative 1154*56bb7041Schristos format. 1155*56bb7041Schristos (set_fp16_format): Parse a float16_format directive. 1156*56bb7041Schristos (arm_parse_fp16_opt): Parse the fp16-format command line option. 1157*56bb7041Schristos (aeabi_set_public_attributes): For ELF encode the FP16 format EABI attribute. 1158*56bb7041Schristos * config/tc-arm.h (TC_LARGEST_EXPONENT_IS_NORMAL): Macro that expands to 1159*56bb7041Schristos arm_is_largest_exponent_ok. 1160*56bb7041Schristos (arm_is_largest_exponent_ok): Add prototype for arm_is_largest_exponent_ok function. 1161*56bb7041Schristos * doc/c-arm.texi: Add documentation for .float16, .float16_format and -mfp16-format= 1162*56bb7041Schristos * testsuite/gas/arm/float16-bad.d: New test. 1163*56bb7041Schristos * testsuite/gas/arm/float16-bad.l: New test. 1164*56bb7041Schristos * testsuite/gas/arm/float16-bad.s: New test. 1165*56bb7041Schristos * testsuite/gas/arm/float16-be.d: New test. 1166*56bb7041Schristos * testsuite/gas/arm/float16-format-bad.d: New test. 1167*56bb7041Schristos * testsuite/gas/arm/float16-format-bad.l: New test. 1168*56bb7041Schristos * testsuite/gas/arm/float16-format-bad.s: New test. 1169*56bb7041Schristos * testsuite/gas/arm/float16-format-opt-bad.d: New test. 1170*56bb7041Schristos * testsuite/gas/arm/float16-format-opt-bad.l: New test. 1171*56bb7041Schristos * testsuite/gas/arm/float16-le.d: New test. 1172*56bb7041Schristos * testsuite/gas/arm/float16.s: New test. 1173*56bb7041Schristos * testsuite/gas/arm/float16-eabi-alternative-format.d: New test. 1174*56bb7041Schristos * testsuite/gas/arm/float16-eabi-ieee-format.d: New test. 1175*56bb7041Schristos * testsuite/gas/arm/float16-eabi-no-format.d: New test. 1176*56bb7041Schristos * testsuite/gas/arm/float16-eabi.s: New test. 1177*56bb7041Schristos 1178*56bb7041Schristos2019-08-12 Barnaby Wilks <barnaby.wilks@arm.com> 1179*56bb7041Schristos 1180*56bb7041Schristos * config/atof-ieee.c (H_PRECISION): Macro for precision of float16 1181*56bb7041Schristos type. 1182*56bb7041Schristos (atof_ieee): Set precision and exponent bits for encoding float16 1183*56bb7041Schristos types. 1184*56bb7041Schristos (gen_to_words): NaN and Infinity encoding for float16. 1185*56bb7041Schristos (ieee_md_atof): Set precision for encoding float16 type. 1186*56bb7041Schristos 1187*56bb7041Schristos2019-08-12 Alan Modra <amodra@gmail.com> 1188*56bb7041Schristos 1189*56bb7041Schristos PR 24851 1190*56bb7041Schristos * config/tc-epiphany.c (md_estimate_size_before_relax): Clear 1191*56bb7041Schristos extra opcode bytes when changing from a 2-byte to a 4-byte insn. 1192*56bb7041Schristos 1193*56bb7041Schristos2019-08-09 Jan Beulich <jbeulich@suse.com> 1194*56bb7041Schristos 1195*56bb7041Schristos * testsuite/gas/i386/ilp32/x86-64-simd-intel.d, 1196*56bb7041Schristos testsuite/gas/i386/ilp32/x86-64-simd-suffix.d, 1197*56bb7041Schristos testsuite/gas/i386/ilp32/x86-64-simd.d: Redirect to parent dir 1198*56bb7041Schristos output expectations. 1199*56bb7041Schristos * testsuite/gas/i386/x86-64-simd-intel.d, 1200*56bb7041Schristos testsuite/gas/i386/x86-64-simd-suffix.d, 1201*56bb7041Schristos testsuite/gas/i386/x86-64-simd.d: Don't hard-code hex addresses 1202*56bb7041Schristos and symbol-relative offsets. 1203*56bb7041Schristos 1204*56bb7041Schristos2019-08-08 Nick Clifton <nickc@redhat.com> 1205*56bb7041Schristos 1206*56bb7041Schristos PR 24887 1207*56bb7041Schristos * testsuite/gas/i386/property-1.d: Adjust for new output format 1208*56bb7041Schristos from readelf. 1209*56bb7041Schristos * testsuite/gas/i386/property-2.d: Likewise. 1210*56bb7041Schristos * testsuite/gas/i386/x86-64-property-1.d: Likewise. 1211*56bb7041Schristos * testsuite/gas/i386/x86-64-property-2.d: Likewise. 1212*56bb7041Schristos 1213*56bb7041Schristos2019-08-08 Yoshinori Sato <ysato@users.sourceforge.jp> 1214*56bb7041Schristos 1215*56bb7041Schristos * testsuite/gas/h8300/h8300.exp: Fix movfpe and movtpe tests. 1216*56bb7041Schristos * testsuite/gas/h8300/misc.s: Likewise. 1217*56bb7041Schristos * testsuite/gas/h8300/misch.s: Likewise. 1218*56bb7041Schristos * testsuite/gas/h8300/miscs.s: Likewise. 1219*56bb7041Schristos 1220*56bb7041Schristos2019-08-05 Barnaby Wilks <barnaby.wilks@arm.com> 1221*56bb7041Schristos 1222*56bb7041Schristos * config/tc-arm.c (do_mve_vqdmlah): Use N_S_32 macro. 1223*56bb7041Schristos (do_neon_qrdmlah): Use N_S_32 macro. 1224*56bb7041Schristos * testsuite/gas/arm/mve-vqdmlah-bad.d: New test. 1225*56bb7041Schristos * testsuite/gas/arm/mve-vqdmlah-bad.l: New test. 1226*56bb7041Schristos * testsuite/gas/arm/mve-vqdmlah-bad.s: New test. 1227*56bb7041Schristos * testsuite/gas/arm/mve-vqdmlah.d: Remove unsigned instruction tests. 1228*56bb7041Schristos * testsuite/gas/arm/mve-vqdmlah.s: Remove unsigned instruction tests. 1229*56bb7041Schristos * testsuite/gas/arm/mve-vqdmlash-bad.d: New test. 1230*56bb7041Schristos * testsuite/gas/arm/mve-vqdmlash-bad.l: New test. 1231*56bb7041Schristos * testsuite/gas/arm/mve-vqdmlash-bad.s: New test. 1232*56bb7041Schristos * testsuite/gas/arm/mve-vqdmlash.d: Remove unsigned instruction tests. 1233*56bb7041Schristos * testsuite/gas/arm/mve-vqdmlash.s: Remove unsigned instruction tests. 1234*56bb7041Schristos 1235*56bb7041Schristos2019-07-30 Mel Chen <mel.chen@sifive.com> 1236*56bb7041Schristos 1237*56bb7041Schristos * testsuite/gas/riscv/alias-csr.s: Add testcase for CSR-access 1238*56bb7041Schristos alias instructions. 1239*56bb7041Schristos * testsuite/gas/riscv/no-aliases-csr.d: Run testcase alias-csr.s with 1240*56bb7041Schristos -Mno-aliases. 1241*56bb7041Schristos 1242*56bb7041Schristos * testsuite/gas/riscv/alias-csr.d: Run testcase alias-csr.s. 1243*56bb7041Schristos * testsuite/gas/riscv/priv-reg.d: Update. 1244*56bb7041Schristos 1245*56bb7041Schristos2019-07-24 Nick Clifton <nickc@redhat.com> 1246*56bb7041Schristos 1247*56bb7041Schristos * po/sv.po: Updated Swedish translation. 1248*56bb7041Schristos 1249*56bb7041Schristos2019-07-24 Claudiu Zissulescu <claziss@synopsys.com> 1250*56bb7041Schristos 1251*56bb7041Schristos * testsuite/gas/arc/nps400-6.d: Update test. 1252*56bb7041Schristos 1253*56bb7041Schristos2019-07-24 Alan Modra <amodra@gmail.com> 1254*56bb7041Schristos 1255*56bb7041Schristos * config/obj-elf.c (obj_elf_section, obj_elf_type): Set has_gnu_osabi. 1256*56bb7041Schristos * testsuite/gas/elf/section12a.d: Update xfails. 1257*56bb7041Schristos * testsuite/gas/elf/section12b.d: Likewise. 1258*56bb7041Schristos 1259*56bb7041Schristos2019-07-24 Alan Modra <amodra@gmail.com> 1260*56bb7041Schristos 1261*56bb7041Schristos * testsuite/gas/elf/section12a.d: xfail visium and cloudabi. 1262*56bb7041Schristos * testsuite/gas/elf/section12b.d: Likewise. 1263*56bb7041Schristos * testsuite/gas/elf/section13.d: Likewise. 1264*56bb7041Schristos 1265*56bb7041Schristos2019-07-23 Kyrylo Tkachov <kyrylo.tkachov@arm.com> 1266*56bb7041Schristos 1267*56bb7041Schristos * testsuite/gas/aarch64/sysreg-4.s: Test gmid_el1 read. 1268*56bb7041Schristos * testsuite/gas/aarch64/sysreg-4.d: Update expected output. 1269*56bb7041Schristos * testsuite/gas/aarch64/illegal-sysreg-4.l: Likewise. 1270*56bb7041Schristos 1271*56bb7041Schristos2019-07-23 Alan Modra <amodra@gmail.com> 1272*56bb7041Schristos 1273*56bb7041Schristos * config/obj-elf.c (obj_elf_change_section): Don't emit a fatal 1274*56bb7041Schristos error for non-SHF_ALLOC SHF_GNU_MBIND here. 1275*56bb7041Schristos (obj_elf_parse_section_letters): Return SHF_GNU_MBIND in new 1276*56bb7041Schristos gnu_attr param. 1277*56bb7041Schristos (obj_elf_section): Adjust obj_elf_parse_section_letters call. 1278*56bb7041Schristos Formatting. Set SHF_GNU_MBIND and elf_osabi from gnu_attr. 1279*56bb7041Schristos Emit normal error for non-SHF_ALLOC SHF_GNU_MBIND and wrong osabi. 1280*56bb7041Schristos (obj_elf_type): Set elf_osabi for ifunc. 1281*56bb7041Schristos * testsuite/gas/elf/section12a.d: xfail msp430 and hpux. 1282*56bb7041Schristos * testsuite/gas/elf/section12b.d: Likewise. 1283*56bb7041Schristos * testsuite/gas/elf/section13.d: Likewise. 1284*56bb7041Schristos * testsuite/gas/elf/section13.l: Adjust expected error. 1285*56bb7041Schristos 1286*56bb7041Schristos2019-07-23 Alan Modra <amodra@gmail.com> 1287*56bb7041Schristos 1288*56bb7041Schristos * testsuite/gas/elf/section12a.d: Don't skip for rx. 1289*56bb7041Schristos 1290*56bb7041Schristos2019-07-22 Barnaby Wilks <barnaby.wilks@arm.com> 1291*56bb7041Schristos 1292*56bb7041Schristos * config/tc-arm.c (do_mve_vqdmladh): Remove check for UNPREDICTABLE. 1293*56bb7041Schristos * testsuite/gas/arm/mve-vqdmladh-bad.l: Remove tests. 1294*56bb7041Schristos * testsuite/gas/arm/mve-vqdmladh-bad.s: Remove tests. 1295*56bb7041Schristos * testsuite/gas/arm/mve-vqdmladh.d: New tests. 1296*56bb7041Schristos * testsuite/gas/arm/mve-vqdmladh.s: New tests. 1297*56bb7041Schristos * testsuite/gas/arm/mve-vqdmlsdh-bad.l: Remove tests. 1298*56bb7041Schristos * testsuite/gas/arm/mve-vqdmlsdh-bad.s: Remove tests. 1299*56bb7041Schristos * testsuite/gas/arm/mve-vqdmlsdh.d: New tests. 1300*56bb7041Schristos * testsuite/gas/arm/mve-vqdmlsdh.s: New tests. 1301*56bb7041Schristos 1302*56bb7041Schristos2019-07-19 H.J. Lu <hongjiu.lu@intel.com> 1303*56bb7041Schristos 1304*56bb7041Schristos * testsuite/gas/i386/noextreg.d: Pass -O0 to assembler. 1305*56bb7041Schristos 1306*56bb7041Schristos2019-07-19 Jose E. Marchesi <jose.marchesi@oracle.com> 1307*56bb7041Schristos 1308*56bb7041Schristos * testsuite/gas/bpf/alu.d: Use %r6 instead of %ctx. 1309*56bb7041Schristos * testsuite/gas/bpf/lddw-be.d: Likewise. 1310*56bb7041Schristos * testsuite/gas/bpf/lddw.d: Likewise. 1311*56bb7041Schristos * testsuite/gas/bpf/alu-be.d: Likewise. 1312*56bb7041Schristos * testsuite/gas/bpf/alu32.d: Likewise. 1313*56bb7041Schristos 1314*56bb7041Schristos2019-07-19 Jose E. Marchesi <jose.marchesi@oracle.com> 1315*56bb7041Schristos 1316*56bb7041Schristos * config/tc-bpf.c (pe_lcomm_internal): Adapted from tc-i386.c. 1317*56bb7041Schristos (pe_lcomm): Likewise. 1318*56bb7041Schristos (md_pseudo_table): Use pe_lcomm to implement .lcomm. 1319*56bb7041Schristos 1320*56bb7041Schristos2019-07-19 Richard Sandiford <richard.sandiford@arm.com> 1321*56bb7041Schristos 1322*56bb7041Schristos * doc/c-aarch64.texi: Remame the +bitperm extension to +sve2-bitperm. 1323*56bb7041Schristos * config/tc-aarch64.c (aarch64_features): Likewise. 1324*56bb7041Schristos * testsuite/gas/aarch64/illegal-sve2-aes.d: Update accordingly. 1325*56bb7041Schristos * testsuite/gas/aarch64/illegal-sve2-sha3.d: Likewise. 1326*56bb7041Schristos * testsuite/gas/aarch64/illegal-sve2-sm4.d: Likewise. 1327*56bb7041Schristos * testsuite/gas/aarch64/illegal-sve2.d: Likewise. 1328*56bb7041Schristos * testsuite/gas/aarch64/sve2.d: Likewise. 1329*56bb7041Schristos 1330*56bb7041Schristos2019-07-19 Alan Modra <amodra@gmail.com> 1331*56bb7041Schristos 1332*56bb7041Schristos * config/tc-ppc.c (ppc_elf_suffix): Map "tls@pcrel", "got@tlsgd@pcrel", 1333*56bb7041Schristos "got@tlsld@pcrel", "got@tprel@pcrel", and "got@dtprel@pcrel". 1334*56bb7041Schristos (fixup_size, md_assemble): Handle pcrel tls relocs. 1335*56bb7041Schristos (ppc_force_relocation, ppc_fix_adjustable): Likewise. 1336*56bb7041Schristos (md_apply_fix, tc_gen_reloc): Likewise. 1337*56bb7041Schristos 1338*56bb7041Schristos2019-07-17 Jose E. Marchesi <jose.marchesi@oracle.com> 1339*56bb7041Schristos 1340*56bb7041Schristos * config/tc-bpf.c: Make .lcomm to get a third argument with the 1341*56bb7041Schristos alignment. 1342*56bb7041Schristos 1343*56bb7041Schristos2019-07-17 Jose E. Marchesi <jose.marchesi@oracle.com> 1344*56bb7041Schristos 1345*56bb7041Schristos * config/tc-bpf.c (md_pseudo_table): .half, .word and .dword. 1346*56bb7041Schristos 1347*56bb7041Schristos * testsuite/gas/bpf/data.s: New file. 1348*56bb7041Schristos * testsuite/gas/bpf/data.d: Likewise. 1349*56bb7041Schristos * testsuite/gas/bpf/data-be.d: Likewise. 1350*56bb7041Schristos * testsuite/gas/bpf/bpf.exp: Run data and data-be. 1351*56bb7041Schristos * doc/c-bpf.texi (BPF Directives): New section. 1352*56bb7041Schristos 1353*56bb7041Schristos2019-07-17 Jan Beulich <jbeulich@suse.com> 1354*56bb7041Schristos 1355*56bb7041Schristos * config/tc-i386.c (check_hle, md_assemble, check_VecOperands, 1356*56bb7041Schristos match_template, check_string, build_modrm_byte): Replace 1357*56bb7041Schristos operand_type_check(..., anymem) by Operand_Mem ones. 1358*56bb7041Schristos (process_operands): Also copy i.flags[] when copying other 1359*56bb7041Schristos operand properties. 1360*56bb7041Schristos 1361*56bb7041Schristos2019-07-16 Jan Beulich <jbeulich@suse.com> 1362*56bb7041Schristos 1363*56bb7041Schristos * config/tc-i386.c (match_template): Adjust regmem reference. 1364*56bb7041Schristos Adjust comment and update regmem when swapping operands. 1365*56bb7041Schristos (build_modrm_byte): Drop clearing of regmem and stale part of 1366*56bb7041Schristos comment. Correct comment. Adjust regmem reference. 1367*56bb7041Schristos 1368*56bb7041Schristos2019-07-16 Jan Beulich <jbeulich@suse.com> 1369*56bb7041Schristos 1370*56bb7041Schristos * config/tc-i386.c (type_names): Replace SReg entries. 1371*56bb7041Schristos (pi, check_byte_reg, build_modrm_byte, i386_att_operand, 1372*56bb7041Schristos parse_real_register): Switch to using sreg field. 1373*56bb7041Schristos (process_operands): Likewise. Extend handling of PUSH/POP of 1374*56bb7041Schristos segment registers. Drop dead setting of REX_B. 1375*56bb7041Schristos * config/tc-i386-intel.c (i386_intel_simplify_register, 1376*56bb7041Schristos i386_intel_operand): Switch to using sreg field. 1377*56bb7041Schristos * testsuite/gas/i386/x86-64-opcode.s: Add PUSH/POP of %fs/%gs. 1378*56bb7041Schristos * testsuite/gas/i386/x86-64-opcode.d: Adjust expectations. 1379*56bb7041Schristos * testsuite/gas/i386/ilp32/x86-64-opcode.d: Use parent dir 1380*56bb7041Schristos expectations. 1381*56bb7041Schristos 1382*56bb7041Schristos2019-07-15 Jose E. Marchesi <jose.marchesi@oracle.com> 1383*56bb7041Schristos 1384*56bb7041Schristos * testsuite/gas/bpf/mem.s: ldabs instructions do not take a `src' 1385*56bb7041Schristos register as an argument. 1386*56bb7041Schristos * testsuite/gas/bpf/mem.d: Updated accordingly. 1387*56bb7041Schristos * testsuite/gas/bpf/mem-be.d: Likewise. 1388*56bb7041Schristos * doc/c-bpf.texi (BPF Opcodes): Update to reflect the correct 1389*56bb7041Schristos explicit arguments to ldabs and ldind instructions. 1390*56bb7041Schristos 1391*56bb7041Schristos2019-07-14 Jose E. Marchesi <jose.marchesi@oracle.com> 1392*56bb7041Schristos 1393*56bb7041Schristos * testsuite/gas/bpf/mem.s: Do not use explicit arguments for 1394*56bb7041Schristos ldabs and ldind instructions. 1395*56bb7041Schristos * testsuite/gas/bpf/mem.d: Updated accordingly. 1396*56bb7041Schristos * testsuite/gas/bpf/mem-be.d: Likewise. 1397*56bb7041Schristos 1398*56bb7041Schristos2019-07-09 Alan Modra <amodra@gmail.com> 1399*56bb7041Schristos 1400*56bb7041Schristos * config/obj-elf.c (elf_frob_symbol): Remove mips hacks. 1401*56bb7041Schristos * config/tc-mips.h (tc_frob_symbol): Define. 1402*56bb7041Schristos (mips_frob_symbol): Declare. 1403*56bb7041Schristos * config/tc-mips.c (s_mips_globl): Don't set BSF_OBJECT for irix. 1404*56bb7041Schristos (mips_frob_symbol): Fudge symbols for irix here. 1405*56bb7041Schristos * testsuite/gas/elf/type-2.e: Allow random target symbols. 1406*56bb7041Schristos 1407*56bb7041Schristos2019-07-05 Kito Cheng <kito.cheng@sifive.com> 1408*56bb7041Schristos 1409*56bb7041Schristos * doc/c-riscv.texi (Instruction Formats): Add r4 type. 1410*56bb7041Schristos * testsuite/gas/riscv/insn.d: Add testcase for r4 type. 1411*56bb7041Schristos * testsuite/gas/riscv/insn.s: Ditto. 1412*56bb7041Schristos 1413*56bb7041Schristos * doc/c-riscv.texi (Instruction Formats): Add b and j type. 1414*56bb7041Schristos * testsuite/gas/riscv/insn.d: Add test case for b and j type. 1415*56bb7041Schristos * testsuite/gas/riscv/insn.s: Ditto. 1416*56bb7041Schristos 1417*56bb7041Schristos * testsuite/gas/riscv/insn.s: Correct instruction type for load 1418*56bb7041Schristos and store. 1419*56bb7041Schristos 1420*56bb7041Schristos * testsuite/gas/riscv/insn.d: Using regular expression to match 1421*56bb7041Schristos address. 1422*56bb7041Schristos 1423*56bb7041Schristos * doc/c-riscv.texi (Instruction Formats): Fix encoding table for SB 1424*56bb7041Schristos type and fix typo. 1425*56bb7041Schristos 1426*56bb7041Schristos2019-07-04 Jan Beulich <jbeulich@suse.com> 1427*56bb7041Schristos 1428*56bb7041Schristos * config/tc-i386.c (md_parse_option): Don't blindly accept all 1429*56bb7041Schristos -Q options. 1430*56bb7041Schristos (md_show_usage): Correctly name the ignored -Q option flavors. 1431*56bb7041Schristos 1432*56bb7041Schristos2019-07-04 Jan Beulich <jbeulich@suse.com> 1433*56bb7041Schristos 1434*56bb7041Schristos * config/obj-elf.c (obj_elf_type): Check for conflicts between 1435*56bb7041Schristos old and new types. 1436*56bb7041Schristos * config/tc-hppa.h (md_elf_symbol_type_change): New. 1437*56bb7041Schristos * doc/as.texi: Mention warning behavior for the ELF flavor of 1438*56bb7041Schristos .type. 1439*56bb7041Schristos * testsuite/gas/elf/type-2.e, testsuite/gas/elf/type-2.l, 1440*56bb7041Schristos testsuite/gas/elf/type-2.s: New. 1441*56bb7041Schristos * testsuite/gas/elf/elf.exp: Run new test. 1442*56bb7041Schristos 1443*56bb7041Schristos2019-07-03 Nick Clifton <nickc@redhat.com> 1444*56bb7041Schristos 1445*56bb7041Schristos * testsuite/gas/aarch64/codealign.d: Update to work with a 1446*56bb7041Schristos toolchain configured to generate build notes. 1447*56bb7041Schristos * testsuite/gas/aarch64/codealign_1.d: Likewise. 1448*56bb7041Schristos * testsuite/gas/aarch64/dwarf.d: Likewise. 1449*56bb7041Schristos * testsuite/gas/aarch64/mapmisc.d: Likewise. 1450*56bb7041Schristos * testsuite/gas/aarch64/mapping.d: Likewise. 1451*56bb7041Schristos * testsuite/gas/aarch64/mapping2.d: Likewise. 1452*56bb7041Schristos * testsuite/gas/aarch64/mapping3.d: Likewise. 1453*56bb7041Schristos * testsuite/gas/aarch64/mapping4.d: Likewise. 1454*56bb7041Schristos * testsuite/gas/aarch64/mapping_5.d: Likewise. 1455*56bb7041Schristos * testsuite/gas/aarch64/mapping_6.d: Likewise. 1456*56bb7041Schristos * testsuite/gas/aarch64/sve-movprfx_1.d: Likewise. 1457*56bb7041Schristos * testsuite/gas/aarch64/sve-movprfx_10.d: Likewise. 1458*56bb7041Schristos * testsuite/gas/aarch64/sve-movprfx_11.d: Likewise. 1459*56bb7041Schristos * testsuite/gas/aarch64/sve-movprfx_12.d: Likewise. 1460*56bb7041Schristos * testsuite/gas/aarch64/sve-movprfx_13.d: Likewise. 1461*56bb7041Schristos * testsuite/gas/aarch64/sve-movprfx_14.d: Likewise. 1462*56bb7041Schristos * testsuite/gas/aarch64/sve-movprfx_15.d: Likewise. 1463*56bb7041Schristos * testsuite/gas/aarch64/sve-movprfx_16.d: Likewise. 1464*56bb7041Schristos * testsuite/gas/aarch64/sve-movprfx_17.d: Likewise. 1465*56bb7041Schristos * testsuite/gas/aarch64/sve-movprfx_18.d: Likewise. 1466*56bb7041Schristos * testsuite/gas/aarch64/sve-movprfx_19.d: Likewise. 1467*56bb7041Schristos * testsuite/gas/aarch64/sve-movprfx_2.d: Likewise. 1468*56bb7041Schristos * testsuite/gas/aarch64/sve-movprfx_20.d: Likewise. 1469*56bb7041Schristos * testsuite/gas/aarch64/sve-movprfx_21.d: Likewise. 1470*56bb7041Schristos * testsuite/gas/aarch64/sve-movprfx_22.d: Likewise. 1471*56bb7041Schristos * testsuite/gas/aarch64/sve-movprfx_23.d: Likewise. 1472*56bb7041Schristos * testsuite/gas/aarch64/sve-movprfx_24.d: Likewise. 1473*56bb7041Schristos * testsuite/gas/aarch64/sve-movprfx_25.d: Likewise. 1474*56bb7041Schristos * testsuite/gas/aarch64/sve-movprfx_26.d: Likewise. 1475*56bb7041Schristos * testsuite/gas/aarch64/sve-movprfx_27.d: Likewise. 1476*56bb7041Schristos * testsuite/gas/aarch64/sve-movprfx_3.d: Likewise. 1477*56bb7041Schristos * testsuite/gas/aarch64/sve-movprfx_4.d: Likewise. 1478*56bb7041Schristos * testsuite/gas/aarch64/sve-movprfx_5.d: Likewise. 1479*56bb7041Schristos * testsuite/gas/aarch64/sve-movprfx_6.d: Likewise. 1480*56bb7041Schristos * testsuite/gas/aarch64/sve-movprfx_7.d: Likewise. 1481*56bb7041Schristos * testsuite/gas/aarch64/sve-movprfx_8.d: Likewise. 1482*56bb7041Schristos * testsuite/gas/aarch64/sve-movprfx_9.d: Likewise. 1483*56bb7041Schristos * testsuite/gas/aarch64/symbol-variant_pcs-1.d: Likewise. 1484*56bb7041Schristos * testsuite/gas/aarch64/symbol-variant_pcs-2.d: Likewise. 1485*56bb7041Schristos * testsuite/gas/aarch64/symbol-variant_pcs-3.d: Likewise. 1486*56bb7041Schristos * testsuite/gas/all/assign.d: Likewise. 1487*56bb7041Schristos * testsuite/gas/all/none.d: Likewise. 1488*56bb7041Schristos * testsuite/gas/all/weakref1.d: Likewise. 1489*56bb7041Schristos * testsuite/gas/arm/got_prel.d: Likewise. 1490*56bb7041Schristos * testsuite/gas/arm/local_function.d: Likewise. 1491*56bb7041Schristos * testsuite/gas/arm/mapdir.d: Likewise. 1492*56bb7041Schristos * testsuite/gas/arm/mapmisc.d: Likewise. 1493*56bb7041Schristos * testsuite/gas/arm/mapping2.d: Likewise. 1494*56bb7041Schristos * testsuite/gas/arm/mapping3.d: Likewise. 1495*56bb7041Schristos * testsuite/gas/arm/mapping4.d: Likewise. 1496*56bb7041Schristos * testsuite/gas/arm/mapsecs.d: Likewise. 1497*56bb7041Schristos * testsuite/gas/arm/mapshort-eabi.d: Likewise. 1498*56bb7041Schristos * testsuite/gas/arm/thumbrel.d: Likewise. 1499*56bb7041Schristos * testsuite/gas/arm/unwind.d: Likewise. 1500*56bb7041Schristos * testsuite/gas/cfi/cfi-label.d: Likewise. 1501*56bb7041Schristos * testsuite/gas/elf/elf.exp: Likewise. 1502*56bb7041Schristos * testsuite/gas/i386/bss.d: Likewise. 1503*56bb7041Schristos * testsuite/gas/i386/ifunc-3.d: Likewise. 1504*56bb7041Schristos * testsuite/gas/i386/ilp32/mixed-mode-reloc64.d: Likewise. 1505*56bb7041Schristos * testsuite/gas/i386/ilp32/quad.d: Likewise. 1506*56bb7041Schristos * testsuite/gas/i386/ilp32/reloc64.d: Likewise. 1507*56bb7041Schristos * testsuite/gas/i386/ilp32/x86-64-size-1.d: Likewise. 1508*56bb7041Schristos * testsuite/gas/i386/ilp32/x86-64-size-3.d: Likewise. 1509*56bb7041Schristos * testsuite/gas/i386/ilp32/x86-64-size-5.d: Likewise. 1510*56bb7041Schristos * testsuite/gas/i386/ilp32/x86-64-unwind.d: Likewise. 1511*56bb7041Schristos * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise. 1512*56bb7041Schristos * testsuite/gas/i386/mixed-mode-reloc64.d: Likewise. 1513*56bb7041Schristos * testsuite/gas/i386/nop-6.d: Likewise. 1514*56bb7041Schristos * testsuite/gas/i386/property-1.d: Likewise. 1515*56bb7041Schristos * testsuite/gas/i386/property-2.d: Likewise. 1516*56bb7041Schristos * testsuite/gas/i386/relax.d: Likewise. 1517*56bb7041Schristos * testsuite/gas/i386/reloc64.d: Likewise. 1518*56bb7041Schristos * testsuite/gas/i386/size-1.d: Likewise. 1519*56bb7041Schristos * testsuite/gas/i386/size-3.d: Likewise. 1520*56bb7041Schristos * testsuite/gas/i386/x86-64-nop-6.d: Likewise. 1521*56bb7041Schristos * testsuite/gas/i386/x86-64-property-1.d: Likewise. 1522*56bb7041Schristos * testsuite/gas/i386/x86-64-property-2.d: Likewise. 1523*56bb7041Schristos * testsuite/gas/i386/x86-64-size-1.d: Likewise. 1524*56bb7041Schristos * testsuite/gas/i386/x86-64-size-3.d: Likewise. 1525*56bb7041Schristos * testsuite/gas/i386/x86-64-size-5.d: Likewise. 1526*56bb7041Schristos * testsuite/gas/i386/x86-64-unwind.d: Likewise. 1527*56bb7041Schristos * testsuite/gas/macros/irp.d: Likewise. 1528*56bb7041Schristos * testsuite/gas/macros/repeat.d: Likewise. 1529*56bb7041Schristos * testsuite/gas/macros/rept.d: Likewise. 1530*56bb7041Schristos * testsuite/gas/macros/test2.d: Likewise. 1531*56bb7041Schristos * testsuite/gas/macros/test3.d: Likewise. 1532*56bb7041Schristos * testsuite/gas/macros/vararg.d: Likewise. 1533*56bb7041Schristos * testsuite/gas/ppc/astest2.d: Likewise. 1534*56bb7041Schristos * testsuite/gas/ppc/astest2_64.d: Likewise. 1535*56bb7041Schristos * testsuite/gas/ppc/astest64.d: Likewise. 1536*56bb7041Schristos * testsuite/gas/ppc/power4.d: Likewise. 1537*56bb7041Schristos * testsuite/gas/ppc/test1elf64.d: Likewise. 1538*56bb7041Schristos 1539*56bb7041Schristos2019-07-02 Barnaby Wilks <barnaby.wilks@arm.com> 1540*56bb7041Schristos 1541*56bb7041Schristos * config/tc-aarch64.c (parse_operands): Add error check. 1542*56bb7041Schristos * testsuite/gas/aarch64/diagnostic.l: New test. 1543*56bb7041Schristos * testsuite/gas/aarch64/diagnostic.s: New test. 1544*56bb7041Schristos * testsuite/gas/aarch64/illegal.l: New tests. 1545*56bb7041Schristos * testsuite/gas/aarch64/illegal.s: New tests. 1546*56bb7041Schristos 1547*56bb7041Schristos2019-07-02 Richard Sandiford <richard.sandiford@arm.com> 1548*56bb7041Schristos 1549*56bb7041Schristos * testsuite/gas/aarch64/sve-movprfx_27.s, 1550*56bb7041Schristos * testsuite/gas/aarch64/sve-movprfx_27.d: New test. 1551*56bb7041Schristos 1552*56bb7041Schristos2019-07-02 Richard Sandiford <richard.sandiford@arm.com> 1553*56bb7041Schristos 1554*56bb7041Schristos * testsuite/gas/aarch64/sve-movprfx_26.s: Also test FCVTZS, FCVTZU, 1555*56bb7041Schristos SCVTF, UCVTF, LSR and ASR. 1556*56bb7041Schristos * testsuite/gas/aarch64/sve-movprfx_26.d: Update accordingly. 1557*56bb7041Schristos * testsuite/gas/aarch64/sve-movprfx_26.l: Likewise. 1558*56bb7041Schristos 1559*56bb7041Schristos2019-07-02 Richard Sandiford <richard.sandiford@arm.com> 1560*56bb7041Schristos 1561*56bb7041Schristos * testsuite/gas/aarch64/sve-movprfx_25.s: Allow CPY Z1.D.P1/M,X1 1562*56bb7041Schristos to be prefixed by MOVPRFX. 1563*56bb7041Schristos * testsuite/gas/aarch64/sve-movprfx_25.d: Update accordingly. 1564*56bb7041Schristos * testsuite/gas/aarch64/sve-movprfx_25.l: Likewise. 1565*56bb7041Schristos 1566*56bb7041Schristos2019-07-01 Nick Clifton <nickc@redhat.com> 1567*56bb7041Schristos 1568*56bb7041Schristos PR 24748 1569*56bb7041Schristos * write.c (create_note_reloc): Add desc2_offset parameter. Change 1570*56bb7041Schristos name of offset parameter to note_offset. Only use desc2_offset 1571*56bb7041Schristos when placing addend into REL reloc's address space. 1572*56bb7041Schristos (maybe_generate_build_notes): Update parameters passed to 1573*56bb7041Schristos create_note_reloc. 1574*56bb7041Schristos 1575*56bb7041Schristos2019-07-01 Matthew Malcomson <matthew.malcomson@arm.com> 1576*56bb7041Schristos 1577*56bb7041Schristos * testsuite/gas/aarch64/illegal-sve2-aes.d: Update tests. 1578*56bb7041Schristos * testsuite/gas/aarch64/illegal-sve2.l: Update tests. 1579*56bb7041Schristos * doc/c-aarch64.texi: Add special note of pmull{t,b} 1580*56bb7041Schristos instructions under the sve2-aes architecture extension. 1581*56bb7041Schristos * testsuite/gas/aarch64/illegal-sve2.s: Add small size 1582*56bb7041Schristos pmull{t,b} instructions. 1583*56bb7041Schristos * testsuite/gas/aarch64/sve2.d: Add small size pmull{t,b} 1584*56bb7041Schristos disassembly. 1585*56bb7041Schristos * testsuite/gas/aarch64/sve2.s: Add small size pmull{t,b} 1586*56bb7041Schristos instructions. 1587*56bb7041Schristos 1588*56bb7041Schristos2019-07-01 Nick Clifton <nickc@redhat.com> 1589*56bb7041Schristos 1590*56bb7041Schristos PR 24738 1591*56bb7041Schristos * doc/c-i386.texi (i386-Directives): Add a description of the 1592*56bb7041Schristos Value directive. 1593*56bb7041Schristos 1594*56bb7041Schristos2019-07-01 Nick Clifton <nickc@redhat.com> 1595*56bb7041Schristos 1596*56bb7041Schristos PR 24737 1597*56bb7041Schristos * doc/as.texi (Align): Add missing word to description of 1598*56bb7041Schristos pseudo-op. 1599*56bb7041Schristos (P2align): Likewise. 1600*56bb7041Schristos 1601*56bb7041Schristos2019-06-28 Nick Clifton <nickc@redhat.com> 1602*56bb7041Schristos 1603*56bb7041Schristos PR 24735 1604*56bb7041Schristos * doc/as.texi (Zero): Fix spelling typo. 1605*56bb7041Schristos 1606*56bb7041Schristos2019-07-01 Jan Beulich <jbeulich@suse.com> 1607*56bb7041Schristos 1608*56bb7041Schristos * config/tc-i386.c (vec_imm4): Delete. 1609*56bb7041Schristos (VEX_check_operands): Replace Vec_Imm4 check by CpuXOP with five 1610*56bb7041Schristos operands one. Clear Imm<N> by different means. 1611*56bb7041Schristos (build_modrm_byte): Adjust comment. Remove dead code. Add and 1612*56bb7041Schristos adjust assertions. 1613*56bb7041Schristos 1614*56bb7041Schristos2019-07-01 Jan Beulich <jbeulich@suse.com> 1615*56bb7041Schristos 1616*56bb7041Schristos * config/tc-i386.c (output_insn): Adjust recognition of xFENCE 1617*56bb7041Schristos insns. Move PadLock special case of prefix emission to 3-byte 1618*56bb7041Schristos long base opcode handling. 1619*56bb7041Schristos (i386_index_check): Check for CpuPadLock instead of ImmExt. 1620*56bb7041Schristos 1621*56bb7041Schristos2019-07-01 Jan Beulich <jbeulich@suse.com> 1622*56bb7041Schristos 1623*56bb7041Schristos * config/tc-i386.c (optimize_encoding): Handle AND / OR with 1624*56bb7041Schristos both operands being the same register. 1625*56bb7041Schristos * doc/c-i386.texi: Update -O2 documentation. 1626*56bb7041Schristos * testsuite/gas/i386/optimize-2.s, 1627*56bb7041Schristos testsuite/gas/i386/x86-64-optimize-3.s: Add cases of AND / OR 1628*56bb7041Schristos with both operands being the same register. 1629*56bb7041Schristos * testsuite/gas/i386/optimize-2.d, 1630*56bb7041Schristos testsuite/gas/i386/x86-64-optimize-3.d: Adjust expectations. 1631*56bb7041Schristos * testsuite/gas/i386/optimize-2b.d, 1632*56bb7041Schristos testsuite/gas/i386/x86-64-optimize-3b.d: New. 1633*56bb7041Schristos * testsuite/gas/i386/i386.exp: Run new test. 1634*56bb7041Schristos 1635*56bb7041Schristos2019-07-01 Jan Beulich <jbeulich@suse.com> 1636*56bb7041Schristos 1637*56bb7041Schristos * config/tc-i386.c (commutative): New. 1638*56bb7041Schristos (build_vex_prefix): Handle commutative case. 1639*56bb7041Schristos (optimize_encoding): Set commutative flag when appropriate. 1640*56bb7041Schristos * doc/c-i386.texi: Update -O2 documentation. 1641*56bb7041Schristos * testsuite/gas/i386/ilp32/x86-64-sse2avx.d: Re-use parent dir 1642*56bb7041Schristos output. 1643*56bb7041Schristos * testsuite/gas/i386/x86-64-sse2avx.s: Add tests with high 1644*56bb7041Schristos numbered source operands. 1645*56bb7041Schristos * testsuite/gas/i386/x86-64-optimize-2.d, 1646*56bb7041Schristos testsuite/gas/i386/x86-64-optimize-2b.d, 1647*56bb7041Schristos testsuite/gas/i386/x86-64-optimize-3.d, 1648*56bb7041Schristos testsuite/gas/i386/x86-64-optimize-5.d, 1649*56bb7041Schristos testsuite/gas/i386/x86-64-optimize-6.d, 1650*56bb7041Schristos testsuite/gas/i386/x86-64-sse2avx.d: Adjust expectations. 1651*56bb7041Schristos * testsuite/gas/i386/x86-64-avx-swap-2.d, 1652*56bb7041Schristos testsuite/gas/i386/x86-64-avx-swap-2.s: New. 1653*56bb7041Schristos * testsuite/gas/i386/i386.exp: Run new test. 1654*56bb7041Schristos 1655*56bb7041Schristos2019-07-01 Jan Beulich <jbeulich@suse.com> 1656*56bb7041Schristos 1657*56bb7041Schristos * config/tc-i386.c (is_evex_encoding): Don't check for SAE. 1658*56bb7041Schristos (check_VecOperands): Simplify static rounding / SAE checking. 1659*56bb7041Schristos 1660*56bb7041Schristos2019-07-01 Jan Beulich <jbeulich@suse.com> 1661*56bb7041Schristos 1662*56bb7041Schristos * config/tc-i386.c (optimize_encoding): Make j unsigned. Handle 1663*56bb7041Schristos vpand{d,q}, vpandn{d,q}, vpor{d,q}, and vpxor{d,q}. Also check/ 1664*56bb7041Schristos clear broadcast. Eliminate a loop. 1665*56bb7041Schristos * doc/c-i386.texi: Update -O1 documentation. 1666*56bb7041Schristos * testsuite/gas/i386/optimize-1.s, 1667*56bb7041Schristos testsuite/gas/i386/optimize-2.s, 1668*56bb7041Schristos testsuite/gas/i386/optimize-3.s, 1669*56bb7041Schristos testsuite/gas/i386/optimize-5.s, 1670*56bb7041Schristos testsuite/gas/i386/x86-64-optimize-2.s, 1671*56bb7041Schristos testsuite/gas/i386/x86-64-optimize-3.s, 1672*56bb7041Schristos testsuite/gas/i386/x86-64-optimize-4.s, 1673*56bb7041Schristos testsuite/gas/i386/x86-64-optimize-6.s: Add vpand{d,q}, 1674*56bb7041Schristos vpandn{d,q}, vpor{d,q}, and vpxor{d,q} cases. 1675*56bb7041Schristos testsuite/gas/i386/optimize-1.d, 1676*56bb7041Schristos testsuite/gas/i386/optimize-1a.d, 1677*56bb7041Schristos testsuite/gas/i386/optimize-2.d, 1678*56bb7041Schristos testsuite/gas/i386/optimize-3.d, 1679*56bb7041Schristos testsuite/gas/i386/optimize-4.d, 1680*56bb7041Schristos testsuite/gas/i386/optimize-5.d, 1681*56bb7041Schristos testsuite/gas/i386/x86-64-optimize-2.d, 1682*56bb7041Schristos testsuite/gas/i386/x86-64-optimize-2a.d, 1683*56bb7041Schristos testsuite/gas/i386/x86-64-optimize-2b.d, 1684*56bb7041Schristos testsuite/gas/i386/x86-64-optimize-3.d, 1685*56bb7041Schristos testsuite/gas/i386/x86-64-optimize-4.d, 1686*56bb7041Schristos testsuite/gas/i386/x86-64-optimize-5.d, 1687*56bb7041Schristos testsuite/gas/i386/x86-64-optimize-6.d: Adjust expectations. 1688*56bb7041Schristos 1689*56bb7041Schristos2019-07-01 Jan Beulich <jbeulich@suse.com> 1690*56bb7041Schristos 1691*56bb7041Schristos * testsuite/gas/i386/avx512f_vpclmulqdq.s, 1692*56bb7041Schristos testsuite/gas/i386/avx512vl_vpclmulqdq.s, 1693*56bb7041Schristos testsuite/gas/i386/vpclmulqdq.s, 1694*56bb7041Schristos testsuite/gas/i386/x86-64-avx512f_vpclmulqdq.s, 1695*56bb7041Schristos testsuite/gas/i386/x86-64-avx512vl_vpclmulqdq.s: Add pseudo ops. 1696*56bb7041Schristos * testsuite/gas/i386/x86-64-vpclmulqdq.s: Likewise. Don't use 1697*56bb7041Schristos high 16 [xy]mm registers. 1698*56bb7041Schristos * testsuite/gas/i386/avx512f_vpclmulqdq.d, 1699*56bb7041Schristos testsuite/gas/i386/avx512f_vpclmulqdq-intel.d, 1700*56bb7041Schristos testsuite/gas/i386/avx512vl_vpclmulqdq.d, 1701*56bb7041Schristos testsuite/gas/i386/avx512vl_vpclmulqdq-intel.d, 1702*56bb7041Schristos testsuite/gas/i386/vpclmulqdq.d, 1703*56bb7041Schristos testsuite/gas/i386/vpclmulqdq-intel.d, 1704*56bb7041Schristos testsuite/gas/i386/x86-64-avx512f_vpclmulqdq.d, 1705*56bb7041Schristos testsuite/gas/i386/x86-64-avx512f_vpclmulqdq-intel.d, 1706*56bb7041Schristos testsuite/gas/i386/x86-64-avx512vl_vpclmulqdq.d, 1707*56bb7041Schristos testsuite/gas/i386/x86-64-avx512vl_vpclmulqdq-intel.d, 1708*56bb7041Schristos testsuite/gas/i386/x86-64-vpclmulqdq.d, 1709*56bb7041Schristos testsuite/gas/i386/x86-64-vpclmulqdq-intel.d: Adjust 1710*56bb7041Schristos expectations. 1711*56bb7041Schristos 1712*56bb7041Schristos2019-07-01 Jan Beulich <jbeulich@suse.com> 1713*56bb7041Schristos 1714*56bb7041Schristos * tc-i386.c (output_disp, output_imm): Use encoding_length. 1715*56bb7041Schristos 1716*56bb7041Schristos2019-07-01 Jan Beulich <jbeulich@suse.com> 1717*56bb7041Schristos 1718*56bb7041Schristos * tc-i386.c (encoding_length): New. 1719*56bb7041Schristos (output_insn): Use it. 1720*56bb7041Schristos * testsuite/gas/i386/oversized16.l, 1721*56bb7041Schristos testsuite/gas/i386/oversized16.s, 1722*56bb7041Schristos testsuite/gas/i386/oversized64.l, 1723*56bb7041Schristos testsuite/gas/i386/oversized64.s: New. 1724*56bb7041Schristos * testsuite/gas/i386/i386.exp: Run new tests. 1725*56bb7041Schristos 1726*56bb7041Schristos2019-06-27 H.J. Lu <hongjiu.lu@intel.com> 1727*56bb7041Schristos 1728*56bb7041Schristos PR binutils/24719 1729*56bb7041Schristos * testsuite/gas/i386/disassem.s: Add test for vgatherpf0dps 1730*56bb7041Schristos with invalid vector length. 1731*56bb7041Schristos * testsuite/gas/i386/x86-64-disassem.s: Likewise. 1732*56bb7041Schristos * testsuite/gas/i386/disassem.d: Updated. 1733*56bb7041Schristos * testsuite/gas/i386/x86-64-disassem.d: Likewise. 1734*56bb7041Schristos 1735*56bb7041Schristos2019-06-27 Barnaby Wilk s<barnaby.wilks@arm.com> 1736*56bb7041Schristos 1737*56bb7041Schristos * config/tc-arm.c (do_smc): Add range check for immediate operand. 1738*56bb7041Schristos (do_t_smc): Add range check for immediate operand. Remove 1739*56bb7041Schristos obsolete immediate encoding. 1740*56bb7041Schristos (md_apply_fix): Fix range check. Remove obsolete immediate encoding. 1741*56bb7041Schristos * testsuite/gas/arm/arch6zk.d: Fix test. 1742*56bb7041Schristos * testsuite/gas/arm/arch6zk.s: Fix test. 1743*56bb7041Schristos * testsuite/gas/arm/smc-bad.d: New test. 1744*56bb7041Schristos * testsuite/gas/arm/smc-bad.l: New test. 1745*56bb7041Schristos * testsuite/gas/arm/smc-bad.s: New test. 1746*56bb7041Schristos * testsuite/gas/arm/thumb32.d: Fix test. 1747*56bb7041Schristos * testsuite/gas/arm/thumb32.s: Fix test. 1748*56bb7041Schristos 1749*56bb7041Schristos2019-06-27 Jan Beulich <jbeulich@suse.com> 1750*56bb7041Schristos 1751*56bb7041Schristos config/tc-i386.c (md_assemble): Check for protected mode 1752*56bb7041Schristos incapable processor before encoding VEX and alike insns. 1753*56bb7041Schristos * testsuite/gas/i386/inval-16.s: For 80186 architecture. 1754*56bb7041Schristos * testsuite/gas/i386/inval-16.l: Adjust expectations. 1755*56bb7041Schristos * testsuite/gas/i386/avx-16bit.d, 1756*56bb7041Schristos testsuite/gas/i386/avx-16bit.s, 1757*56bb7041Schristos testsuite/gas/i386/avx512f-16bit.d, 1758*56bb7041Schristos testsuite/gas/i386/avx512f-16bit.s, 1759*56bb7041Schristos testsuite/gas/i386/bmi-16bit.d, 1760*56bb7041Schristos testsuite/gas/i386/bmi-16bit.s, 1761*56bb7041Schristos testsuite/gas/i386/bmi2-16bit.d, 1762*56bb7041Schristos testsuite/gas/i386/bmi2-16bit.s, 1763*56bb7041Schristos testsuite/gas/i386/lwp-16bit.d, 1764*56bb7041Schristos testsuite/gas/i386/lwp-16bit.s: New 1765*56bb7041Schristos testsuite/gas/i386/i386.exp: Run new tests. 1766*56bb7041Schristos 1767*56bb7041Schristos2019-06-26 Jim Wilson <jimw@sifive.com> 1768*56bb7041Schristos 1769*56bb7041Schristos * testsuite/gas/xstormy16/allinsn.sh: Change first line to 1770*56bb7041Schristos #!/bin/bash and make it executable. 1771*56bb7041Schristos * testsuite/gas/xstormy16/gcc.sh: Likewise. 1772*56bb7041Schristos 1773*56bb7041Schristos2019-06-26 Lili Cui <lili.cui@intel.com> 1774*56bb7041Schristos 1775*56bb7041Schristos * doc/c-i386.texi: Document x/y/z instruction sufffixes in AT&T 1776*56bb7041Schristos syntax and xmmword/ymmword/zmmword/fword/tbyte/oword ptr in 1777*56bb7041Schristos Intel syntax. 1778*56bb7041Schristos 1779*56bb7041Schristos2019-06-25 Faraz Shahbazker <fshahbazker@wavecomp.com> 1780*56bb7041Schristos 1781*56bb7041Schristos * config/tc-mips.c (macro) <M_LI>: Re-order MTHC1 with 1782*56bb7041Schristos respect to MTC1 and use $0 for either part where possible. 1783*56bb7041Schristos * testsuite/gas/mips/li-d.s: Add test cases for non-zero 1784*56bb7041Schristos words in double precision constants. 1785*56bb7041Schristos * testsuite/gas/mips/li-d.d: Update reference output. 1786*56bb7041Schristos * testsuite/gas/mips/micromips@isa-override-1.d: Likewise. 1787*56bb7041Schristos * testsuite/gas/mips/mips32r2@isa-override-1.d: Likewise. 1788*56bb7041Schristos * testsuite/gas/mips/mips64r2@isa-override-1.d: Likewise. 1789*56bb7041Schristos 1790*56bb7041Schristos2019-06-25 Jan Beulich <jbeulich@suse.com> 1791*56bb7041Schristos 1792*56bb7041Schristos * tc-i386.c (acc32, acc64): Delete. 1793*56bb7041Schristos (pi): Make first parameter pinter-to-const. 1794*56bb7041Schristos (type_names): Remove Acc. Add acc8, acc16, acc32, and acc64. 1795*56bb7041Schristos (pt): Use operand_type_equal(). 1796*56bb7041Schristos (match_template): Replace use of acc32. 1797*56bb7041Schristos (process_suffix): Replace use of acc64. 1798*56bb7041Schristos 1799*56bb7041Schristos2019-06-25 Jan Beulich <jbeulich@suse.com> 1800*56bb7041Schristos 1801*56bb7041Schristos * doc/c-i386.texi: Mark -mavxscalar= and -mvexwig as dangrous to 1802*56bb7041Schristos use. 1803*56bb7041Schristos 1804*56bb7041Schristos2019-06-25 Jan Beulich <jbeulich@suse.com> 1805*56bb7041Schristos 1806*56bb7041Schristos * tc-i386.c (process_suffix): Use is_any_vex_encoding(). 1807*56bb7041Schristos 1808*56bb7041Schristos2019-06-25 Jan Beulich <jbeulich@suse.com> 1809*56bb7041Schristos 1810*56bb7041Schristos * testsuite/gas/i386/sse2-16bit.d, 1811*56bb7041Schristos testsuite/gas/i386/sse2-16bit.s: New. 1812*56bb7041Schristos testsuite/gas/i386/i386.exp: Run new test. 1813*56bb7041Schristos 1814*56bb7041Schristos2019-06-25 Jan Beulich <jbeulich@suse.com> 1815*56bb7041Schristos 1816*56bb7041Schristos * config/tc-i386.c (optimize_encoding): Also handle ANDQ with 1817*56bb7041Schristos immediatie fitting in 7 bits. 1818*56bb7041Schristos * testsuite/gas/i386/x86-64-optimize-1.s: Add ANDQ cases with 1819*56bb7041Schristos 7- and 8-bit immediates. 1820*56bb7041Schristos * testsuite/gas/i386/x86-64-optimize-1.d: Adjust expectations. 1821*56bb7041Schristos 1822*56bb7041Schristos2019-06-25 Jan Beulich <jbeulich@suse.com> 1823*56bb7041Schristos 1824*56bb7041Schristos * testsuite/gas/i386/xmmword.s: Add cvtps2pi and cvttps2pi 1825*56bb7041Schristos tests. 1826*56bb7041Schristos * testsuite/gas/i386/xmmword.l: Adjust expectations. 1827*56bb7041Schristos 1828*56bb7041Schristos2019-06-25 Alan Modra <amodra@gmail.com> 1829*56bb7041Schristos 1830*56bb7041Schristos * config/tc-ppc.c (ppc_handle_align): Add parentheses. 1831*56bb7041Schristos 1832*56bb7041Schristos2019-06-25 Alan Modra <amodra@gmail.com> 1833*56bb7041Schristos 1834*56bb7041Schristos * config/tc-ppc.h (ppc_nop_select): Declare. 1835*56bb7041Schristos (NOP_OPCODE): Define. 1836*56bb7041Schristos * config/tc-ppc.c (ppc_elf_end, ppc_xcoff_end): Zero ppc_cpu. 1837*56bb7041Schristos (ppc_nop_encoding_for_rs_align_code): New enum. 1838*56bb7041Schristos (ppc_nop_select): New function. 1839*56bb7041Schristos (ppc_handle_align): Don't use ppc_cpu here. Get nop type from frag. 1840*56bb7041Schristos * testsuite/gas/ppc/groupnop.d, 1841*56bb7041Schristos * testsuite/gas/ppc/groupnop.s: New test. 1842*56bb7041Schristos * testsuite/gas/ppc/ppc.exp: Run it. 1843*56bb7041Schristos 1844*56bb7041Schristos2019-06-19 H.J. Lu <hongjiu.lu@intel.com> 1845*56bb7041Schristos 1846*56bb7041Schristos PR binutils/24700 1847*56bb7041Schristos * testsuite/gas/i386/disassem.s: Add test for vbroadcasti32x8 1848*56bb7041Schristos with invalid vector length. 1849*56bb7041Schristos * testsuite/gas/i386/x86-64-disassem.s: Likewise. 1850*56bb7041Schristos * testsuite/gas/i386/disassem.d: Updated. 1851*56bb7041Schristos * testsuite/gas/i386/x86-64-disassem.d: Likewise. 1852*56bb7041Schristos 1853*56bb7041Schristos2019-06-17 H.J. Lu <hongjiu.lu@intel.com> 1854*56bb7041Schristos 1855*56bb7041Schristos PR binutils/24691 1856*56bb7041Schristos * testsuite/gas/i386/disassem.s: Add test for vshuff32x4 with 1857*56bb7041Schristos invalid vector length. 1858*56bb7041Schristos * testsuite/gas/i386/x86-64-disassem.s: Likewise. 1859*56bb7041Schristos * testsuite/gas/i386/disassem.d: Updated. 1860*56bb7041Schristos * testsuite/gas/i386/x86-64-disassem.d: Likewise. 1861*56bb7041Schristos 1862*56bb7041Schristos2019-06-14 Alan Modra <amodra@gmail.com> 1863*56bb7041Schristos 1864*56bb7041Schristos * Makefile.in: Regenerate. 1865*56bb7041Schristos * configure: Regenerate. 1866*56bb7041Schristos * doc/Makefile.in: Regenerate. 1867*56bb7041Schristos 1868*56bb7041Schristos2019-06-12 Peter Bergner <bergner@linux.ibm.com> 1869*56bb7041Schristos 1870*56bb7041Schristos * testsuite/gas/ppc/power9.d: Delete ldmx tests. 1871*56bb7041Schristos * testsuite/gas/ppc/power9.s: Likewise. 1872*56bb7041Schristos 1873*56bb7041Schristos2019-06-06 Lili Cui <lili.cui@intel.com> 1874*56bb7041Schristos 1875*56bb7041Schristos * config/tc-i386.c (cpu_arch): Add .enqcmd. 1876*56bb7041Schristos (cpu_noarch): Add noenqcmd. 1877*56bb7041Schristos * doc/c-i386.texi: Document noenqcmd. 1878*56bb7041Schristos 1879*56bb7041Schristos2019-06-05 H.J. Lu <hongjiu.lu@intel.com> 1880*56bb7041Schristos 1881*56bb7041Schristos PR binutils/24633 1882*56bb7041Schristos * testsuite/gas/i386/disassem.s: Add tests for invalid vector 1883*56bb7041Schristos lengths for EVEX vextractfXX and vinsertfXX. 1884*56bb7041Schristos * testsuite/gas/i386/x86-64-disassem.s: Likewise. 1885*56bb7041Schristos * testsuite/gas/i386/disassem.d: Updated. 1886*56bb7041Schristos * testsuite/gas/i386/x86-64-disassem.d: Likewise. 1887*56bb7041Schristos 1888*56bb7041Schristos2019-06-04 H.J. Lu <hongjiu.lu@intel.com> 1889*56bb7041Schristos 1890*56bb7041Schristos PR binutils/24626 1891*56bb7041Schristos * testsuite/gas/i386/disassem.s: Add tests for reserved VEX.vvvv 1892*56bb7041Schristos and EVEX.vvvv. 1893*56bb7041Schristos * testsuite/gas/i386/x86-64-disassem.s: Likewise. 1894*56bb7041Schristos * testsuite/gas/i386/disassem.d: Updated. 1895*56bb7041Schristos * testsuite/gas/i386/x86-64-disassem.d: Likewise. 1896*56bb7041Schristos 1897*56bb7041Schristos2019-06-04 Igor Tsimbalist <igor.v.tsimbalist@intel.com> 1898*56bb7041Schristos Lili Cui <lili.cui@intel.com> 1899*56bb7041Schristos 1900*56bb7041Schristos * config/tc-i386.c (cpu_arch): Add .avx512_vp2intersect. 1901*56bb7041Schristos (cpu_noarch): Likewise. 1902*56bb7041Schristos * doc/c-i386.texi: Document avx512_vp2intersect. 1903*56bb7041Schristos * testsuite/gas/i386/i386.exp: Run vp2intersect tests. 1904*56bb7041Schristos * testsuite/gas/i386/vp2intersect-intel.d: New test. 1905*56bb7041Schristos * testsuite/gas/i386/vp2intersect.d: Likewise. 1906*56bb7041Schristos * testsuite/gas/i386/vp2intersect.s: Likewise. 1907*56bb7041Schristos * testsuite/gas/i386/vp2intersect-inval-bcast.l: Likewise. 1908*56bb7041Schristos * testsuite/gas/i386/vp2intersect-inval-bcast.s: Likewise. 1909*56bb7041Schristos * testsuite/gas/i386/x86-64-vp2intersect-intel.d: Likewise. 1910*56bb7041Schristos * testsuite/gas/i386/x86-64-vp2intersect.d: Likewise. 1911*56bb7041Schristos * testsuite/gas/i386/x86-64-vp2intersect.s: Likewise. 1912*56bb7041Schristos * testsuite/gas/i386/x86-64-vp2intersect-inval-bcast.l: Likewise. 1913*56bb7041Schristos * testsuite/gas/i386/x86-64-vp2intersect-inval-bcast.s: Likewise. 1914*56bb7041Schristos 1915*56bb7041Schristos2019-06-04 Xuepeng Guo <xuepeng.guo@intel.com> 1916*56bb7041Schristos Lili Cui <lili.cui@intel.com> 1917*56bb7041Schristos 1918*56bb7041Schristos * doc/c-i386.texi: Document enqcmd. 1919*56bb7041Schristos * testsuite/gas/i386/enqcmd-intel.d: New file. 1920*56bb7041Schristos * testsuite/gas/i386/enqcmd-inval.l: Likewise. 1921*56bb7041Schristos * testsuite/gas/i386/enqcmd-inval.s: Likewise. 1922*56bb7041Schristos * testsuite/gas/i386/enqcmd.d: Likewise. 1923*56bb7041Schristos * testsuite/gas/i386/enqcmd.s: Likewise. 1924*56bb7041Schristos * testsuite/gas/i386/x86-64-enqcmd-intel.d: Likewise. 1925*56bb7041Schristos * testsuite/gas/i386/x86-64-enqcmd-inval.l: Likewise. 1926*56bb7041Schristos * testsuite/gas/i386/x86-64-enqcmd-inval.s: Likewise. 1927*56bb7041Schristos * testsuite/gas/i386/x86-64-enqcmd.d: Likewise. 1928*56bb7041Schristos * testsuite/gas/i386/x86-64-enqcmd.s: Likewise. 1929*56bb7041Schristos * testsuite/gas/i386/i386.exp: Run enqcmd-intel, enqcmd-inval, 1930*56bb7041Schristos enqcmd, x86-64-enqcmd-intel, x86-64-enqcmd-inval, 1931*56bb7041Schristos and x86-64-enqcmd. 1932*56bb7041Schristos 1933*56bb7041Schristos2019-05-30 Jim Wilson <jimw@sifive.com> 1934*56bb7041Schristos 1935*56bb7041Schristos * config/tc-riscv.c (riscv_ip) <'u'>: Move O_constant check inside if 1936*56bb7041Schristos statement. Delete O_symbol and O_constant check after if statement. 1937*56bb7041Schristos * testsuite/gas/riscv/auipc-parsing.s: Test lui with missing %hi. 1938*56bb7041Schristos * testsuite/gas/riscv/auipc-parsing.l: Update. 1939*56bb7041Schristos 1940*56bb7041Schristos2019-05-28 H.J. Lu <hongjiu.lu@intel.com> 1941*56bb7041Schristos 1942*56bb7041Schristos PR gas/24625 1943*56bb7041Schristos * testsuite/gas/i386/inval-avx512f.s: Add tests for AVX512_BF16 1944*56bb7041Schristos instructions with invalid broadcast. 1945*56bb7041Schristos * testsuite/gas/i386/x86-64-inval-avx512f.s: Likewise. 1946*56bb7041Schristos * testsuite/gas/i386/inval-avx512f.l: Updated. 1947*56bb7041Schristos * testsuite/gas/i386/x86-64-inval-avx512f.l: Likewise. 1948*56bb7041Schristos 1949*56bb7041Schristos2019-05-27 Alan Modra <amodra@gmail.com> 1950*56bb7041Schristos 1951*56bb7041Schristos * config/tc-ppc.c (is_ppc64_target): New function. 1952*56bb7041Schristos (md_show_usage): Split up usage message. Don't show -a64 when 1953*56bb7041Schristos unsupported. 1954*56bb7041Schristos testsuite/gas/ppc/ppc.exp (supports_ppc64): New. 1955*56bb7041Schristos (prefix-reloc): Only run for ppc64. 1956*56bb7041Schristos 1957*56bb7041Schristos2019-05-24 Szabolcs Nagy <szabolcs.nagy@arm.com> 1958*56bb7041Schristos 1959*56bb7041Schristos * config/tc-aarch64.c (aarch64_elf_copy_symbol_attributes): Define. 1960*56bb7041Schristos * config/tc-aarch64.h (aarch64_elf_copy_symbol_attributes): Declare. 1961*56bb7041Schristos (OBJ_COPY_SYMBOL_ATTRIBUTES): Define. 1962*56bb7041Schristos * testsuite/gas/aarch64/symbol-variant_pcs-3.d: New test. 1963*56bb7041Schristos * testsuite/gas/aarch64/symbol-variant_pcs-3.s: New test. 1964*56bb7041Schristos 1965*56bb7041Schristos2019-05-24 Szabolcs Nagy <szabolcs.nagy@arm.com> 1966*56bb7041Schristos 1967*56bb7041Schristos * config/tc-aarch64.c (s_variant_pcs): New function. 1968*56bb7041Schristos * doc/c-aarch64.texi: Document .variant_pcs. 1969*56bb7041Schristos * testsuite/gas/aarch64/symbol-variant_pcs-1.d: New test. 1970*56bb7041Schristos * testsuite/gas/aarch64/symbol-variant_pcs-1.s: New test. 1971*56bb7041Schristos * testsuite/gas/aarch64/symbol-variant_pcs-2.d: New test. 1972*56bb7041Schristos * testsuite/gas/aarch64/symbol-variant_pcs-2.s: New test. 1973*56bb7041Schristos 1974*56bb7041Schristos2019-05-24 Alan Modra <amodra@gmail.com> 1975*56bb7041Schristos 1976*56bb7041Schristos * po/POTFILES.in: Regenerate. 1977*56bb7041Schristos 1978*56bb7041Schristos2019-05-24 Alan Modra <amodra@gmail.com> 1979*56bb7041Schristos 1980*56bb7041Schristos * config/tc-ppc.c (ppc_elf_suffix): Support @pcrel, @got@pcrel, 1981*56bb7041Schristos @plt@pcrel, @higher34, @highera34, @highest34, and @highesta34. 1982*56bb7041Schristos (fixup_size): Handle new powerxx relocs. 1983*56bb7041Schristos (md_assemble): Warn for @pcrel on non-prefix insns. 1984*56bb7041Schristos Accept @l, @h and @ha on prefix insns, and infer reloc without 1985*56bb7041Schristos any @ suffix. Translate powerxx relocs to suit DQ and DS field 1986*56bb7041Schristos instructions. Include operand tests as well as opcode test to 1987*56bb7041Schristos translate BFD_RELOC_HI16_S to BFD_RELOC_PPC_16DX_HA. 1988*56bb7041Schristos (ppc_fix_adjustable): Return false for pcrel GOT and PLT relocs. 1989*56bb7041Schristos (md_apply_fix): Handle new powerxx relocs. 1990*56bb7041Schristos * config/tc-ppc.h (TC_FORCE_RELOCATION_SUB_LOCAL): Accept 1991*56bb7041Schristos BFD_RELOC_PPC64_ADDR16_HIGHER34, BFD_RELOC_PPC64_ADDR16_HIGHERA34, 1992*56bb7041Schristos BFD_RELOC_PPC64_ADDR16_HIGHEST34, BFD_RELOC_PPC64_ADDR16_HIGHESTA34, 1993*56bb7041Schristos BFD_RELOC_PPC64_D34, and BFD_RELOC_PPC64_D28. 1994*56bb7041Schristos * testsuite/gas/ppc/prefix-reloc.d, 1995*56bb7041Schristos * testsuite/gas/ppc/prefix-reloc.s: New test. 1996*56bb7041Schristos * testsuite/gas/ppc/ppc.exp: Run it. 1997*56bb7041Schristos 1998*56bb7041Schristos2019-05-24 Peter Bergner <bergner@linux.ibm.com> 1999*56bb7041Schristos Alan Modra <amodra@gmail.com> 2000*56bb7041Schristos 2001*56bb7041Schristos * config/tc-ppc.c (ppc_insert_operand): Only sign extend fields that 2002*56bb7041Schristos are 32-bits or smaller. 2003*56bb7041Schristos * messages.c (as_internal_value_out_of_range): Do not truncate 2004*56bb7041Schristos variables and use BFD_VMA_FMT to print them. 2005*56bb7041Schristos * testsuite/gas/ppc/prefix-pcrel.s, 2006*56bb7041Schristos * testsuite/gas/ppc/prefix-pcrel.d: New test. 2007*56bb7041Schristos * testsuite/gas/ppc/ppc.exp: Run it. 2008*56bb7041Schristos 2009*56bb7041Schristos2019-05-24 Peter Bergner <bergner@linux.ibm.com> 2010*56bb7041Schristos Alan Modra <amodra@gmail.com> 2011*56bb7041Schristos 2012*56bb7041Schristos * config/tc-ppc.c (ppc_setup_opcodes): Handle prefix_opcodes. 2013*56bb7041Schristos (struct insn_label_list): New. 2014*56bb7041Schristos (insn_labels, free_insn_labels): New variables. 2015*56bb7041Schristos (ppc_record_label, ppc_clear_labels, ppc_start_line_hook): New funcs. 2016*56bb7041Schristos (ppc_frob_label, ppc_new_dot_label): Move functions earlier in file 2017*56bb7041Schristos and call ppc_record_label. 2018*56bb7041Schristos (md_assemble): Handle 64-bit prefix instructions. Align labels 2019*56bb7041Schristos that are on the same line as a prefix instruction. 2020*56bb7041Schristos * config/tc-ppc.h (tc_frob_label, ppc_frob_label): Move to 2021*56bb7041Schristos later in the file. 2022*56bb7041Schristos (md_start_line_hook): Define. 2023*56bb7041Schristos (ppc_start_line_hook): Declare. 2024*56bb7041Schristos * testsuite/gas/ppc/prefix-align.d, 2025*56bb7041Schristos * testsuite/gas/ppc/prefix-align.s: New test. 2026*56bb7041Schristos * testsuite/gas/ppc/ppc.exp: Run new test. 2027*56bb7041Schristos 2028*56bb7041Schristos2019-05-23 Jose E. Marchesi <jose.marchesi@oracle.com> 2029*56bb7041Schristos 2030*56bb7041Schristos * configure.ac: Handle bpf-*-* targets. 2031*56bb7041Schristos * configure.tgt (generic_target): Likewise. 2032*56bb7041Schristos * configure: Regenerate. 2033*56bb7041Schristos * Makefile.am (TARGET_CPU_CFILES): Add tc-bpf.c. 2034*56bb7041Schristos (TARGET_CPU_HFILES): Add tc-bpf.h. 2035*56bb7041Schristos * Makefile.in: Regenerated. 2036*56bb7041Schristos * config/tc-bpf.c: New file. 2037*56bb7041Schristos * config/tc-bpf.h: Likewise. 2038*56bb7041Schristos * doc/Makefile.am (CPU_DOCS): Add c-bpf.texi. 2039*56bb7041Schristos * doc/Makefile.in: Regenerated. 2040*56bb7041Schristos * doc/all.texi: set BPF. 2041*56bb7041Schristos * doc/as.texi: Add eBPF contents. 2042*56bb7041Schristos * doc/c-bpf.texi: New file. 2043*56bb7041Schristos * testsuite/gas/bpf/alu.d: New file. 2044*56bb7041Schristos * testsuite/gas/bpf/mem-be.d: Likewise. 2045*56bb7041Schristos * testsuite/gas/bpf/mem.s: Likewise. 2046*56bb7041Schristos * testsuite/gas/bpf/mem.d: Likewise. 2047*56bb7041Schristos * testsuite/gas/bpf/lddw-be.d: Likewise. 2048*56bb7041Schristos * testsuite/gas/bpf/lddw.s: Likewise. 2049*56bb7041Schristos * testsuite/gas/bpf/lddw.d: Likewise. 2050*56bb7041Schristos * testsuite/gas/bpf/jump-be.d: Likewise. 2051*56bb7041Schristos * testsuite/gas/bpf/jump.s: Likewise. 2052*56bb7041Schristos * testsuite/gas/bpf/jump.d: Likewise. 2053*56bb7041Schristos * testsuite/gas/bpf/exit-be.d: Likewise. 2054*56bb7041Schristos * testsuite/gas/bpf/exit.s: Likewise. 2055*56bb7041Schristos * testsuite/gas/bpf/exit.d: Likewise. 2056*56bb7041Schristos * testsuite/gas/bpf/call-be.d: Likewise. 2057*56bb7041Schristos * testsuite/gas/bpf/call.s: Likewise. 2058*56bb7041Schristos * testsuite/gas/bpf/call.d: Likewise. 2059*56bb7041Schristos * testsuite/gas/bpf/bpf.exp: Likewise. 2060*56bb7041Schristos * testsuite/gas/bpf/atomic-be.d: Likewise. 2061*56bb7041Schristos * testsuite/gas/bpf/atomic.s: Likewise. 2062*56bb7041Schristos * testsuite/gas/bpf/atomic.d: Likewise. 2063*56bb7041Schristos * testsuite/gas/bpf/alu-be.d: Likewise. 2064*56bb7041Schristos * testsuite/gas/bpf/alu32-be.d: Likewise. 2065*56bb7041Schristos * testsuite/gas/bpf/alu32.s: Likewise. 2066*56bb7041Schristos * testsuite/gas/bpf/alu32.d: Likewise. 2067*56bb7041Schristos * testsuite/gas/bpf/alu.s: Likewise. 2068*56bb7041Schristos * testsuite/gas/all/gas.exp: Introduce a nop_type for eBPF. 2069*56bb7041Schristos * testsuite/gas/all/org-1.s: Support nop_type 6. 2070*56bb7041Schristos * testsuite/gas/all/org-1.l: Updated to reflect changes in 2071*56bb7041Schristos org-1.s. 2072*56bb7041Schristos 2073*56bb7041Schristos2019-05-22 John Darrington <john@darrington.wattle.id.au> 2074*56bb7041Schristos 2075*56bb7041Schristos * config/tc-s12z.c (s12z_strtol): New function. (md_show_usage): Update. 2076*56bb7041Schristos (md_parse_option): new case OPTION_DOLLAR_HEX. (s12z_init_after_args): 2077*56bb7041Schristos (<global>): Use s12z_strtol instead of strtol. 2078*56bb7041Schristos * doc/c-s12z.texi (S12Z Options): Document new option -mdollar-hex. 2079*56bb7041Schristos * testsuite/gas/s12z/dollar-hex.d: New file. 2080*56bb7041Schristos * testsuite/gas/s12z/dollar-hex.s: New file. 2081*56bb7041Schristos * testsuite/gas/s12z/s12z.exp: Add them. 2082*56bb7041Schristos 2083*56bb7041Schristos2019-05-21 Sudakshina Das <sudi.das@arm.com> 2084*56bb7041Schristos 2085*56bb7041Schristos * config/tc-arm.c (parse_operands): Update case OP_RVC to 2086*56bb7041Schristos parse p0 and P0. 2087*56bb7041Schristos (do_vmrs): Add checks for valid operands with respect to 2088*56bb7041Schristos cpu and fpu options. 2089*56bb7041Schristos (do_vmsr): Likewise. 2090*56bb7041Schristos (reg_names): New reg_names for FPSCR_nzcvqc, VPR, FPCXT_NS 2091*56bb7041Schristos and FPCXT_S. 2092*56bb7041Schristos * testsuite/gas/arm/armv8_1-m-spec-reg.d: New. 2093*56bb7041Schristos * testsuite/gas/arm/armv8_1-m-spec-reg.s: New. 2094*56bb7041Schristos * testsuite/gas/arm/armv8_1-m-spec-reg-bad1.d: New. 2095*56bb7041Schristos * testsuite/gas/arm/armv8_1-m-spec-reg-bad2.d: New. 2096*56bb7041Schristos * testsuite/gas/arm/armv8_1-m-spec-reg-bad3.d: New. 2097*56bb7041Schristos * testsuite/gas/arm/armv8_1-m-spec-reg-bad1.l: New. 2098*56bb7041Schristos * testsuite/gas/arm/armv8_1-m-spec-reg-bad2.l: New. 2099*56bb7041Schristos * testsuite/gas/arm/armv8_1-m-spec-reg-bad3.l: New. 2100*56bb7041Schristos * testsuite/gas/arm/vfp1xD.d: Updated to allow new valid values. 2101*56bb7041Schristos * testsuite/gas/arm/vfp1xD_t2.d: Likewise. 2102*56bb7041Schristos 2103*56bb7041Schristos2019-05-21 Sudakshina Das <sudi.das@arm.com> 2104*56bb7041Schristos 2105*56bb7041Schristos * config/tc-arm.c (TOGGLE_BIT): New. 2106*56bb7041Schristos (T16_32_TAB): New entries for cinc, cinv, cneg, csinc, 2107*56bb7041Schristos csinv, csneg, cset, csetm and csel. 2108*56bb7041Schristos (operand_parse_code): New OP_RR_ZR. 2109*56bb7041Schristos (parse_operand): Handle case for OP_RR_ZR. 2110*56bb7041Schristos (do_t_cond): New. 2111*56bb7041Schristos (insns): New instructions for cinc, cinv, cneg, csinc, 2112*56bb7041Schristos csinv, csneg, cset, csetm, csel. 2113*56bb7041Schristos * testsuite/gas/arm/armv8_1-m-cond-bad.d: New test. 2114*56bb7041Schristos * testsuite/gas/arm/armv8_1-m-cond-bad.l: New test. 2115*56bb7041Schristos * testsuite/gas/arm/armv8_1-m-cond-bad.s: New test. 2116*56bb7041Schristos * testsuite/gas/arm/armv8_1-m-cond.d: New test. 2117*56bb7041Schristos * testsuite/gas/arm/armv8_1-m-cond.s: New test. 2118*56bb7041Schristos 2119*56bb7041Schristos2019-05-21 Sudakshina Das <sudi.das@arm.com> 2120*56bb7041Schristos 2121*56bb7041Schristos * config/tc-arm.c (operand_parse_code): New entries for 2122*56bb7041Schristos OP_RRnpcsp_I32 (register or integer operands). 2123*56bb7041Schristos (do_mve_scalar_shift): New. 2124*56bb7041Schristos (insns): New instructions for asrl, lsll, lsrl, sqrshrl, sqrshr, sqshl 2125*56bb7041Schristos sqshll, srshr, srshrl, uqrshll, uqrshl, uqshll, uqshl, urshrl and urshr. 2126*56bb7041Schristos * testsuite/gas/arm/mve-shift.d: New. 2127*56bb7041Schristos * testsuite/gas/arm/mve-shift.s: New. 2128*56bb7041Schristos * testsuite/gas/arm/mve-shift-bad.d: New. 2129*56bb7041Schristos * testsuite/gas/arm/mve-shift-bad.s: New. 2130*56bb7041Schristos * testsuite/gas/arm/mve-shift-bad.l: New. 2131*56bb7041Schristos 2132*56bb7041Schristos2019-05-21 Faraz Shahbazker <fshahbazker@wavecomp.com> 2133*56bb7041Schristos 2134*56bb7041Schristos * testsuite/gas/mips/r6-branch-constraints.s: Rename to ... 2135*56bb7041Schristos * testsuite/gas/mips/r6-reg-constraints.s: this and add test 2136*56bb7041Schristos case for DAUI. 2137*56bb7041Schristos * testsuite/gas/mips/r6-branch-constraints.l: Rename to ... 2138*56bb7041Schristos * testsuite/gas/mips/r6-reg-constraints.l: this and add test 2139*56bb7041Schristos for DAUI. 2140*56bb7041Schristos * testsuite/gas/mips/mips.exp: Rename test from 2141*56bb7041Schristos r6-branch-constraints to r6-reg-constraints. 2142*56bb7041Schristos 2143*56bb7041Schristos2019-05-21 Andre Vieira <andre.simoesdiasvieira@arm.com> 2144*56bb7041Schristos 2145*56bb7041Schristos PR 24559 2146*56bb7041Schristos * config/tc-arm.c (move_or_literal_pool): Set size_req to 0 for MOVW 2147*56bb7041Schristos replacement. 2148*56bb7041Schristos * testsuite/gas/arm/load-pseudo.s: New test input. 2149*56bb7041Schristos * testsuite/gas/arm/m0-load-pseudo.d: New test. 2150*56bb7041Schristos * testsuite/gas/arm/m23-load-pseudo.d: New test. 2151*56bb7041Schristos * testsuite/gas/arm/m33-load-pseudo.d: New test. 2152*56bb7041Schristos 2153*56bb7041Schristos2019-05-21 Andre Vieira <andre.simoesdiasvieira@arm.com> 2154*56bb7041Schristos 2155*56bb7041Schristos * testsuite/gas/arm/armv8_1-m-bf.d: Allow different branch target naming 2156*56bb7041Schristos conventions. 2157*56bb7041Schristos * testsuite/gas/arm/armv8_1-m-bfl.d: Likewise. 2158*56bb7041Schristos * testsuite/gas/arm/armv8_1-m-bfcsel.d: Likewise. 2159*56bb7041Schristos * testsuite/gas/arm/armv8_1-m-loloop.d: Likewise. 2160*56bb7041Schristos * testsuite/gas/arm/armv8_1-m-bf-rel.d: Skip for vxworks. 2161*56bb7041Schristos * testsuite/gas/arm/armv8_1-m-bf-rela.d: New test. 2162*56bb7041Schristos * testsuite/gas/arm/armv8_1-m-bfl-rel.d: Skip for vxworks. 2163*56bb7041Schristos * testsuite/gas/arm/armv8_1-m-bfl-rela.d: New test. 2164*56bb7041Schristos 2165*56bb7041Schristos2019-05-21 John Darrington <john@darrington.wattle.id.au> 2166*56bb7041Schristos 2167*56bb7041Schristos * expr.c (literal_prefix_dollar_hex): New variable. 2168*56bb7041Schristos (operand)[case '$']: Use the new variable instead of the old macro. 2169*56bb7041Schristos Also, move this instance of "case '$'" next to the other one, and 2170*56bb7041Schristos enable it only in the complementary proprocessor case. 2171*56bb7041Schristos * expr.h (literal_prefix_dollar_hex): Declare it. 2172*56bb7041Schristos * config/tc-epiphany.c (md_begin): Assign literal_prefix_dollar_hex. 2173*56bb7041Schristos * config/tc-ip2k.c: ditto 2174*56bb7041Schristos * config/tc-mt.c: ditto 2175*56bb7041Schristos * config/tc-epiphany.h (LITERAL_PREFIXDOLLAR_HEX): Remove macro definition. 2176*56bb7041Schristos * config/tc-ip2k.h: ditto 2177*56bb7041Schristos * config/tc-mt.h: ditto 2178*56bb7041Schristos 2179*56bb7041Schristos2019-05-20 Faraz Shahbazker <fshahbazker@wavecomp.com> 2180*56bb7041Schristos 2181*56bb7041Schristos PR 14798 2182*56bb7041Schristos * config/tc-mips.c (s_mips_globl): Only treat symbols that are 2183*56bb7041Schristos not explicitly labelled as BSF_OBJECTs for IRIX targets. 2184*56bb7041Schristos * testsuite/gas/mips/pr14798.s: New test source. 2185*56bb7041Schristos * testsuite/gas/mips/pr14798-irix.d: New test. 2186*56bb7041Schristos * testsuite/gas/mips/pr14798.d: Likewise. 2187*56bb7041Schristos * testsuite/gas/mips/mips.exp: Run the new tests. 2188*56bb7041Schristos 2189*56bb7041Schristos2019-05-17 John Darrington <john@darrington.wattle.id.au> 2190*56bb7041Schristos 2191*56bb7041Schristos * doc/c-arm.texi (ARM Options): Remove "(r)" and "(tm)" 2192*56bb7041Schristos * doc/c-bfin.texi (Blackfin Syntax): Remove "(r)" 2193*56bb7041Schristos 2194*56bb7041Schristos2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com> 2195*56bb7041Schristos 2196*56bb7041Schristos * config/tc-arm.c (check_simd_pred_availability): Refactor. 2197*56bb7041Schristos (do_neon_dyadic_i_su): Refactor use of check_simd_pred_availability. 2198*56bb7041Schristos (do_neon_dyadic_i64_su): Likewise. 2199*56bb7041Schristos (do_neon_shl): Likewise. 2200*56bb7041Schristos (do_neon_qshl): Likewise. 2201*56bb7041Schristos (do_neon_rshl): Likewise. 2202*56bb7041Schristos (do_neon_logic): Likewise. 2203*56bb7041Schristos (do_neon_dyadic_if_su): Likewise. 2204*56bb7041Schristos (do_neon_addsub_if_i): Likewise. 2205*56bb7041Schristos (do_neon_mac_maybe_scalar): Likewise. 2206*56bb7041Schristos (do_neon_fmac): Likewise. 2207*56bb7041Schristos (do_neon_mul): Likewise. 2208*56bb7041Schristos (do_neon_qdmulh): Likewise. 2209*56bb7041Schristos (do_neon_qrdmlah): Likewise. 2210*56bb7041Schristos (do_neon_abs_neg): Likewise. 2211*56bb7041Schristos (do_neon_sli): Likewise. 2212*56bb7041Schristos (do_neon_sri): Likewise. 2213*56bb7041Schristos (do_neon_qshlu_imm): Likewise. 2214*56bb7041Schristos (do_neon_cvt_1): Likewise. 2215*56bb7041Schristos (do_neon_cvttb_1): Likewise. 2216*56bb7041Schristos (do_neon_mvn): Likewise. 2217*56bb7041Schristos (do_neon_rev): Likewise. 2218*56bb7041Schristos (do_neon_dup): Likewise. 2219*56bb7041Schristos (do_neon_mov): Likewise. 2220*56bb7041Schristos (do_neon_rshift_round_imm): Likewise. 2221*56bb7041Schristos (do_neon_sat_abs_neg): Likewise. 2222*56bb7041Schristos (do_neon_cls): Likewise. 2223*56bb7041Schristos (do_neon_clz): Likewise. 2224*56bb7041Schristos (do_vmaxnm): Likewise. 2225*56bb7041Schristos (do_vrint_1): Likewise. 2226*56bb7041Schristos (do_vcmla): Likewise. 2227*56bb7041Schristos (do_vcadd): Likewise. 2228*56bb7041Schristos 2229*56bb7041Schristos2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com> 2230*56bb7041Schristos 2231*56bb7041Schristos * NEWS: Mention Armv8.1-M Mainline and MVE. 2232*56bb7041Schristos 2233*56bb7041Schristos2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com> 2234*56bb7041Schristos 2235*56bb7041Schristos * testsuite/gas/arm/mve-tailpredloop.d: New test. 2236*56bb7041Schristos * testsuite/gas/arm/mve-tailpredloop.s: New test. 2237*56bb7041Schristos * testsuite/gas/arm/mve-vabav.d: New test. 2238*56bb7041Schristos * testsuite/gas/arm/mve-vabav.s: New test. 2239*56bb7041Schristos * testsuite/gas/arm/mve-vabd.d: New test. 2240*56bb7041Schristos * testsuite/gas/arm/mve-vabd.s: New test. 2241*56bb7041Schristos * testsuite/gas/arm/mve-vabsneg.d: New test. 2242*56bb7041Schristos * testsuite/gas/arm/mve-vabsneg.s: New test. 2243*56bb7041Schristos * testsuite/gas/arm/mve-vadc.d: New test. 2244*56bb7041Schristos * testsuite/gas/arm/mve-vadc.s: New test. 2245*56bb7041Schristos * testsuite/gas/arm/mve-vaddlv.d: New test. 2246*56bb7041Schristos * testsuite/gas/arm/mve-vaddlv.s: New test. 2247*56bb7041Schristos * testsuite/gas/arm/mve-vaddsub.d: New test. 2248*56bb7041Schristos * testsuite/gas/arm/mve-vaddsub.s: New test. 2249*56bb7041Schristos * testsuite/gas/arm/mve-vaddv.d: New test. 2250*56bb7041Schristos * testsuite/gas/arm/mve-vaddv.s: New test. 2251*56bb7041Schristos * testsuite/gas/arm/mve-vand.d: New test. 2252*56bb7041Schristos * testsuite/gas/arm/mve-vand.s: New test. 2253*56bb7041Schristos * testsuite/gas/arm/mve-vbic.d: New test. 2254*56bb7041Schristos * testsuite/gas/arm/mve-vbic.s: New test. 2255*56bb7041Schristos * testsuite/gas/arm/mve-vbrsr.d: New test. 2256*56bb7041Schristos * testsuite/gas/arm/mve-vbrsr.s: New test. 2257*56bb7041Schristos * testsuite/gas/arm/mve-vcadd.d: New test. 2258*56bb7041Schristos * testsuite/gas/arm/mve-vcadd.s: New test. 2259*56bb7041Schristos * testsuite/gas/arm/mve-vcls.d: New test. 2260*56bb7041Schristos * testsuite/gas/arm/mve-vcls.s: New test. 2261*56bb7041Schristos * testsuite/gas/arm/mve-vclz.d: New test. 2262*56bb7041Schristos * testsuite/gas/arm/mve-vclz.s: New test. 2263*56bb7041Schristos * testsuite/gas/arm/mve-vcmla.d: New test. 2264*56bb7041Schristos * testsuite/gas/arm/mve-vcmla.s: New test. 2265*56bb7041Schristos * testsuite/gas/arm/mve-vcmp.d: New test. 2266*56bb7041Schristos * testsuite/gas/arm/mve-vcmp.s: New test. 2267*56bb7041Schristos * testsuite/gas/arm/mve-vcmul.d: New test. 2268*56bb7041Schristos * testsuite/gas/arm/mve-vcmul.s: New test. 2269*56bb7041Schristos * testsuite/gas/arm/mve-vcvt-1.d: New test. 2270*56bb7041Schristos * testsuite/gas/arm/mve-vcvt-1.s: New test. 2271*56bb7041Schristos * testsuite/gas/arm/mve-vcvt-2.d: New test. 2272*56bb7041Schristos * testsuite/gas/arm/mve-vcvt-2.s: New test. 2273*56bb7041Schristos * testsuite/gas/arm/mve-vcvt-3.d: New test. 2274*56bb7041Schristos * testsuite/gas/arm/mve-vcvt-3.s: New test. 2275*56bb7041Schristos * testsuite/gas/arm/mve-vcvt-4.d: New test. 2276*56bb7041Schristos * testsuite/gas/arm/mve-vcvt-4.s: New test. 2277*56bb7041Schristos * testsuite/gas/arm/mve-vddup.d: New test. 2278*56bb7041Schristos * testsuite/gas/arm/mve-vddup.s: New test. 2279*56bb7041Schristos * testsuite/gas/arm/mve-vdup.d: New test. 2280*56bb7041Schristos * testsuite/gas/arm/mve-vdup.s: New test. 2281*56bb7041Schristos * testsuite/gas/arm/mve-veor.d: New test. 2282*56bb7041Schristos * testsuite/gas/arm/mve-veor.s: New test. 2283*56bb7041Schristos * testsuite/gas/arm/mve-vfma-vfms.d: New test. 2284*56bb7041Schristos * testsuite/gas/arm/mve-vfma-vfms.s: New test. 2285*56bb7041Schristos * testsuite/gas/arm/mve-vfmas.d: New test. 2286*56bb7041Schristos * testsuite/gas/arm/mve-vfmas.s: New test. 2287*56bb7041Schristos * testsuite/gas/arm/mve-vhadd-vhsub-vrhadd.d: New test. 2288*56bb7041Schristos * testsuite/gas/arm/mve-vhadd-vhsub-vrhadd.s: New test. 2289*56bb7041Schristos * testsuite/gas/arm/mve-vhcadd.d: New test. 2290*56bb7041Schristos * testsuite/gas/arm/mve-vhcadd.s: New test. 2291*56bb7041Schristos * testsuite/gas/arm/mve-vmax-vmin.d: New test. 2292*56bb7041Schristos * testsuite/gas/arm/mve-vmax-vmin.s: New test. 2293*56bb7041Schristos * testsuite/gas/arm/mve-vmaxa-vmina.d: New test. 2294*56bb7041Schristos * testsuite/gas/arm/mve-vmaxa-vmina.s: New test. 2295*56bb7041Schristos * testsuite/gas/arm/mve-vmaxnm-vminnm.d: New test. 2296*56bb7041Schristos * testsuite/gas/arm/mve-vmaxnm-vminnm.s: New test. 2297*56bb7041Schristos * testsuite/gas/arm/mve-vmaxnma-vminnma.s: New test. 2298*56bb7041Schristos * testsuite/gas/arm/mve-vmaxnmv-vminnmv.d: New test. 2299*56bb7041Schristos * testsuite/gas/arm/mve-vmaxnmv-vminnmv.s: New test. 2300*56bb7041Schristos * testsuite/gas/arm/mve-vmaxv-vminv.d: New test. 2301*56bb7041Schristos * testsuite/gas/arm/mve-vmaxv-vminv.s: New test. 2302*56bb7041Schristos * testsuite/gas/arm/mve-vmla.d: New test. 2303*56bb7041Schristos * testsuite/gas/arm/mve-vmla.s: New test. 2304*56bb7041Schristos * testsuite/gas/arm/mve-vmladav.d: New test. 2305*56bb7041Schristos * testsuite/gas/arm/mve-vmladav.s: New test. 2306*56bb7041Schristos * testsuite/gas/arm/mve-vmlaldav.d: New test. 2307*56bb7041Schristos * testsuite/gas/arm/mve-vmlaldav.s: New test. 2308*56bb7041Schristos * testsuite/gas/arm/mve-vmlalv.d: New test. 2309*56bb7041Schristos * testsuite/gas/arm/mve-vmlalv.s: New test. 2310*56bb7041Schristos * testsuite/gas/arm/mve-vmlas.d: New test. 2311*56bb7041Schristos * testsuite/gas/arm/mve-vmlas.s: New test. 2312*56bb7041Schristos * testsuite/gas/arm/mve-vmlav.d: New test. 2313*56bb7041Schristos * testsuite/gas/arm/mve-vmlav.s: New test. 2314*56bb7041Schristos * testsuite/gas/arm/mve-vmlsdav.d: New test. 2315*56bb7041Schristos * testsuite/gas/arm/mve-vmlsdav.s: New test. 2316*56bb7041Schristos * testsuite/gas/arm/mve-vmlsldav.d: New test. 2317*56bb7041Schristos * testsuite/gas/arm/mve-vmlsldav.s: New test. 2318*56bb7041Schristos * testsuite/gas/arm/mve-vmov-1.d: New test. 2319*56bb7041Schristos * testsuite/gas/arm/mve-vmov-1.s: New test. 2320*56bb7041Schristos * testsuite/gas/arm/mve-vmov-2.d: New test. 2321*56bb7041Schristos * testsuite/gas/arm/mve-vmov-2.s: New test. 2322*56bb7041Schristos * testsuite/gas/arm/mve-vmul.d: New test. 2323*56bb7041Schristos * testsuite/gas/arm/mve-vmul.s: New test. 2324*56bb7041Schristos * testsuite/gas/arm/mve-vmulh.d: New test. 2325*56bb7041Schristos * testsuite/gas/arm/mve-vmulh.s: New test. 2326*56bb7041Schristos * testsuite/gas/arm/mve-vmullbt.d: New test. 2327*56bb7041Schristos * testsuite/gas/arm/mve-vmullbt.s: New test. 2328*56bb7041Schristos * testsuite/gas/arm/mve-vmvn.d: New test. 2329*56bb7041Schristos * testsuite/gas/arm/mve-vmvn.s: New test. 2330*56bb7041Schristos * testsuite/gas/arm/mve-vorn.d: New test. 2331*56bb7041Schristos * testsuite/gas/arm/mve-vorn.s: New test. 2332*56bb7041Schristos * testsuite/gas/arm/mve-vorr.d: New test. 2333*56bb7041Schristos * testsuite/gas/arm/mve-vorr.s: New test. 2334*56bb7041Schristos * testsuite/gas/arm/mve-vpnot.d: New test. 2335*56bb7041Schristos * testsuite/gas/arm/mve-vpnot.s: New test. 2336*56bb7041Schristos * testsuite/gas/arm/mve-vpsel.d: New test. 2337*56bb7041Schristos * testsuite/gas/arm/mve-vpsel.s: New test. 2338*56bb7041Schristos * testsuite/gas/arm/mve-vpt.d: New test. 2339*56bb7041Schristos * testsuite/gas/arm/mve-vpt.s: New test. 2340*56bb7041Schristos * testsuite/gas/arm/mve-vqabsneg.s: New test. 2341*56bb7041Schristos * testsuite/gas/arm/mve-vqaddsub.d: New test. 2342*56bb7041Schristos * testsuite/gas/arm/mve-vqaddsub.s: New test. 2343*56bb7041Schristos * testsuite/gas/arm/mve-vqdmladh.d: New test. 2344*56bb7041Schristos * testsuite/gas/arm/mve-vqdmladh.s: New test. 2345*56bb7041Schristos * testsuite/gas/arm/mve-vqdmlah.d: New test. 2346*56bb7041Schristos * testsuite/gas/arm/mve-vqdmlah.s: New test. 2347*56bb7041Schristos * testsuite/gas/arm/mve-vqdmlash.d: New test. 2348*56bb7041Schristos * testsuite/gas/arm/mve-vqdmlash.s: New test. 2349*56bb7041Schristos * testsuite/gas/arm/mve-vqdmlsdh.d: New test. 2350*56bb7041Schristos * testsuite/gas/arm/mve-vqdmlsdh.s: New test. 2351*56bb7041Schristos * testsuite/gas/arm/mve-vqdmulh.d: New test. 2352*56bb7041Schristos * testsuite/gas/arm/mve-vqdmulh.s: New test. 2353*56bb7041Schristos * testsuite/gas/arm/mve-vqdmull.d: New test. 2354*56bb7041Schristos * testsuite/gas/arm/mve-vqdmull.s: New test. 2355*56bb7041Schristos * testsuite/gas/arm/mve-vqmovn.d: New test. 2356*56bb7041Schristos * testsuite/gas/arm/mve-vqmovn.s: New test. 2357*56bb7041Schristos * testsuite/gas/arm/mve-vqrshl.d: New test. 2358*56bb7041Schristos * testsuite/gas/arm/mve-vqrshl.s: New test. 2359*56bb7041Schristos * testsuite/gas/arm/mve-vqrshrn.d: New test. 2360*56bb7041Schristos * testsuite/gas/arm/mve-vqrshrn.s: New test. 2361*56bb7041Schristos * testsuite/gas/arm/mve-vqshl.d: New test. 2362*56bb7041Schristos * testsuite/gas/arm/mve-vqshl.s: New test. 2363*56bb7041Schristos * testsuite/gas/arm/mve-vrev.d: New test. 2364*56bb7041Schristos * testsuite/gas/arm/mve-vrev.s: New test. 2365*56bb7041Schristos * testsuite/gas/arm/mve-vrint.d: New test. 2366*56bb7041Schristos * testsuite/gas/arm/mve-vrint.s: New test. 2367*56bb7041Schristos * testsuite/gas/arm/mve-vrmlaldavh.d: New test. 2368*56bb7041Schristos * testsuite/gas/arm/mve-vrmlaldavh.s: New test. 2369*56bb7041Schristos * testsuite/gas/arm/mve-vrshl.d: New test. 2370*56bb7041Schristos * testsuite/gas/arm/mve-vrshl.s: New test. 2371*56bb7041Schristos * testsuite/gas/arm/mve-vsbc.d: New test. 2372*56bb7041Schristos * testsuite/gas/arm/mve-vsbc.s: New test. 2373*56bb7041Schristos * testsuite/gas/arm/mve-vshl.d: New test. 2374*56bb7041Schristos * testsuite/gas/arm/mve-vshl.s: New test. 2375*56bb7041Schristos * testsuite/gas/arm/mve-vshlc.d: New test. 2376*56bb7041Schristos * testsuite/gas/arm/mve-vshlc.s: New test. 2377*56bb7041Schristos * testsuite/gas/arm/mve-vshll.d: New test. 2378*56bb7041Schristos * testsuite/gas/arm/mve-vshll.s: New test. 2379*56bb7041Schristos * testsuite/gas/arm/mve-vshr.d: New test. 2380*56bb7041Schristos * testsuite/gas/arm/mve-vshr.s: New test. 2381*56bb7041Schristos * testsuite/gas/arm/mve-vshrn.d: New test. 2382*56bb7041Schristos * testsuite/gas/arm/mve-vshrn.s: New test. 2383*56bb7041Schristos * testsuite/gas/arm/mve-vsli.d: New test. 2384*56bb7041Schristos * testsuite/gas/arm/mve-vsli.s: New test. 2385*56bb7041Schristos * testsuite/gas/arm/mve-vsri.d: New test. 2386*56bb7041Schristos * testsuite/gas/arm/mve-vsri.s: New test. 2387*56bb7041Schristos * testsuite/gas/arm/mve-vstld.d: New test. 2388*56bb7041Schristos * testsuite/gas/arm/mve-vstld.s: New test. 2389*56bb7041Schristos * testsuite/gas/arm/mve-vstrldr-1.d: New test. 2390*56bb7041Schristos * testsuite/gas/arm/mve-vstrldr-1.s: New test. 2391*56bb7041Schristos * testsuite/gas/arm/mve-vstrldr-2.d: New test. 2392*56bb7041Schristos * testsuite/gas/arm/mve-vstrldr-2.s: New test. 2393*56bb7041Schristos * testsuite/gas/arm/mve-vstrldr-3.d: New test. 2394*56bb7041Schristos * testsuite/gas/arm/mve-vstrldr-3.s: New test. 2395*56bb7041Schristos 2396*56bb7041Schristos2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com> 2397*56bb7041Schristos 2398*56bb7041Schristos * config/tc-arm.c (T16_32_TAB): Add new instructions. 2399*56bb7041Schristos (do_t_loloop): Changed to handle tail predication variants. 2400*56bb7041Schristos (md_apply_fix): Likewise. 2401*56bb7041Schristos (insns): Add entries for MVE mnemonics. 2402*56bb7041Schristos * testsuite/gas/arm/mve-tailpredloop-bad.d: New test. 2403*56bb7041Schristos * testsuite/gas/arm/mve-tailpredloop-bad.l: New test. 2404*56bb7041Schristos * testsuite/gas/arm/mve-tailpredloop-bad.s: New test. 2405*56bb7041Schristos * testsuite/gas/arm/mve-tailpredloop.d: New test. 2406*56bb7041Schristos 2407*56bb7041Schristos2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com> 2408*56bb7041Schristos 2409*56bb7041Schristos * config/tc-arm.c (do_mve_vshll): New encoding function. 2410*56bb7041Schristos (do_mve_vshlc): Likewise. 2411*56bb7041Schristos (insns): Add entries for MVE mnemonics. 2412*56bb7041Schristos * testsuite/gas/arm/mve-vshlc-bad.d: New test. 2413*56bb7041Schristos * testsuite/gas/arm/mve-vshlc-bad.l: New test. 2414*56bb7041Schristos * testsuite/gas/arm/mve-vshlc-bad.s: New test. 2415*56bb7041Schristos * testsuite/gas/arm/mve-vshll-bad.d: New test. 2416*56bb7041Schristos * testsuite/gas/arm/mve-vshll-bad.l: New test. 2417*56bb7041Schristos * testsuite/gas/arm/mve-vshll-bad.s: New test. 2418*56bb7041Schristos 2419*56bb7041Schristos2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com> 2420*56bb7041Schristos 2421*56bb7041Schristos * config/tc-arm.c (enum operand_parse_code): Add new operand. 2422*56bb7041Schristos (parse_operands): Handle new operand. 2423*56bb7041Schristos (do_neon_shl_imm): Accept MVE variants. 2424*56bb7041Schristos (do_neon_shl): Likewise. 2425*56bb7041Schristos (do_neon_qshl_imm): Likewise. 2426*56bb7041Schristos (do_neon_qshl): Likewise. 2427*56bb7041Schristos (do_neon_qshlu_imm): Likewise. 2428*56bb7041Schristos (insns): Likewise. 2429*56bb7041Schristos * testsuite/gas/arm/mve-vqshl-bad.d: New test. 2430*56bb7041Schristos * testsuite/gas/arm/mve-vqshl-bad.l: New test. 2431*56bb7041Schristos * testsuite/gas/arm/mve-vqshl-bad.s: New test. 2432*56bb7041Schristos * testsuite/gas/arm/mve-vshl-bad.d: New test. 2433*56bb7041Schristos * testsuite/gas/arm/mve-vshl-bad.l: New test. 2434*56bb7041Schristos * testsuite/gas/arm/mve-vshl-bad.s: New test. 2435*56bb7041Schristos 2436*56bb7041Schristos2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com> 2437*56bb7041Schristos 2438*56bb7041Schristos * config/tc-arm.c (do_neon_sli): Accept MVE variants. 2439*56bb7041Schristos (do_neon_sri): Likewise. 2440*56bb7041Schristos (do_neon_rev): Likewise. 2441*56bb7041Schristos (do_neon_rshift_round_imm): Likewise. 2442*56bb7041Schristos (insns): Likewise. 2443*56bb7041Schristos * testsuite/gas/arm/mve-vrev-bad.d: New test. 2444*56bb7041Schristos * testsuite/gas/arm/mve-vrev-bad.l: New test. 2445*56bb7041Schristos * testsuite/gas/arm/mve-vrev-bad.s: New test. 2446*56bb7041Schristos * testsuite/gas/arm/mve-vshr-bad.d: New test. 2447*56bb7041Schristos * testsuite/gas/arm/mve-vshr-bad.l: New test. 2448*56bb7041Schristos * testsuite/gas/arm/mve-vshr-bad.s: New test. 2449*56bb7041Schristos * testsuite/gas/arm/mve-vsli-bad.d: New test. 2450*56bb7041Schristos * testsuite/gas/arm/mve-vsli-bad.l: New test. 2451*56bb7041Schristos * testsuite/gas/arm/mve-vsli-bad.s: New test. 2452*56bb7041Schristos * testsuite/gas/arm/mve-vsri-bad.d: New test. 2453*56bb7041Schristos * testsuite/gas/arm/mve-vsri-bad.l: New test. 2454*56bb7041Schristos * testsuite/gas/arm/mve-vsri-bad.s: New test. 2455*56bb7041Schristos 2456*56bb7041Schristos2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com> 2457*56bb7041Schristos 2458*56bb7041Schristos * config/tc-arm.c (do_vrint_1): Accept MVE variants. 2459*56bb7041Schristos (insns): Change entries to accept MVE variants. 2460*56bb7041Schristos * testsuite/gas/arm/mve-vrint-bad.d: New test. 2461*56bb7041Schristos * testsuite/gas/arm/mve-vrint-bad.l: New test. 2462*56bb7041Schristos * testsuite/gas/arm/mve-vrint-bad.s: New test. 2463*56bb7041Schristos 2464*56bb7041Schristos2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com> 2465*56bb7041Schristos 2466*56bb7041Schristos * config/tc-arm.c (M_MNEM_vshrnt, M_MNEM_vshrnb, M_MNEM_vrshrnt, 2467*56bb7041Schristos M_MNEM_vqshrnt, M_MNEM_vqshrnb, M_MNEM_vqshrunt, M_MNEM_vqshrunb, 2468*56bb7041Schristos M_MNEM_vrshrnb, M_MNEM_vqrshrnt, M_MNEM_vqrshrnb, M_MNEM_vqrshrunt, 2469*56bb7041Schristos M_MNEM_vqrshrunb): New instruction encodings. 2470*56bb7041Schristos (do_mve_vshrn): New encoding function. 2471*56bb7041Schristos (insns): Add entries for MVE mnemonics. 2472*56bb7041Schristos * testsuite/gas/arm/mve-vqrshrn-bad.d: New test. 2473*56bb7041Schristos * testsuite/gas/arm/mve-vqrshrn-bad.l: New test. 2474*56bb7041Schristos * testsuite/gas/arm/mve-vqrshrn-bad.s: New test. 2475*56bb7041Schristos * testsuite/gas/arm/mve-vshrn-bad.d: New test. 2476*56bb7041Schristos * testsuite/gas/arm/mve-vshrn-bad.l: New test. 2477*56bb7041Schristos * testsuite/gas/arm/mve-vshrn-bad.s: New test. 2478*56bb7041Schristos 2479*56bb7041Schristos2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com> 2480*56bb7041Schristos 2481*56bb7041Schristos * config/tc-arm.c (M_MNEM_vqmovnt, M_MNEM_vqmovnb, 2482*56bb7041Schristos M_MNEM_vqmovunt, M_MNEM_vqmovunb): New instruction encodings. 2483*56bb7041Schristos (do_mve_vqmovn): New encoding function. 2484*56bb7041Schristos (do_neon_rshl): Change to accepte MVE variants. 2485*56bb7041Schristos (insns): Change entries and add new for MVE mnemonics. 2486*56bb7041Schristos * testsuite/gas/arm/mve-vqmovn-bad.d: New test. 2487*56bb7041Schristos * testsuite/gas/arm/mve-vqmovn-bad.l: New test. 2488*56bb7041Schristos * testsuite/gas/arm/mve-vqmovn-bad.s: New test. 2489*56bb7041Schristos * testsuite/gas/arm/mve-vqrshl-bad.d: New test. 2490*56bb7041Schristos * testsuite/gas/arm/mve-vqrshl-bad.l: New test. 2491*56bb7041Schristos * testsuite/gas/arm/mve-vqrshl-bad.s: New test. 2492*56bb7041Schristos * testsuite/gas/arm/mve-vrshl-bad.d: New test. 2493*56bb7041Schristos * testsuite/gas/arm/mve-vrshl-bad.l: New test. 2494*56bb7041Schristos * testsuite/gas/arm/mve-vrshl-bad.s: New test. 2495*56bb7041Schristos 2496*56bb7041Schristos2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com> 2497*56bb7041Schristos 2498*56bb7041Schristos * config/tc-arm.c (enum operand_parse_code): Add new operand. 2499*56bb7041Schristos (parse_operands): Handle new operand. 2500*56bb7041Schristos (do_mve_vqdmull): New encoding function. 2501*56bb7041Schristos (insns): Add entry for MVE mnemonics. 2502*56bb7041Schristos * testsuite/gas/arm/mve-vqdmull-bad.d: New test. 2503*56bb7041Schristos * testsuite/gas/arm/mve-vqdmull-bad.l: New test. 2504*56bb7041Schristos * testsuite/gas/arm/mve-vqdmull-bad.s: New test. 2505*56bb7041Schristos 2506*56bb7041Schristos2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com> 2507*56bb7041Schristos 2508*56bb7041Schristos * config/tc-arm.c (enum operand_parse_code): Add new operand. 2509*56bb7041Schristos (parse_operands): Handle new operand. 2510*56bb7041Schristos (mve_encode_qqr): Handle new instructions. 2511*56bb7041Schristos (do_neon_qdmulh): Add support for MVE variants. 2512*56bb7041Schristos (do_neon_qrdmlah): Likewise. 2513*56bb7041Schristos (do_mve_vqdmlah): New encoding function. 2514*56bb7041Schristos (insns): Change entries and add new entries for MVE mnemonics. 2515*56bb7041Schristos * testsuite/gas/arm/mve-vqdmulh-bad.d: New test. 2516*56bb7041Schristos * testsuite/gas/arm/mve-vqdmulh-bad.l: New test. 2517*56bb7041Schristos * testsuite/gas/arm/mve-vqdmulh-bad.s: New test. 2518*56bb7041Schristos 2519*56bb7041Schristos2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com> 2520*56bb7041Schristos 2521*56bb7041Schristos * config/tc-arm.c (do_mve_vqdmladh): New encoding function. 2522*56bb7041Schristos (insns): Add entries for MVE mnemonics. 2523*56bb7041Schristos * testsuite/gas/arm/mve-vqdmladh-bad.d: New test. 2524*56bb7041Schristos * testsuite/gas/arm/mve-vqdmladh-bad.l: New test. 2525*56bb7041Schristos * testsuite/gas/arm/mve-vqdmladh-bad.s: New test. 2526*56bb7041Schristos * testsuite/gas/arm/mve-vqdmlsdh-bad.d: New test. 2527*56bb7041Schristos * testsuite/gas/arm/mve-vqdmlsdh-bad.l: New test. 2528*56bb7041Schristos * testsuite/gas/arm/mve-vqdmlsdh-bad.s: New test. 2529*56bb7041Schristos 2530*56bb7041Schristos2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com> 2531*56bb7041Schristos 2532*56bb7041Schristos * config/tc-arm.c (do_mve_vpsel): New encoding function. 2533*56bb7041Schristos (do_mve_vpnot): Likewise. 2534*56bb7041Schristos (insns): Add entries for MVE mnemonics. 2535*56bb7041Schristos * testsuite/gas/arm/mve-vpnot-bad.d: New test. 2536*56bb7041Schristos * testsuite/gas/arm/mve-vpnot-bad.l: New test. 2537*56bb7041Schristos * testsuite/gas/arm/mve-vpnot-bad.s: New test. 2538*56bb7041Schristos * testsuite/gas/arm/mve-vpsel-bad.d: New test. 2539*56bb7041Schristos * testsuite/gas/arm/mve-vpsel-bad.l: New test. 2540*56bb7041Schristos * testsuite/gas/arm/mve-vpsel-bad.s: New test. 2541*56bb7041Schristos 2542*56bb7041Schristos2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com> 2543*56bb7041Schristos 2544*56bb7041Schristos * config/tc-arm.c (do_neon_mvn): Change to accept MVE variants. 2545*56bb7041Schristos (do_neon_sat_abs_neg): Likewise. 2546*56bb7041Schristos (insns): Likewise. 2547*56bb7041Schristos * testsuite/gas/arm/mve-vmvn-bad.d: New test. 2548*56bb7041Schristos * testsuite/gas/arm/mve-vmvn-bad.l: New test. 2549*56bb7041Schristos * testsuite/gas/arm/mve-vmvn-bad.s: New test. 2550*56bb7041Schristos * testsuite/gas/arm/mve-vqabsneg-bad.d: New test. 2551*56bb7041Schristos * testsuite/gas/arm/mve-vqabsneg-bad.l: New test. 2552*56bb7041Schristos * testsuite/gas/arm/mve-vqabsneg-bad.s: New test. 2553*56bb7041Schristos 2554*56bb7041Schristos2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com> 2555*56bb7041Schristos 2556*56bb7041Schristos * config/tc-arm.c (do_mve_vmlas): New encoding function. 2557*56bb7041Schristos (do_mve_vmulh): Likewise. 2558*56bb7041Schristos (insns): Add entries for MVE mnemonics. 2559*56bb7041Schristos * testsuite/gas/arm/mve-vmlas-bad.d: New test. 2560*56bb7041Schristos * testsuite/gas/arm/mve-vmlas-bad.l: New test. 2561*56bb7041Schristos * testsuite/gas/arm/mve-vmlas-bad.s: New test. 2562*56bb7041Schristos * testsuite/gas/arm/mve-vmulh-bad.d: New test. 2563*56bb7041Schristos * testsuite/gas/arm/mve-vmulh-bad.l: New test. 2564*56bb7041Schristos * testsuite/gas/arm/mve-vmulh-bad.s: New test. 2565*56bb7041Schristos 2566*56bb7041Schristos2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com> 2567*56bb7041Schristos 2568*56bb7041Schristos * config/tc-arm.c (enum operand_parse_code): New operand. 2569*56bb7041Schristos (parse_operands): Handle new operand. 2570*56bb7041Schristos (mve_encode_qqr): Handle new instructions. 2571*56bb7041Schristos (do_neon_dyadic_i64_su): Accept MVE variants. 2572*56bb7041Schristos (neon_dyadic_misc): Likewise. 2573*56bb7041Schristos (do_neon_mac_maybe_scalar): Likewise. 2574*56bb7041Schristos (do_neon_mul): Likewise. 2575*56bb7041Schristos (insns): Change to accept MVE variants. 2576*56bb7041Schristos * testsuite/gas/arm/mve-vmla-bad.d: New test. 2577*56bb7041Schristos * testsuite/gas/arm/mve-vmla-bad.l: New test. 2578*56bb7041Schristos * testsuite/gas/arm/mve-vmla-bad.s: New test. 2579*56bb7041Schristos * testsuite/gas/arm/mve-vmul-bad-1.d: New test. 2580*56bb7041Schristos * testsuite/gas/arm/mve-vmul-bad-1.l: New test. 2581*56bb7041Schristos * testsuite/gas/arm/mve-vmul-bad-1.s: New test. 2582*56bb7041Schristos * testsuite/gas/arm/mve-vmul-bad-2.d: New test. 2583*56bb7041Schristos * testsuite/gas/arm/mve-vmul-bad-2.l: New test. 2584*56bb7041Schristos * testsuite/gas/arm/mve-vmul-bad-2.s: New test. 2585*56bb7041Schristos * testsuite/gas/arm/mve-vqaddsub-bad.d: New test. 2586*56bb7041Schristos * testsuite/gas/arm/mve-vqaddsub-bad.l: New test. 2587*56bb7041Schristos * testsuite/gas/arm/mve-vqaddsub-bad.s: New test. 2588*56bb7041Schristos 2589*56bb7041Schristos2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com> 2590*56bb7041Schristos 2591*56bb7041Schristos * config/tc-arm.c (M_MNEM_vmlaldav, M_MNEM_vmlaldava, 2592*56bb7041Schristos M_MNEM_vmlaldavx, M_MNEM_vmlaldavax, M_MNEM_vmlsldav, 2593*56bb7041Schristos M_MNEM_vmlsldava, M_MNEM_vmlsldavx, M_MNEM_vmlsldavax, 2594*56bb7041Schristos M_MNEM_vrmlaldavhx, M_MNEM_vrmlaldavhax, M_MNEM_vrmlsldavh, 2595*56bb7041Schristos M_MNEM_vrmlsldavha, M_MNEM_vrmlsldavhx, M_MNEM_vrmlsldavhax): New 2596*56bb7041Schristos instruction encodings. 2597*56bb7041Schristos (NEON_SHAPE_DEF): New shape 2598*56bb7041Schristos (mve_encode_rrqq): New encoding helper function. 2599*56bb7041Schristos (do_mve_vmlaldav): New encoding function. 2600*56bb7041Schristos (do_mve_vrmlaldavh): New encoding function. 2601*56bb7041Schristos (insns): Add entries for MVE mnemonics. 2602*56bb7041Schristos * testsuite/gas/arm/mve-vmlaldav-bad.d: New test. 2603*56bb7041Schristos * testsuite/gas/arm/mve-vmlaldav-bad.l: New test. 2604*56bb7041Schristos * testsuite/gas/arm/mve-vmlaldav-bad.s: New test. 2605*56bb7041Schristos * testsuite/gas/arm/mve-vmlalv-bad.d: New test. 2606*56bb7041Schristos * testsuite/gas/arm/mve-vmlalv-bad.l: New test. 2607*56bb7041Schristos * testsuite/gas/arm/mve-vmlalv-bad.s: New test. 2608*56bb7041Schristos * testsuite/gas/arm/mve-vmlsldav-bad.d: New test. 2609*56bb7041Schristos * testsuite/gas/arm/mve-vmlsldav-bad.l: New test. 2610*56bb7041Schristos * testsuite/gas/arm/mve-vmlsldav-bad.s: New test. 2611*56bb7041Schristos * testsuite/gas/arm/mve-vrmlaldavh-bad.d: New test. 2612*56bb7041Schristos * testsuite/gas/arm/mve-vrmlaldavh-bad.l: New test. 2613*56bb7041Schristos * testsuite/gas/arm/mve-vrmlaldavh-bad.s: New test. 2614*56bb7041Schristos 2615*56bb7041Schristos2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com> 2616*56bb7041Schristos 2617*56bb7041Schristos * config/tc-arm.c (M_MNEM_vmaxv, M_MNEM_vmaxav, M_MNEM_vminv, 2618*56bb7041Schristos M_MNEM_vminav): New instruction encodings. 2619*56bb7041Schristos (do_mve_vmaxv): New encoding function. 2620*56bb7041Schristos (insns): Add entries for new MVE mnemonics. 2621*56bb7041Schristos * testsuite/gas/arm/mve-vmaxv-vminv-bad.d: New test. 2622*56bb7041Schristos * testsuite/gas/arm/mve-vmaxv-vminv-bad.l: New test. 2623*56bb7041Schristos * testsuite/gas/arm/mve-vmaxv-vminv-bad.s: New test. 2624*56bb7041Schristos 2625*56bb7041Schristos2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com> 2626*56bb7041Schristos 2627*56bb7041Schristos * config/tc-arm.c (do_mve_vmaxnmv): New encoding function. 2628*56bb7041Schristos (insns): Add entries for new mnemonics. 2629*56bb7041Schristos * testsuite/gas/arm/mve-vmaxnmv-vminnmv-bad.d: New test. 2630*56bb7041Schristos * testsuite/gas/arm/mve-vmaxnmv-vminnmv-bad.l: New test. 2631*56bb7041Schristos * testsuite/gas/arm/mve-vmaxnmv-vminnmv-bad.s: New test. 2632*56bb7041Schristos 2633*56bb7041Schristos2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com> 2634*56bb7041Schristos 2635*56bb7041Schristos * config/tc-arm.c (do_mve_vmaxa_vmina): New encoding function. 2636*56bb7041Schristos (do_mve_vmaxnma_vminnma): Likewise. 2637*56bb7041Schristos (do_neon_dyadic_if_su): Change to support MVE variants. 2638*56bb7041Schristos (do_vmaxnm): Likewise. 2639*56bb7041Schristos (insns): Change to accept MVE variants and add new. 2640*56bb7041Schristos * testsuite/gas/arm/mve-vmax-vmin-bad.d: New test. 2641*56bb7041Schristos * testsuite/gas/arm/mve-vmax-vmin-bad.l: New test. 2642*56bb7041Schristos * testsuite/gas/arm/mve-vmax-vmin-bad.s: New test. 2643*56bb7041Schristos * testsuite/gas/arm/mve-vmaxa-vmina-bad.d: New test. 2644*56bb7041Schristos * testsuite/gas/arm/mve-vmaxa-vmina-bad.l: New test. 2645*56bb7041Schristos * testsuite/gas/arm/mve-vmaxa-vmina-bad.s: New test. 2646*56bb7041Schristos * testsuite/gas/arm/mve-vmaxnm-vminnm-bad.d: New test. 2647*56bb7041Schristos * testsuite/gas/arm/mve-vmaxnm-vminnm-bad.l: New test. 2648*56bb7041Schristos * testsuite/gas/arm/mve-vmaxnm-vminnm-bad.s: New test. 2649*56bb7041Schristos * testsuite/gas/arm/mve-vmaxnma-vminnma-bad.d: New test. 2650*56bb7041Schristos * testsuite/gas/arm/mve-vmaxnma-vminnma-bad.l: New test. 2651*56bb7041Schristos * testsuite/gas/arm/mve-vmaxnma-vminnma-bad.s: New test. 2652*56bb7041Schristos 2653*56bb7041Schristos2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com> 2654*56bb7041Schristos 2655*56bb7041Schristos * config/tc-arm.c (enum operand_parse_code): New operand. 2656*56bb7041Schristos (parse_operands): Handle new operand. 2657*56bb7041Schristos (mve_encode_qqr): Change to support new instructions. 2658*56bb7041Schristos (enum vfp_or_neon_is_neon_bits): Moved. 2659*56bb7041Schristos (vfp_or_neon_is_neon): Moved. 2660*56bb7041Schristos (check_simd_pred_availability): Moved. 2661*56bb7041Schristos (do_neon_dyadic_i_su): Changed to support MVE variants. 2662*56bb7041Schristos (neon_dyadic_misc): Changed mve_encode_qqr call. 2663*56bb7041Schristos (do_mve_vbrsr): Likewise. 2664*56bb7041Schristos (do_mve_vhcadd): New encoding function. 2665*56bb7041Schristos (insns): Change existing to accept MVE variants and add new. 2666*56bb7041Schristos * testsuite/gas/arm/mve-vhadd-vhsub-vrhadd-bad.d: New test. 2667*56bb7041Schristos * testsuite/gas/arm/mve-vhadd-vhsub-vrhadd-bad.l: New test. 2668*56bb7041Schristos * testsuite/gas/arm/mve-vhadd-vhsub-vrhadd-bad.s: New test. 2669*56bb7041Schristos * testsuite/gas/arm/mve-vhcadd-bad.d: New test. 2670*56bb7041Schristos * testsuite/gas/arm/mve-vhcadd-bad.l: New test. 2671*56bb7041Schristos * testsuite/gas/arm/mve-vhcadd-bad.s: New test. 2672*56bb7041Schristos 2673*56bb7041Schristos2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com> 2674*56bb7041Schristos 2675*56bb7041Schristos * config/tc-arm.c (do_neon_fmac): Change to support MVE variants. 2676*56bb7041Schristos (insns): Change to accept MVE variants. 2677*56bb7041Schristos * testsuite/gas/arm/mve-vfma-vfms-bad.d: New test. 2678*56bb7041Schristos * testsuite/gas/arm/mve-vfma-vfms-bad.l: New test. 2679*56bb7041Schristos * testsuite/gas/arm/mve-vfma-vfms-bad.s: New test. 2680*56bb7041Schristos 2681*56bb7041Schristos2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com> 2682*56bb7041Schristos 2683*56bb7041Schristos * config/tc-arm.c (M_MNEM_vddup, M_MNEM_vdwdup, M_MNEM_vidup, 2684*56bb7041Schristos M_MNEM_viwdup): New instruction encodings. 2685*56bb7041Schristos (NEON_SHAPE_DEF): New shapes. 2686*56bb7041Schristos (do_mve_viddup): New encoding function. 2687*56bb7041Schristos (do_neon_dup): Change to support new MVE variants. 2688*56bb7041Schristos (insns): Change existing to accept MVE variants and add new. 2689*56bb7041Schristos * testsuite/gas/arm/mve-vddup-bad.d: New test. 2690*56bb7041Schristos * testsuite/gas/arm/mve-vddup-bad.l: New test. 2691*56bb7041Schristos * testsuite/gas/arm/mve-vddup-bad.s: New test. 2692*56bb7041Schristos * testsuite/gas/arm/mve-vdup-bad.d: New test. 2693*56bb7041Schristos * testsuite/gas/arm/mve-vdup-bad.l: New test. 2694*56bb7041Schristos * testsuite/gas/arm/mve-vdup-bad.s: New test. 2695*56bb7041Schristos * testsuite/gas/arm/mve-vidup-bad.d: New test. 2696*56bb7041Schristos * testsuite/gas/arm/mve-vidup-bad.l: New test. 2697*56bb7041Schristos * testsuite/gas/arm/mve-vidup-bad.s: New test. 2698*56bb7041Schristos 2699*56bb7041Schristos2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com> 2700*56bb7041Schristos 2701*56bb7041Schristos * config/tc-arm.c (do_mve_vfmas): New encoding function. 2702*56bb7041Schristos (do_neon_cls): Change to support MVE variants. 2703*56bb7041Schristos (do_neon_clz): Change to support MVE variants. 2704*56bb7041Schristos (insns): Change to support MVE variants and add new. 2705*56bb7041Schristos * testsuite/gas/arm/mve-vcls-bad.d: New test. 2706*56bb7041Schristos * testsuite/gas/arm/mve-vcls-bad.l: New test. 2707*56bb7041Schristos * testsuite/gas/arm/mve-vcls-bad.s: New test. 2708*56bb7041Schristos * testsuite/gas/arm/mve-vclz-bad.d: New test. 2709*56bb7041Schristos * testsuite/gas/arm/mve-vclz-bad.l: New test. 2710*56bb7041Schristos * testsuite/gas/arm/mve-vclz-bad.s: New test. 2711*56bb7041Schristos * testsuite/gas/arm/mve-vfmas-bad.d: New test. 2712*56bb7041Schristos * testsuite/gas/arm/mve-vfmas-bad.l: New test. 2713*56bb7041Schristos * testsuite/gas/arm/mve-vfmas-bad.s: New test. 2714*56bb7041Schristos 2715*56bb7041Schristos2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com> 2716*56bb7041Schristos 2717*56bb7041Schristos * config/tc-arm.c (enum operand_parse_code): New operands. 2718*56bb7041Schristos (parse_operands): Handle new operands. 2719*56bb7041Schristos (do_mve_vcmul): New encoding function. 2720*56bb7041Schristos (do_vcmla): Change to support MVE variants. 2721*56bb7041Schristos (do_vcadd): Change to support MVE variants. 2722*56bb7041Schristos (insns): Change existing to support MVE variants and add new. 2723*56bb7041Schristos * testsuite/gas/arm/mve-vcadd-bad-1.d: New test. 2724*56bb7041Schristos * testsuite/gas/arm/mve-vcadd-bad-1.l: New test. 2725*56bb7041Schristos * testsuite/gas/arm/mve-vcadd-bad-1.s: New test. 2726*56bb7041Schristos * testsuite/gas/arm/mve-vcadd-bad-2.d: New test. 2727*56bb7041Schristos * testsuite/gas/arm/mve-vcadd-bad-2.l: New test. 2728*56bb7041Schristos * testsuite/gas/arm/mve-vcadd-bad-2.s: New test. 2729*56bb7041Schristos * testsuite/gas/arm/mve-vcmla-bad-1.d: New test. 2730*56bb7041Schristos * testsuite/gas/arm/mve-vcmla-bad-1.l: New test. 2731*56bb7041Schristos * testsuite/gas/arm/mve-vcmla-bad-1.s: New test. 2732*56bb7041Schristos * testsuite/gas/arm/mve-vcmla-bad-2.d: New test. 2733*56bb7041Schristos * testsuite/gas/arm/mve-vcmla-bad-2.l: New test. 2734*56bb7041Schristos * testsuite/gas/arm/mve-vcmla-bad-2.s: New test. 2735*56bb7041Schristos * testsuite/gas/arm/mve-vcmul-bad-1.d: New test. 2736*56bb7041Schristos * testsuite/gas/arm/mve-vcmul-bad-1.l: New test. 2737*56bb7041Schristos * testsuite/gas/arm/mve-vcmul-bad-1.s: New test. 2738*56bb7041Schristos * testsuite/gas/arm/mve-vcmul-bad-2.d: New test. 2739*56bb7041Schristos * testsuite/gas/arm/mve-vcmul-bad-2.l: New test. 2740*56bb7041Schristos * testsuite/gas/arm/mve-vcmul-bad-2.s: New test. 2741*56bb7041Schristos 2742*56bb7041Schristos2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com> 2743*56bb7041Schristos 2744*56bb7041Schristos * config/tc-arm.c (enum operand_parse_code): New operands. 2745*56bb7041Schristos (parse_operands): Handle new operands. 2746*56bb7041Schristos (enum vfp_or_neon_is_neon_bits): Moved 2747*56bb7041Schristos (vfp_or_neon_is_neon): Moved 2748*56bb7041Schristos (check_simd_pred_availability): Moved. 2749*56bb7041Schristos (do_neon_logic): Change to accept MVE variants. 2750*56bb7041Schristos (insns): Changed to accept MVE variants. 2751*56bb7041Schristos * testsuite/gas/arm/mve-vand-bad.d: New test. 2752*56bb7041Schristos * testsuite/gas/arm/mve-vand-bad.l: New test. 2753*56bb7041Schristos * testsuite/gas/arm/mve-vand-bad.s: New test. 2754*56bb7041Schristos * testsuite/gas/arm/mve-vbic-bad.d: New test. 2755*56bb7041Schristos * testsuite/gas/arm/mve-vbic-bad.l: New test. 2756*56bb7041Schristos * testsuite/gas/arm/mve-vbic-bad.s: New test. 2757*56bb7041Schristos * testsuite/gas/arm/mve-veor-bad.d: New test. 2758*56bb7041Schristos * testsuite/gas/arm/mve-veor-bad.l: New test. 2759*56bb7041Schristos * testsuite/gas/arm/mve-veor-bad.s: New test. 2760*56bb7041Schristos * testsuite/gas/arm/mve-vorn-bad.d: New test. 2761*56bb7041Schristos * testsuite/gas/arm/mve-vorn-bad.l: New test. 2762*56bb7041Schristos * testsuite/gas/arm/mve-vorn-bad.s: New test. 2763*56bb7041Schristos * testsuite/gas/arm/mve-vorr-bad.d: New test. 2764*56bb7041Schristos * testsuite/gas/arm/mve-vorr-bad.l: New test. 2765*56bb7041Schristos * testsuite/gas/arm/mve-vorr-bad.s: New test. 2766*56bb7041Schristos 2767*56bb7041Schristos2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com> 2768*56bb7041Schristos 2769*56bb7041Schristos * config/tc-arm.c (M_MNEM_vaddlv, M_MNEM_vaddlva, M_MNEM_vaddv, 2770*56bb7041Schristos M_MNEM_vaddva): New instruction encodings. 2771*56bb7041Schristos (mve_encode_rq): New encoding helper function. 2772*56bb7041Schristos (do_mve_vaddlv): New encoding function. 2773*56bb7041Schristos (do_mve_vaddv): New encoding function. 2774*56bb7041Schristos * testsuite/gas/arm/mve-vaddlv-bad.d: New test. 2775*56bb7041Schristos * testsuite/gas/arm/mve-vaddlv-bad.l: New test. 2776*56bb7041Schristos * testsuite/gas/arm/mve-vaddlv-bad.s: New test. 2777*56bb7041Schristos * testsuite/gas/arm/mve-vaddv-bad.d: New test. 2778*56bb7041Schristos * testsuite/gas/arm/mve-vaddv-bad.l: New test. 2779*56bb7041Schristos * testsuite/gas/arm/mve-vaddv-bad.s: New test. 2780*56bb7041Schristos 2781*56bb7041Schristos2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com> 2782*56bb7041Schristos 2783*56bb7041Schristos * config/tc-arm.c (M_MNEM_vadc, M_MNEM_vadci, M_MNEM_vbrsr): 2784*56bb7041Schristos New instruction encodings. 2785*56bb7041Schristos (do_mve_vadc): New encoding instruction. 2786*56bb7041Schristos (do_mve_vbrsr): Likewise. 2787*56bb7041Schristos (do_mve_vsbc): Likewise. 2788*56bb7041Schristos * testsuite/gas/arm/mve-vadc-bad.d: New test. 2789*56bb7041Schristos * testsuite/gas/arm/mve-vadc-bad.l: New test. 2790*56bb7041Schristos * testsuite/gas/arm/mve-vadc-bad.s: New test. 2791*56bb7041Schristos * testsuite/gas/arm/mve-vbrsr-bad.d: New test. 2792*56bb7041Schristos * testsuite/gas/arm/mve-vbrsr-bad.l: New test. 2793*56bb7041Schristos * testsuite/gas/arm/mve-vbrsr-bad.s: New test. 2794*56bb7041Schristos * testsuite/gas/arm/mve-vsbc-bad.d: New test. 2795*56bb7041Schristos * testsuite/gas/arm/mve-vsbc-bad.l: New test. 2796*56bb7041Schristos * testsuite/gas/arm/mve-vsbc-bad.s: New test. 2797*56bb7041Schristos 2798*56bb7041Schristos2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com> 2799*56bb7041Schristos 2800*56bb7041Schristos * config/tc-arm.c (MVE_BAD_QREG): New error message. 2801*56bb7041Schristos (enum operand_parse_code): Define new operand. 2802*56bb7041Schristos (parse_operands): Handle new operand. 2803*56bb7041Schristos (do_mve_vpt): Change for VPT blocks. 2804*56bb7041Schristos (NEON_SHAPE_DEF): New shape. 2805*56bb7041Schristos (neon_logbits): Moved. 2806*56bb7041Schristos (LOW4): Moved 2807*56bb7041Schristos (HI1): Moved 2808*56bb7041Schristos (mve_get_vcmp_vpt_cond): New function to translate vpt conditions. 2809*56bb7041Schristos (do_mve_vcmp): New encoding function. 2810*56bb7041Schristos (do_vfp_nsyn_cmp): Changed to support MVE variants. 2811*56bb7041Schristos (insns): Change to support MVE variants of vcmp and add vpt. 2812*56bb7041Schristos * testsuite/gas/arm/mve-vcmp-bad-1.d: New test. 2813*56bb7041Schristos * testsuite/gas/arm/mve-vcmp-bad-1.l: New test. 2814*56bb7041Schristos * testsuite/gas/arm/mve-vcmp-bad-1.s: New test. 2815*56bb7041Schristos * testsuite/gas/arm/mve-vcmp-bad-2.d: New test. 2816*56bb7041Schristos * testsuite/gas/arm/mve-vcmp-bad-2.l: New test. 2817*56bb7041Schristos * testsuite/gas/arm/mve-vcmp-bad-2.s: New test. 2818*56bb7041Schristos * testsuite/gas/arm/mve-vpt-bad-1.d: New test. 2819*56bb7041Schristos * testsuite/gas/arm/mve-vpt-bad-1.l: New test. 2820*56bb7041Schristos * testsuite/gas/arm/mve-vpt-bad-1.s: New test. 2821*56bb7041Schristos * testsuite/gas/arm/mve-vpt-bad-2.d: New test. 2822*56bb7041Schristos * testsuite/gas/arm/mve-vpt-bad-2.l: New test. 2823*56bb7041Schristos * testsuite/gas/arm/mve-vpt-bad-2.s: New test. 2824*56bb7041Schristos 2825*56bb7041Schristos2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com> 2826*56bb7041Schristos 2827*56bb7041Schristos * config/tc-arm.c (struct arm_it): Expand isscalar field to be able to 2828*56bb7041Schristos distinguish between types of scalar. 2829*56bb7041Schristos (parse_typed_reg_or_scalar): Change to accept MVE scalar variants. 2830*56bb7041Schristos (parse_scalar): Likewise. 2831*56bb7041Schristos (parse_neon_mov): Accept MVE variant. 2832*56bb7041Schristos (po_scalar_or_goto): Make use reg_type. 2833*56bb7041Schristos (parse_operands): Change uses of po_scalar_or_goto. 2834*56bb7041Schristos (do_vfp_sp_monadic): Change to accept MVE variants. 2835*56bb7041Schristos (do_vfp_reg_from_sp): Likewise. 2836*56bb7041Schristos (do_vfp_sp_from_reg): Likewise. 2837*56bb7041Schristos (do_vfp_dp_rd_rm): Likewise. 2838*56bb7041Schristos (do_vfp_dp_rd_rn_rm): Likewise. 2839*56bb7041Schristos (do_vfp_dp_rm_rd_rn): Likewise. 2840*56bb7041Schristos (M_MNEM_vmovlt, M_MNEM_vmovlb, M_MNEM_vmovnt, M_MNEM_vmovnb): New 2841*56bb7041Schristos instruction encodings. 2842*56bb7041Schristos (NEON_SHAPE_DEF): New shape. 2843*56bb7041Schristos (do_mve_mov): New encoding fuction. 2844*56bb7041Schristos (do_mve_movn): Likewise. 2845*56bb7041Schristos (do_mve_movl): Likewise. 2846*56bb7041Schristos (do_neon_mov): Change to accept MVE variants. 2847*56bb7041Schristos (mcCE): New MACRO. 2848*56bb7041Schristos (insns): Accept new MVE variants and instructions. 2849*56bb7041Schristos * testsuite/gas/arm/mve-vmov-bad-1.d: New test. 2850*56bb7041Schristos * testsuite/gas/arm/mve-vmov-bad-1.l: New test. 2851*56bb7041Schristos * testsuite/gas/arm/mve-vmov-bad-1.s: New test. 2852*56bb7041Schristos * testsuite/gas/arm/mve-vmov-bad-2.d: New test. 2853*56bb7041Schristos * testsuite/gas/arm/mve-vmov-bad-2.l: New test. 2854*56bb7041Schristos * testsuite/gas/arm/mve-vmov-bad-2.s: New test. 2855*56bb7041Schristos 2856*56bb7041Schristos2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com> 2857*56bb7041Schristos 2858*56bb7041Schristos * config/tc-arm.c (enum operand_parse_code): Add new operand. 2859*56bb7041Schristos (parse_operands): Handle new operand. 2860*56bb7041Schristos (do_neon_cvt_1): Handle MVE variants. 2861*56bb7041Schristos (do_neon_cvttb_1): Likewise. 2862*56bb7041Schristos (insns): Accept MVE variants. 2863*56bb7041Schristos * testsuite/gas/arm/mve-vcvt-bad-1.d: New test. 2864*56bb7041Schristos * testsuite/gas/arm/mve-vcvt-bad-1.l: New test. 2865*56bb7041Schristos * testsuite/gas/arm/mve-vcvt-bad-1.s: New test. 2866*56bb7041Schristos * testsuite/gas/arm/mve-vcvt-bad-2.d: New test. 2867*56bb7041Schristos * testsuite/gas/arm/mve-vcvt-bad-2.l: New test. 2868*56bb7041Schristos * testsuite/gas/arm/mve-vcvt-bad-2.s: New test. 2869*56bb7041Schristos * testsuite/gas/arm/mve-vcvt-bad-3.d: New test. 2870*56bb7041Schristos * testsuite/gas/arm/mve-vcvt-bad-3.l: New test. 2871*56bb7041Schristos * testsuite/gas/arm/mve-vcvt-bad-3.s: New test. 2872*56bb7041Schristos * testsuite/gas/arm/mve-vcvt-bad-4.d: New test. 2873*56bb7041Schristos * testsuite/gas/arm/mve-vcvt-bad-4.l: New test. 2874*56bb7041Schristos * testsuite/gas/arm/mve-vcvt-bad-4.s: New test. 2875*56bb7041Schristos * testsuite/gas/arm/mve-vcvt-bad.d: New test. 2876*56bb7041Schristos * testsuite/gas/arm/mve-vcvt-bad.l: New test. 2877*56bb7041Schristos * testsuite/gas/arm/mve-vcvt-bad.s: New test. 2878*56bb7041Schristos 2879*56bb7041Schristos2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com> 2880*56bb7041Schristos 2881*56bb7041Schristos * config/tc-arm.c (struct arm_it): Make immisreg field larger to hold 2882*56bb7041Schristos type of register. 2883*56bb7041Schristos (enum shift_kind): Add SHIFT_UXTW shift kind. 2884*56bb7041Schristos (enum parse_shift_mode): Add SHIFT_UXTW_IMMEDIATE shift mode. 2885*56bb7041Schristos (parse_shift): Handle new shift type. 2886*56bb7041Schristos (parse_address_main): Accept new addressing modes. 2887*56bb7041Schristos (M_MNEM_vstrb, M_MNEM_vstrh, M_MNEM_vstrw, M_MNEM_vstrd, 2888*56bb7041Schristos M_MNEM_vldrb, M_MNEM_vldrh, M_MNEM_vldrw, M_MNEM_vldrd): New 2889*56bb7041Schristos instruction encodings. 2890*56bb7041Schristos (do_mve_vstr_vldr_QI): New encoding functions. 2891*56bb7041Schristos (do_mve_vstr_vldr_RQ): Likewise. 2892*56bb7041Schristos (do_mve_vstr_vldr_RI): Likewise. 2893*56bb7041Schristos (do_mve_vstr_vldr): Likewise. 2894*56bb7041Schristos * testsuite/gas/arm/mve-vldr-bad-1.d: New test. 2895*56bb7041Schristos * testsuite/gas/arm/mve-vldr-bad-1.l: New test. 2896*56bb7041Schristos * testsuite/gas/arm/mve-vldr-bad-1.s: New test. 2897*56bb7041Schristos * testsuite/gas/arm/mve-vldr-bad-2.d: New test. 2898*56bb7041Schristos * testsuite/gas/arm/mve-vldr-bad-2.l: New test. 2899*56bb7041Schristos * testsuite/gas/arm/mve-vldr-bad-2.s: New test. 2900*56bb7041Schristos * testsuite/gas/arm/mve-vldr-bad-3.d: New test. 2901*56bb7041Schristos * testsuite/gas/arm/mve-vldr-bad-3.l: New test. 2902*56bb7041Schristos * testsuite/gas/arm/mve-vldr-bad-3.s: New test. 2903*56bb7041Schristos * testsuite/gas/arm/mve-vstr-bad-1.d: New test. 2904*56bb7041Schristos * testsuite/gas/arm/mve-vstr-bad-1.l: New test. 2905*56bb7041Schristos * testsuite/gas/arm/mve-vstr-bad-1.s: New test. 2906*56bb7041Schristos * testsuite/gas/arm/mve-vstr-bad-2.d: New test. 2907*56bb7041Schristos * testsuite/gas/arm/mve-vstr-bad-2.l: New test. 2908*56bb7041Schristos * testsuite/gas/arm/mve-vstr-bad-2.s: New test. 2909*56bb7041Schristos * testsuite/gas/arm/mve-vstr-bad-3.d: New test. 2910*56bb7041Schristos * testsuite/gas/arm/mve-vstr-bad-3.l: New test. 2911*56bb7041Schristos * testsuite/gas/arm/mve-vstr-bad-3.s: New test. 2912*56bb7041Schristos 2913*56bb7041Schristos2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com> 2914*56bb7041Schristos 2915*56bb7041Schristos * config/tc-arm.c (enum it_instruction_type): Add MVE_UNPREDICABLE_INSN. 2916*56bb7041Schristos (BAD_EL_TYPE): New error message. 2917*56bb7041Schristos (parse_neon_el_struct_list): Adapt to be able to accept MVE variant. 2918*56bb7041Schristos (parse_address_main): Likewise. 2919*56bb7041Schristos (group_reloc_type): Add GROUP_MVE. 2920*56bb7041Schristos (enum operand_parse_code): Add new operands. 2921*56bb7041Schristos (parse_operands): Handle new operands. 2922*56bb7041Schristos (M_MNEM_vst20, M_MNEM_vst21, M_MNEM_vst40, M_MNEM_vst41, M_MNEM_vst42, 2923*56bb7041Schristos M_MNEM_vst43, M_MNEM_vld20, M_MNEM_vld21, M_MNEM_vld40, M_MNEM_vld41, 2924*56bb7041Schristos M_MNEM_vld42, M_MNEM_vld43): New encodings. 2925*56bb7041Schristos (do_mve_vst_vld): New encoding function. 2926*56bb7041Schristos (do_neon_ld_st_interleave): Use BAD_EL_TYPE. 2927*56bb7041Schristos (it_fsm_pre_encode): Handle new it_instruction_type 2928*56bb7041Schristos (handle_pred_state): Likewise. 2929*56bb7041Schristos * testsuite/gas/arm/mve-vstld-bad.d: New test. 2930*56bb7041Schristos * testsuite/gas/arm/mve-vstld-bad.l: New test. 2931*56bb7041Schristos * testsuite/gas/arm/mve-vstld-bad.s: New test. 2932*56bb7041Schristos 2933*56bb7041Schristos2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com> 2934*56bb7041Schristos 2935*56bb7041Schristos * config/tc-arm.c (BAD_MVE_AUTO): New error message. 2936*56bb7041Schristos (BAD_MVE_SRCDEST): Likewise. 2937*56bb7041Schristos (mark_feature_used): Diagnose MVE only instructions when in 2938*56bb7041Schristos auto-detection mode or -march=all. 2939*56bb7041Schristos (enum operand_parse_code): Define new operand. 2940*56bb7041Schristos (parse_operands): Handle new operand. 2941*56bb7041Schristos (M_MNEM_vmullt, M_MNEM_vmullb): New encodings. 2942*56bb7041Schristos (mve_encode_qqq): New encoding helper function. 2943*56bb7041Schristos (do_mve_vmull): New encoding function. 2944*56bb7041Schristos (insns): Handle new instructions. 2945*56bb7041Schristos * testsuite/gas/arm/mve-vmullbt-bad.d: New test. 2946*56bb7041Schristos * testsuite/gas/arm/mve-vmullbt-bad.l: New test. 2947*56bb7041Schristos * testsuite/gas/arm/mve-vmullbt-bad.s: New test. 2948*56bb7041Schristos 2949*56bb7041Schristos2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com> 2950*56bb7041Schristos 2951*56bb7041Schristos * config/tc-arm.c (struct asm_opcode): Make avalue a full int. 2952*56bb7041Schristos (BAD_ODD, BAD_EVEN, BAD_SIMD_TYPE): New errors. 2953*56bb7041Schristos (enum operand_parse_code): Handle new operands. 2954*56bb7041Schristos (parse_operands): Likewise. 2955*56bb7041Schristos (M_MNEM_vabav, M_MNEM_vmladav, M_MNEM_vmladava, M_MNEM_vmladavx, 2956*56bb7041Schristos M_MNEM_vmladavax, M_MNEM_vmlsdav, M_MNEM_vmlsdava, M_MNEM_vmlsdavx, 2957*56bb7041Schristos M_MNEM_vmlsdavax): Define new encodings. 2958*56bb7041Schristos (NEON_SHAPE_DEF): Add new shape. 2959*56bb7041Schristos (neon_check_type): Use BAD_SIMD_TYPE. 2960*56bb7041Schristos (mve_encode_rqq): New encoding helper function. 2961*56bb7041Schristos (do_mve_vabav, do_mve_vmladav): New encoding functions. 2962*56bb7041Schristos (mCEF): New MACRO. 2963*56bb7041Schristos * testsuite/gas/arm/mve-vabav-bad.d: New test. 2964*56bb7041Schristos * testsuite/gas/arm/mve-vabav-bad.l: New test. 2965*56bb7041Schristos * testsuite/gas/arm/mve-vabav-bad.s: New test. 2966*56bb7041Schristos * testsuite/gas/arm/mve-vmladav-bad.d: New test. 2967*56bb7041Schristos * testsuite/gas/arm/mve-vmladav-bad.l: New test. 2968*56bb7041Schristos * testsuite/gas/arm/mve-vmladav-bad.s: New test. 2969*56bb7041Schristos * testsuite/gas/arm/mve-vmlav-bad.d: New test. 2970*56bb7041Schristos * testsuite/gas/arm/mve-vmlav-bad.l: New test. 2971*56bb7041Schristos * testsuite/gas/arm/mve-vmlav-bad.s: New test. 2972*56bb7041Schristos * testsuite/gas/arm/mve-vmlsdav-bad.d: New test. 2973*56bb7041Schristos * testsuite/gas/arm/mve-vmlsdav-bad.l: New test. 2974*56bb7041Schristos * testsuite/gas/arm/mve-vmlsdav-bad.s: New test. 2975*56bb7041Schristos 2976*56bb7041Schristos2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com> 2977*56bb7041Schristos 2978*56bb7041Schristos * config/tc-arm.c (do_neon_abs_neg): Make it accept MVE variant. 2979*56bb7041Schristos (insns): Change vabs and vneg entries to accept MVE variants. 2980*56bb7041Schristos * testsuite/gas/arm/mve-vabsneg-bad-1.d: New test. 2981*56bb7041Schristos * testsuite/gas/arm/mve-vabsneg-bad-1.l: New test. 2982*56bb7041Schristos * testsuite/gas/arm/mve-vabsneg-bad-1.s: New test. 2983*56bb7041Schristos * testsuite/gas/arm/mve-vabsneg-bad-2.d: New test. 2984*56bb7041Schristos * testsuite/gas/arm/mve-vabsneg-bad-2.l: New test. 2985*56bb7041Schristos * testsuite/gas/arm/mve-vabsneg-bad-2.s: New test. 2986*56bb7041Schristos 2987*56bb7041Schristos2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com> 2988*56bb7041Schristos 2989*56bb7041Schristos * config/tc-arm.c (enum it_instruction_type): Rename to... 2990*56bb7041Schristos (enum pred_instruction_type): ... this. Include VPT types. 2991*56bb7041Schristos (it_insn_type): Rename to ... 2992*56bb7041Schristos (pred_insn_type): .. this. 2993*56bb7041Schristos (arm_it): Change comment. 2994*56bb7041Schristos (enum arm_reg_type): Add new value. 2995*56bb7041Schristos (reg_expected_msgs): New entry. 2996*56bb7041Schristos (asm_opcode): Add mayBeVecPred member. 2997*56bb7041Schristos (BAD_SYNTAX, BAD_NOT_VPT, BAD_OUT_VPT, BAD_VPT_COND, MVE_NOT_IT, 2998*56bb7041Schristos MVE_NOT_VPT, MVE_BAD_PC, MVE_BAD_SP): New diagnostic MACROS. 2999*56bb7041Schristos (arm_vcond_hsh): New table for vector condition codes. 3000*56bb7041Schristos (now_it): Rename to ... 3001*56bb7041Schristos (now_pred): ... this. 3002*56bb7041Schristos (now_it_compatible): Rename to ... 3003*56bb7041Schristos (now_pred_compatible): ... this. 3004*56bb7041Schristos (in_it_block): Rename to ... 3005*56bb7041Schristos (in_pred_block): ... this. 3006*56bb7041Schristos (handle_it_state): Rename to ... 3007*56bb7041Schristos (handle_pred_state): ... this. And change it to accept VPT blocks. 3008*56bb7041Schristos (set_it_insn_type): Rename to ... 3009*56bb7041Schristos (set_pred_insn_type): ... this. 3010*56bb7041Schristos (set_it_insn_type_nonvoid): Rename to ... 3011*56bb7041Schristos (set_pred_insn_type_nonvoid): ... this. 3012*56bb7041Schristos (set_it_insn_type_last): Rename to ... 3013*56bb7041Schristos (set_pred_insn_type_last): ... this. 3014*56bb7041Schristos (record_feature_use): Moved. 3015*56bb7041Schristos (mark_feature_used): Likewise. 3016*56bb7041Schristos (parse_typed_reg_or_scalar): Add new case for REG_TYPE_MQ. 3017*56bb7041Schristos (emit_insn): Use renamed functions and variables. 3018*56bb7041Schristos (enum operand_parse_code): Add new operands. 3019*56bb7041Schristos (parse_operands): Handle new operands. 3020*56bb7041Schristos (do_scalar_fp16_v82_encode): Change predication detection. 3021*56bb7041Schristos (do_it): Use renamed functions and variables. 3022*56bb7041Schristos (do_t_add_sub): Likewise. 3023*56bb7041Schristos (do_t_arit3): Likewise. 3024*56bb7041Schristos (do_t_arit3c): Likewise. 3025*56bb7041Schristos (do_t_blx): Likewise. 3026*56bb7041Schristos (do_t_branch): Likewise. 3027*56bb7041Schristos (do_t_bkpt_hlt1): Likewise. 3028*56bb7041Schristos (do_t_branch23): Likewise. 3029*56bb7041Schristos (do_t_bx): Likewise. 3030*56bb7041Schristos (do_t_bxj): Likewise. 3031*56bb7041Schristos (do_t_cond): Likewise. 3032*56bb7041Schristos (do_t_csdb): Likewise. 3033*56bb7041Schristos (do_t_cps): Likewise. 3034*56bb7041Schristos (do_t_cpsi): Likewise. 3035*56bb7041Schristos (do_t_cbz): Likewise. 3036*56bb7041Schristos (do_t_it): Likewise. 3037*56bb7041Schristos (do_mve_vpt): New function to handle VPT blocks. 3038*56bb7041Schristos (encode_thumb2_multi): Use renamed functions and variables. 3039*56bb7041Schristos (do_t_ldst): Use renamed functions and variables. 3040*56bb7041Schristos (do_t_mov_cmp): Likewise. 3041*56bb7041Schristos (do_t_mvn_tst): Likewise. 3042*56bb7041Schristos (do_t_mul): Likewise. 3043*56bb7041Schristos (do_t_nop): Likewise. 3044*56bb7041Schristos (do_t_neg): Likewise. 3045*56bb7041Schristos (do_t_rsb): Likewise. 3046*56bb7041Schristos (do_t_setend): Likewise. 3047*56bb7041Schristos (do_t_shift): Likewise. 3048*56bb7041Schristos (do_t_smc): Likewise. 3049*56bb7041Schristos (do_t_tb): Likewise. 3050*56bb7041Schristos (do_t_udf): Likewise. 3051*56bb7041Schristos (do_t_loloop): Likewise. 3052*56bb7041Schristos (do_neon_cvt_1): Likewise. 3053*56bb7041Schristos (do_vfp_nsyn_cvt_fpv8): Likewise. 3054*56bb7041Schristos (do_vsel): Likewise. 3055*56bb7041Schristos (do_vmaxnm): Likewise. 3056*56bb7041Schristos (do_vrint_1): Likewise. 3057*56bb7041Schristos (do_crypto_2op_1): Likewise. 3058*56bb7041Schristos (do_crypto_3op_1): Likewise. 3059*56bb7041Schristos (do_crc32_1): Likewise. 3060*56bb7041Schristos (it_fsm_pre_encode): Likewise. 3061*56bb7041Schristos (it_fsm_post_encode): Likewise. 3062*56bb7041Schristos (force_automatic_it_block_close): Likewise. 3063*56bb7041Schristos (check_it_blocks_finished): Likewise. 3064*56bb7041Schristos (check_pred_blocks_finished): Likewise. 3065*56bb7041Schristos (arm_cleanup): Likewise. 3066*56bb7041Schristos (now_it_add_mask): Rename to ... 3067*56bb7041Schristos (now_pred_add_mask): ... this. And use new variables and functions. 3068*56bb7041Schristos (NEON_ENC_TAB): Add entries for vabdl, vaddl and vsubl. 3069*56bb7041Schristos (N_I_MVE, N_F_MVE, N_SU_MVE): New MACROs. 3070*56bb7041Schristos (neon_check_type): Generalize error message. 3071*56bb7041Schristos (mve_encode_qqr): New MVE generic encoding function. 3072*56bb7041Schristos (neon_dyadic_misc): Change to accept MVE variants. 3073*56bb7041Schristos (do_neon_dyadic_if_su): Likewise. 3074*56bb7041Schristos (do_neon_addsub_if_i): Likewise. 3075*56bb7041Schristos (do_neon_dyadic_long): Likewise. 3076*56bb7041Schristos (vfp_or_neon_is_neon): Add extra checks. 3077*56bb7041Schristos (check_simd_pred_availability): Helper function to check SIMD 3078*56bb7041Schristos instruction availability with respect to predication. 3079*56bb7041Schristos (enum opcode_tag): New suffix value. 3080*56bb7041Schristos (opcode_lookup): Change to handle VPT blocks. 3081*56bb7041Schristos (new_automatic_it_block): Rename to ... 3082*56bb7041Schristos (close_automatic_it_block): ...this. 3083*56bb7041Schristos (TxCE, TxC3, TxC3w, TUE, TUEc, TUF, CE, C3, ToC, ToU, 3084*56bb7041Schristos toC, toU, CL, cCE, cCL, C3E, xCM_, UE, UF, NUF, nUF, 3085*56bb7041Schristos NCE_tag, NCE, NCEF, nCE_tag, nCE, nCEF): Add default value for new 3086*56bb7041Schristos field. 3087*56bb7041Schristos (mCEF, mnCEF, mnCE, MNUF, mnUF, mToC, MNCE, MNCEF): New MACROs. 3088*56bb7041Schristos (insns): Redefine vadd, vsub, cabd, vabdl, vaddl, vsubl to accept MVE 3089*56bb7041Schristos variants. Add entries for vscclrm, and vpst. 3090*56bb7041Schristos (md_begin): Add arm_vcond_hsh initialization. 3091*56bb7041Schristos * config/tc-arm.h (enum it_state): Rename to... 3092*56bb7041Schristos (enum pred_state): ...this. 3093*56bb7041Schristos (struct current_it): Rename to... 3094*56bb7041Schristos (struct current_pred): ...this. 3095*56bb7041Schristos (enum pred_type): New enum. 3096*56bb7041Schristos (struct arm_segment_info_type): Use current_pred. 3097*56bb7041Schristos * testsuite/gas/arm/armv8_3-a-fp-bad.l: Update error message. 3098*56bb7041Schristos * testsuite/gas/arm/armv8_3-a-simd-bad.l: Update error message. 3099*56bb7041Schristos * testsuite/gas/arm/dotprod-illegal.l: Update error message. 3100*56bb7041Schristos * testsuite/gas/arm/mve-vaddsubabd-bad-1.d: New test. 3101*56bb7041Schristos * testsuite/gas/arm/mve-vaddsubabd-bad-1.l: New test. 3102*56bb7041Schristos * testsuite/gas/arm/mve-vaddsubabd-bad-1.s: New test. 3103*56bb7041Schristos * testsuite/gas/arm/mve-vaddsubabd-bad-2.d: New test. 3104*56bb7041Schristos * testsuite/gas/arm/mve-vaddsubabd-bad-2.l: New test. 3105*56bb7041Schristos * testsuite/gas/arm/mve-vaddsubabd-bad-2.s: New test. 3106*56bb7041Schristos * testsuite/gas/arm/mve-vpst-bad.d: New test. 3107*56bb7041Schristos * testsuite/gas/arm/mve-vpst-bad.l: New test. 3108*56bb7041Schristos * testsuite/gas/arm/mve-vpst-bad.s: New test. 3109*56bb7041Schristos * testsuite/gas/arm/neon-ldst-es-bad.l: Updated error message. 3110*56bb7041Schristos 3111*56bb7041Schristos2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com> 3112*56bb7041Schristos 3113*56bb7041Schristos * config/tc-arm.c (mve_ext, mve_fp_ext): New features. 3114*56bb7041Schristos (armv8_1m_main_ext_table): Add new extensions. 3115*56bb7041Schristos (aeabi_set_public_attributes): Translate new features to new build attributes. 3116*56bb7041Schristos (arm_convert_symbolic_attribute): Add Tag_MVE_arch. 3117*56bb7041Schristos * doc/c-arm.texi: Document new extensions and new build attribute. 3118*56bb7041Schristos 3119*56bb7041Schristos2019-05-15 John Darrington <john@darrington.wattle.id.au> 3120*56bb7041Schristos 3121*56bb7041Schristos * config/tc-s12z.c (register_prefix): New variable. (md_show_usage, 3122*56bb7041Schristos md_parse_option): parse the new option. 3123*56bb7041Schristos (lex_reg_name): Scan the prefix if one is set. 3124*56bb7041Schristos * doc/c-s12z.texi (S12Z-Opts): Document the new option. 3125*56bb7041Schristos * testsuite/gas/s12z/reg-prefix.d: New file. 3126*56bb7041Schristos * testsuite/gas/s12z/reg-prefix.s: New file. 3127*56bb7041Schristos * testsuite/gas/s12z/s12z.exp: Add them. 3128*56bb7041Schristos 3129*56bb7041Schristos2019-05-14 John Darrington <john@darrington.wattle.id.au> 3130*56bb7041Schristos 3131*56bb7041Schristos * doc/as.texi (Machine Dependencies): Fix misaligned menu entry. 3132*56bb7041Schristos 3133*56bb7041Schristos2019-05-15 Alan Modra <amodra@gmail.com> 3134*56bb7041Schristos 3135*56bb7041Schristos * config/tc-csky.c (md_convert_frag): Initialise trailing 3136*56bb7041Schristos padding for COND_JUMP_PIC. 3137*56bb7041Schristos 3138*56bb7041Schristos2019-05-15 Alan Modra <amodra@gmail.com> 3139*56bb7041Schristos 3140*56bb7041Schristos * dwarf2dbg.c: Whitespace fixes. 3141*56bb7041Schristos (get_filenum): Don't strdup "file". Adjust error message. 3142*56bb7041Schristos (dwarf2_directive_filename): Use an unsigned type for "num". 3143*56bb7041Schristos Catch truncation of file number and overflow of get_filenum 3144*56bb7041Schristos XRESIZEVEC multiplication. Delete dead code. 3145*56bb7041Schristos 3146*56bb7041Schristos2019-05-15 Alan Modra <amodra@gmail.com> 3147*56bb7041Schristos 3148*56bb7041Schristos PR 24538 3149*56bb7041Schristos * config/tc-tic54x.c (tic54x_start_line_hook): Do skip end of line 3150*56bb7041Schristos chars in setting endp. 3151*56bb7041Schristos 3152*56bb7041Schristos2019-05-14 Nick Clifton <nickc@redhat.com> 3153*56bb7041Schristos 3154*56bb7041Schristos PR 24538 3155*56bb7041Schristos * config/tc-i386-intel.c (i386_intel_simplify_register): Reject 3156*56bb7041Schristos illegal register numbers. 3157*56bb7041Schristos 3158*56bb7041Schristos2019-05-10 Nick Clifton <nickc@redhat.com> 3159*56bb7041Schristos 3160*56bb7041Schristos PR 24538 3161*56bb7041Schristos * macro.c (get_any_string): Increase size of buffer used to hold 3162*56bb7041Schristos decimal value of expression result. 3163*56bb7041Schristos * dw2gencfi.c (get_debugseg_name): Handle an empty name. 3164*56bb7041Schristos * dwarf2dbg.c (get_filenum): Catch integer wraparound when 3165*56bb7041Schristos extending allocate file array. 3166*56bb7041Schristos (dwarf2_directive_filename): Add extra checks of the computed file 3167*56bb7041Schristos number. 3168*56bb7041Schristos * config/tc-arm.c (arm_tc_equal_in_insn): Insert copy of name into 3169*56bb7041Schristos warning hash table. 3170*56bb7041Schristos (s_arm_eabi_attribute): Check for obj_elf_vendor_attribute 3171*56bb7041Schristos returning -1. 3172*56bb7041Schristos * config/tc-i386.c (i386_output_nops): Catch an attempt to 3173*56bb7041Schristos generate nops of negative lengths. 3174*56bb7041Schristos * as.h (MAX_LITTLENUMS): Move definition to here from... 3175*56bb7041Schristos * config/atof-ieee.c: ...here. 3176*56bb7041Schristos * config/tc-aarch64.c: ...here. 3177*56bb7041Schristos * config/tc-arc.c: ...here. 3178*56bb7041Schristos * config/tc-arm.c: ...here. 3179*56bb7041Schristos * config/tc-epiphany.c: ...here. 3180*56bb7041Schristos * config/tc-i386.c: ...here. 3181*56bb7041Schristos * config/tc-ia64.c: ...here. (And correct the value). 3182*56bb7041Schristos * config/tc-m32c.c: ...here. 3183*56bb7041Schristos * config/tc-m32r.c: ...here. 3184*56bb7041Schristos * config/tc-metag.c: ...here. 3185*56bb7041Schristos * config/tc-microblaze.c: ...here. 3186*56bb7041Schristos * config/tc-nds32.c: ...here. 3187*56bb7041Schristos * config/tc-or1k.c: ...here. 3188*56bb7041Schristos * config/tc-score.c: ...here. 3189*56bb7041Schristos * config/tc-score7.c: ...here. 3190*56bb7041Schristos * config/tc-tic4x.c: ...here. 3191*56bb7041Schristos * config/tc-tilegx.c: ...here. 3192*56bb7041Schristos * config/tc-tilepro.c: ...here. 3193*56bb7041Schristos * config/tc-visium.c: ...here. 3194*56bb7041Schristos * config/tc-sh.c (md_assemble): Add check for an instruction with 3195*56bb7041Schristos no opcodes. 3196*56bb7041Schristos * config/tc-mips.c (mips_lookup_insn): Add check for very short 3197*56bb7041Schristos instruction name. 3198*56bb7041Schristos * config/tc-tic54x.c: Use unsigned chars to access is_end_of_line 3199*56bb7041Schristos array. 3200*56bb7041Schristos (tic54x_start_line_hook): Check for an empty line. 3201*56bb7041Schristos (next_line_shows_parallel): Do not walk off the end of the string. 3202*56bb7041Schristos (tic54x_macro_start): Check for too much macro nesting. 3203*56bb7041Schristos (tic54x_start_label): Add label_start parameter. Use this 3204*56bb7041Schristos parameter to check the first character of the label. 3205*56bb7041Schristos 3206*56bb7041Schristos * config/tc-tic54x.h (TC_START_LABEL_WITHOUT_COLON): Pass 3207*56bb7041Schristos line_start variable to tic54x_start_label. 3208*56bb7041Schristos 3209*56bb7041Schristos2019-05-10 Faraz Shahbazker <fshahbazker@wavecomp.com> 3210*56bb7041Schristos 3211*56bb7041Schristos * config/tc-mips.c (macro) <M_ADD_I, M_SUB_I, M_DADD_I, M_DSUB_I>: 3212*56bb7041Schristos Add expansions for MIPS r6. 3213*56bb7041Schristos * testsuite/gas/mips/add.s: Enable tests for R6. 3214*56bb7041Schristos * testsuite/gas/mips/daddi.s: Annotate to test DADD for R6. 3215*56bb7041Schristos * testsuite/gas/mips/mipsr6@add.d: Likewise. 3216*56bb7041Schristos * gas/testsuite/gas/mips/mipsr6@dadd.d: New test. 3217*56bb7041Schristos * gas/testsuite/gas/mips/mips.exp: Run the new test. 3218*56bb7041Schristos 3219*56bb7041Schristos2019-05-09 Matthew Malcomson <matthew.malcomson@arm.com> 3220*56bb7041Schristos 3221*56bb7041Schristos * testsuite/gas/aarch64/sve2.d: Remove file format restriction. 3222*56bb7041Schristos 3223*56bb7041Schristos2019-05-09 Matthew Malcomson <matthew.malcomson@arm.com> 3224*56bb7041Schristos 3225*56bb7041Schristos * testsuite/gas/aarch64/illegal-sve2-aes.d: New test. 3226*56bb7041Schristos * testsuite/gas/aarch64/illegal-sve2-bitperm.d: New test. 3227*56bb7041Schristos * testsuite/gas/aarch64/illegal-sve2-sha3.d: Test new instructions. 3228*56bb7041Schristos * testsuite/gas/aarch64/illegal-sve2-sm4.d: Test new instructions. 3229*56bb7041Schristos * testsuite/gas/aarch64/illegal-sve2-sve1ext.d: Test new instructions. 3230*56bb7041Schristos * testsuite/gas/aarch64/illegal-sve2-sve1ext.l: Test new instructions. 3231*56bb7041Schristos * testsuite/gas/aarch64/illegal-sve2.d: Test new instructions. 3232*56bb7041Schristos * testsuite/gas/aarch64/illegal-sve2.l: Test new instructions. 3233*56bb7041Schristos * testsuite/gas/aarch64/illegal-sve2.s: Test new instructions. 3234*56bb7041Schristos * testsuite/gas/aarch64/sve1-extended-sve2.s: New test. 3235*56bb7041Schristos * testsuite/gas/aarch64/sve2.d: Test new instructions. 3236*56bb7041Schristos * testsuite/gas/aarch64/sve2.s: Test new instructions. 3237*56bb7041Schristos 3238*56bb7041Schristos2019-05-09 Matthew Malcomson <matthew.malcomson@arm.com> 3239*56bb7041Schristos 3240*56bb7041Schristos * config/tc-aarch64.c (parse_operands): Handle new SVE_SHLIMM_UNPRED_22 3241*56bb7041Schristos operand. 3242*56bb7041Schristos 3243*56bb7041Schristos2019-05-09 Matthew Malcomson <matthew.malcomson@arm.com> 3244*56bb7041Schristos 3245*56bb7041Schristos * config/tc-aarch64.c (parse_operands): Handle new SVE_Zm4_11_INDEX 3246*56bb7041Schristos operand. 3247*56bb7041Schristos 3248*56bb7041Schristos2019-05-09 Matthew Malcomson <matthew.malcomson@arm.com> 3249*56bb7041Schristos 3250*56bb7041Schristos * config/tc-aarch64.c (parse_operands): Handle new SVE_SHRIMM_UNPRED_22 3251*56bb7041Schristos operand. 3252*56bb7041Schristos 3253*56bb7041Schristos2019-05-09 Matthew Malcomson <matthew.malcomson@arm.com> 3254*56bb7041Schristos 3255*56bb7041Schristos * config/tc-aarch64.c (REG_ZR): Macro specifying zero register. 3256*56bb7041Schristos (parse_address_main): Account for new addressing mode [Zn.S, Xm]. 3257*56bb7041Schristos (parse_operands): Handle new SVE_ADDR_ZX operand. 3258*56bb7041Schristos 3259*56bb7041Schristos2019-05-09 Matthew Malcomson <matthew.malcomson@arm.com> 3260*56bb7041Schristos 3261*56bb7041Schristos * config/tc-aarch64.c (parse_operands): Handle new SVE_Zm3_11_INDEX 3262*56bb7041Schristos operand. 3263*56bb7041Schristos 3264*56bb7041Schristos2019-05-09 Matthew Malcomson <matthew.malcomson@arm.com> 3265*56bb7041Schristos 3266*56bb7041Schristos * config/tc-aarch64.c (parse_operands): Handle new SVE_IMM_ROT3 operand. 3267*56bb7041Schristos 3268*56bb7041Schristos2019-05-09 Matthew Malcomson <matthew.malcomson@arm.com> 3269*56bb7041Schristos 3270*56bb7041Schristos * config/tc-aarch64.c: Add command line architecture feature flags 3271*56bb7041Schristos "sve2", "sve2-sm4", "sve2-aes", "sve2-sha3", "bitperm". 3272*56bb7041Schristos * doc/c-aarch64.texi: Document new architecture feature flags. 3273*56bb7041Schristos 3274*56bb7041Schristos2019-05-08 Alan Modra <amodra@gmail.com> 3275*56bb7041Schristos 3276*56bb7041Schristos * testsuite/gas/elf/dwarf2-1.s, 3277*56bb7041Schristos * testsuite/gas/elf/dwarf2-2.s, 3278*56bb7041Schristos * testsuite/gas/elf/dwarf2-5.s, 3279*56bb7041Schristos * testsuite/gas/elf/dwarf2-7.s, 3280*56bb7041Schristos * testsuite/gas/elf/dwarf2-8.s, 3281*56bb7041Schristos * testsuite/gas/elf/dwarf2-9.s, 3282*56bb7041Schristos * testsuite/gas/elf/dwarf2-10.s, 3283*56bb7041Schristos * testsuite/gas/elf/dwarf2-11.s, 3284*56bb7041Schristos * testsuite/gas/elf/dwarf2-12.s, 3285*56bb7041Schristos * testsuite/gas/elf/dwarf2-13.s, 3286*56bb7041Schristos * testsuite/gas/elf/dwarf2-14.s, 3287*56bb7041Schristos * testsuite/gas/elf/dwarf2-15.s, 3288*56bb7041Schristos * testsuite/gas/elf/dwarf2-16.s, 3289*56bb7041Schristos * testsuite/gas/elf/dwarf2-17.s, 3290*56bb7041Schristos * testsuite/gas/elf/dwarf2-18.s, 3291*56bb7041Schristos * testsuite/gas/elf/dwarf2-19.s: Double size of align and simulated 3292*56bb7041Schristos instructions. 3293*56bb7041Schristos * testsuite/gas/elf/dwarf2-1.d, 3294*56bb7041Schristos * testsuite/gas/elf/dwarf2-2.d, 3295*56bb7041Schristos * testsuite/gas/elf/dwarf2-5.d, 3296*56bb7041Schristos * testsuite/gas/elf/dwarf2-7.d, 3297*56bb7041Schristos * testsuite/gas/elf/dwarf2-8.d, 3298*56bb7041Schristos * testsuite/gas/elf/dwarf2-9.d, 3299*56bb7041Schristos * testsuite/gas/elf/dwarf2-10.d, 3300*56bb7041Schristos * testsuite/gas/elf/dwarf2-11.d, 3301*56bb7041Schristos * testsuite/gas/elf/dwarf2-12.d, 3302*56bb7041Schristos * testsuite/gas/elf/dwarf2-13.d, 3303*56bb7041Schristos * testsuite/gas/elf/dwarf2-14.d, 3304*56bb7041Schristos * testsuite/gas/elf/dwarf2-15.d, 3305*56bb7041Schristos * testsuite/gas/elf/dwarf2-16.d, 3306*56bb7041Schristos * testsuite/gas/elf/dwarf2-17.d, 3307*56bb7041Schristos * testsuite/gas/elf/dwarf2-18.d, 3308*56bb7041Schristos * testsuite/gas/elf/dwarf2-19.d: Use xfail rather than notarget. 3309*56bb7041Schristos Remove avr, pru, tile, xtensa from xfails. Update expected output. 3310*56bb7041Schristos * testsuite/gas/elf/elf.exp: Sort targets. 3311*56bb7041Schristos (dump_opts): Pass {as -mno-relax} for riscv, {as -mno-link-relax} 3312*56bb7041Schristos for avr and pru, and {as --no-link-relax} for xtensa to dwarf tests. 3313*56bb7041Schristos * testsuite/gas/elf/section2.e-miwmmxt: Delete unused file. 3314*56bb7041Schristos 3315*56bb7041Schristos2019-05-08 Alan Modra <amodra@gmail.com> 3316*56bb7041Schristos 3317*56bb7041Schristos * config/tc-xtensa.c (opt_linkrelax): New variable. 3318*56bb7041Schristos (md_parse_option): Set it here. 3319*56bb7041Schristos (md_begin): Copy opt_linkrelax to linkrelax. 3320*56bb7041Schristos 3321*56bb7041Schristos2019-05-07 Alexandre Oliva <aoliva@redhat.com> 3322*56bb7041Schristos 3323*56bb7041Schristos * testsuite/gas/elf/dwarf2-18.d: Xfail mep-*. 3324*56bb7041Schristos * testsuite/gas/elf/dwarf2-19.d: Likewise. 3325*56bb7041Schristos 3326*56bb7041Schristos2019-05-07 Alan Modra <amodra@gmail.com> 3327*56bb7041Schristos 3328*56bb7041Schristos * symbols.c (use_complex_relocs_for): Formatting. Factor out 3329*56bb7041Schristos X_add_symbol tests. 3330*56bb7041Schristos 3331*56bb7041Schristos2019-05-06 Andrew Bennett <andrew.bennett@imgtec.com> 3332*56bb7041Schristos Faraz Shahbazker <fshahbazker@wavecomp.com> 3333*56bb7041Schristos 3334*56bb7041Schristos * config/tc-mips.c (mips_set_ase): Handle ASE_EVA_R6. 3335*56bb7041Schristos (macro) <M_LLWPE_AB, M_SCWPE_AB>: New cases. 3336*56bb7041Schristos (mips_after_parse_args): Translate EVA to EVA_R6. 3337*56bb7041Schristos * testsuite/gas/mips/ase-errors-1.s: Add new instructions. 3338*56bb7041Schristos * testsuite/gas/mips/eva.s: Likewise. 3339*56bb7041Schristos * testsuite/gas/mips/ase-errors-1.l: Check errors for 3340*56bb7041Schristos new instructions. 3341*56bb7041Schristos * testsuite/gas/mips/mipsr6@eva.d: Check new test cases. 3342*56bb7041Schristos 3343*56bb7041Schristos2019-05-06 Alan Modra <amodra@gmail.com> 3344*56bb7041Schristos 3345*56bb7041Schristos * symbols.c (symbol_relc_make_sym): Do not access sym->sy_value 3346*56bb7041Schristos directly. 3347*56bb7041Schristos 3348*56bb7041Schristos2019-05-06 Alan Modra <amodra@gmail.com> 3349*56bb7041Schristos 3350*56bb7041Schristos * config/tc-ppc.c (ppc_fix_adjustable): Exclude all GOT and PLT 3351*56bb7041Schristos relocs, and VLE sdarel relocs. 3352*56bb7041Schristos * testsuite/gas/ppc/power4.d: Adjust. 3353*56bb7041Schristos 3354*56bb7041Schristos2019-05-05 Alexandre Oliva <aoliva@redhat.com> 3355*56bb7041Schristos 3356*56bb7041Schristos * dwarf2dbg.c (set_or_check_view): Skip heads when assigning 3357*56bb7041Schristos views of prior locs. 3358*56bb7041Schristos (dwarf2_gen_line_info_1): Skip heads. 3359*56bb7041Schristos (size_inc_line_addr, emit_inc_line_addr): Drop 3360*56bb7041Schristos DW_LNS_advance_pc for zero addr delta. 3361*56bb7041Schristos (dwarf2_finish): Assign views for heads of segments. 3362*56bb7041Schristos * testsuite/gas/elf/dwarf2-19.d: New. 3363*56bb7041Schristos * testsuite/gas/elf/dwarf2-19.s: New. 3364*56bb7041Schristos * testsuite/gas/elf/elf.exp: Test it. 3365*56bb7041Schristos 3366*56bb7041Schristos2019-05-04 Alan Modra <amodra@gmail.com> 3367*56bb7041Schristos 3368*56bb7041Schristos * config/tc-m32c.c (insn_size): Delete static var. 3369*56bb7041Schristos (md_begin): Don't set it. 3370*56bb7041Schristos (m32c_md_end): Delete. 3371*56bb7041Schristos (md_assemble): Add insn_size auto var. 3372*56bb7041Schristos * config/tc-m32c.h (md_end): Don't define. 3373*56bb7041Schristos (m32c_md_end): Delete. 3374*56bb7041Schristos (NOP_OPCODE, HANDLE_ALIGN, MAX_MEM_FOR_RS_ALIGN_CODE): Define. 3375*56bb7041Schristos * testsuite/gas/all/align.d: Remove m32c from notarget list. 3376*56bb7041Schristos * testsuite/gas/all/incbin.d: Likewise. 3377*56bb7041Schristos * testsuite/gas/elf/dwarf2-11.d: Likewise. 3378*56bb7041Schristos * testsuite/gas/macros/semi.d: Likewise. 3379*56bb7041Schristos * testsuite/gas/all/gas.exp (do_comment): Similarly. 3380*56bb7041Schristos 3381*56bb7041Schristos2019-05-02 H.J. Lu <hongjiu.lu@intel.com> 3382*56bb7041Schristos 3383*56bb7041Schristos PR gas/24485 3384*56bb7041Schristos * config/tc-i386.c (process_suffix): Issue a warning to IRET 3385*56bb7041Schristos without a suffix for .code16gcc. 3386*56bb7041Schristos * testsuite/gas/i386/jump16.s: Add tests for iretX. 3387*56bb7041Schristos * testsuite/gas/i386/jump16.d: Updated. 3388*56bb7041Schristos * testsuite/gas/i386/jump16.e: New file. 3389*56bb7041Schristos 3390*56bb7041Schristos2019-05-01 Sudakshina Das <sudi.das@arm.com> 3391*56bb7041Schristos 3392*56bb7041Schristos * config/tc-aarch64.c (parse_operands): Add case for 3393*56bb7041Schristos AARCH64_OPND_TME_UIMM16. 3394*56bb7041Schristos (aarch64_features): Add "tme". 3395*56bb7041Schristos * doc/c-aarch64.texi: Document the same. 3396*56bb7041Schristos * testsuite/gas/aarch64/tme-invalid.d: New test. 3397*56bb7041Schristos * testsuite/gas/aarch64/tme-invalid.l: New test. 3398*56bb7041Schristos * testsuite/gas/aarch64/tme-invalid.s: New test. 3399*56bb7041Schristos * testsuite/gas/aarch64/tme.d: New test. 3400*56bb7041Schristos * testsuite/gas/aarch64/tme.s: New test. 3401*56bb7041Schristos 3402*56bb7041Schristos2019-04-29 John Darrington <john@darrington.wattle.id.au> 3403*56bb7041Schristos 3404*56bb7041Schristos * testsuite/gas/s12z/truncated.d: New file. 3405*56bb7041Schristos * testsuite/gas/s12z/truncated.s: New file. 3406*56bb7041Schristos * testsuite/gas/s12z/s12z.exp: Add new test. 3407*56bb7041Schristos 3408*56bb7041Schristos2019-04-26 Andrew Bennett <andrew.bennett@imgtec.com> 3409*56bb7041Schristos Faraz Shahbazker <fshahbazker@wavecomp.com> 3410*56bb7041Schristos 3411*56bb7041Schristos * config/tc-mips.c (macro) <M_LLWP_AB, M_LLDP_AB, M_SCWP_AB, 3412*56bb7041Schristos M_SCDP_AB>: New cases and expansions for paired instructions. 3413*56bb7041Schristos * testsuite/gas/mips/llpscp-32.s: New test source. 3414*56bb7041Schristos * testsuite/gas/mips/llpscp-64.s: Likewise. 3415*56bb7041Schristos * testsuite/gas/mips/llpscp-32.d: New test. 3416*56bb7041Schristos * testsuite/gas/mips/llpscp-64.d: Likewise. 3417*56bb7041Schristos * testsuite/gas/mips/mips.exp: Run the new tests. 3418*56bb7041Schristos * testsuite/gas/mips/r6.s: Add new instructions to test source. 3419*56bb7041Schristos * testsuite/gas/mips/r6-64.s: Likewise. 3420*56bb7041Schristos * testsuite/gas/mips/r6-64-n32.d: Check new instructions. 3421*56bb7041Schristos * testsuite/gas/mips/r6-64-n64.d: Likewise. 3422*56bb7041Schristos * testsuite/gas/mips/r6-n32.d: Likewise. 3423*56bb7041Schristos * testsuite/gas/mips/r6-n64.d: Likwwise. 3424*56bb7041Schristos * testsuite/gas/mips/r6.d: Likewise. 3425*56bb7041Schristos 3426*56bb7041Schristos2019-04-26 H.J. Lu <hongjiu.lu@intel.com> 3427*56bb7041Schristos 3428*56bb7041Schristos PR gas/24485 3429*56bb7041Schristos * config/tc-i386.c (process_suffix): Don't add DATA_PREFIX_OPCODE 3430*56bb7041Schristos to IRET for .code16gcc. 3431*56bb7041Schristos * testsuite/gas/i386/jump16.s: Add IRET tests. 3432*56bb7041Schristos * testsuite/gas/i386/jump16.d: Updated. 3433*56bb7041Schristos 3434*56bb7041Schristos2019-04-25 Alexandre Oliva <aoliva@redhat.com> 3435*56bb7041Schristos Alan Modra <amodra@gmail.com> 3436*56bb7041Schristos 3437*56bb7041Schristos PR gas/24444 3438*56bb7041Schristos * frags.c (frag_gtoffset_p): New. 3439*56bb7041Schristos * frags.h (frag_gtoffset_p): Declare it. 3440*56bb7041Schristos * expr.c (resolve_expression): Use it. 3441*56bb7041Schristos 3442*56bb7041Schristos2019-04-24 Alan Modra <amodra@gmail.com> 3443*56bb7041Schristos 3444*56bb7041Schristos PR 24444 3445*56bb7041Schristos * symbols.c (resolve_symbol_value): When handling symbols 3446*56bb7041Schristos marked as sy_flags.resolved, return correct value for the 3447*56bb7041Schristos case of expression symbols left as an O_symbol expression. 3448*56bb7041Schristos Merge O_symbol code handling undefined and common symbols with 3449*56bb7041Schristos code handling special cases of expression symbols. Use 3450*56bb7041Schristos seg_left to test for undefined and common symbols. Don't 3451*56bb7041Schristos leave an O_symbol expression when X_add_symbol resolves to 3452*56bb7041Schristos the absolute_section. Init final_val later. 3453*56bb7041Schristos * testsuite/gas/mmix/basep-7.d: Adjust expected output. 3454*56bb7041Schristos 3455*56bb7041Schristos2019-04-24 John Darrington <john@darrington.wattle.id.au> 3456*56bb7041Schristos 3457*56bb7041Schristos * testsuite/gas/s12z/bit-manip-invalid.s: Extend test for BSET 3458*56bb7041Schristos and BCLR instructions with an invalid mode. 3459*56bb7041Schristos * testsuite/gas/s12z/bit-manip-invalid.d: ditto. 3460*56bb7041Schristos 3461*56bb7041Schristos2019-04-19 Nick Clifton <nickc@redhat.com> 3462*56bb7041Schristos 3463*56bb7041Schristos PR 24464 3464*56bb7041Schristos * config/tc-rx.h (md_relax_frag): Pass the max_iterations variable 3465*56bb7041Schristos to the relaxation function. 3466*56bb7041Schristos * config/tc-rx.c (rx_relax_frag): Add new parameter - the maximum 3467*56bb7041Schristos number of iterations. Make sure that our internal iteration limit 3468*56bb7041Schristos does not exceed this external iteration limit. 3469*56bb7041Schristos 3470*56bb7041Schristos2019-04-18 Matthew Fortune <matthew.fortune@mips.com> 3471*56bb7041Schristos 3472*56bb7041Schristos * config/tc-mips.c (match_non_zero_reg_operand): Update 3473*56bb7041Schristos warning message. 3474*56bb7041Schristos * testsuite/gas/mips/r6-branch-constraints.l: Likewise. 3475*56bb7041Schristos 3476*56bb7041Schristos2019-04-18 Jozef Lawrynowicz <jozef.l@mittosystems.com> 3477*56bb7041Schristos 3478*56bb7041Schristos * config/tc-msp430.c (msp430_make_init_symbols): Define 3479*56bb7041Schristos __crt0_run_{preinit,init,fini}_array symbols if 3480*56bb7041Schristos .{preinit,init,fini}_array sections exist. 3481*56bb7041Schristos * testsuite/gas/msp430/fini-array.d: New test. 3482*56bb7041Schristos * testsuite/gas/msp430/init-array.d: New test. 3483*56bb7041Schristos * testsuite/gas/msp430/preinit-array.d: New test. 3484*56bb7041Schristos * testsuite/gas/msp430/fini-array.s: New test source. 3485*56bb7041Schristos * testsuite/gas/msp430/init-array.s: New test source. 3486*56bb7041Schristos * testsuite/gas/msp430/preinit-array.s: New test source. 3487*56bb7041Schristos * testsuite/gas/msp430/msp430.exp: Add new tests to driver. 3488*56bb7041Schristos 3489*56bb7041Schristos2019-04-17 Jozef Lawrynowicz <jozef.l@mittosystems.com> 3490*56bb7041Schristos 3491*56bb7041Schristos * config/tc-msp430.c (msp430_make_init_symbols): Define __crt0_init_bss 3492*56bb7041Schristos symbol when .lower.bss or .either.bss sections exist. 3493*56bb7041Schristos Define __crt0_movedata when .lower.data or .either.data sections exist. 3494*56bb7041Schristos * testsuite/gas/msp430/either-data-bss-sym.d: New test. 3495*56bb7041Schristos * testsuite/gas/msp430/low-data-bss-sym.d: New test. 3496*56bb7041Schristos * testsuite/gas/msp430/either-data-bss-sym.s: New test source. 3497*56bb7041Schristos * testsuite/gas/msp430/low-data-bss-sym.s: New test source. 3498*56bb7041Schristos * testsuite/gas/msp430/msp430.exp: Run new tests. 3499*56bb7041Schristos Enable large code model when running -mdata-region={upper,either} 3500*56bb7041Schristos tests. 3501*56bb7041Schristos 3502*56bb7041Schristos2019-04-17 Jozef Lawrynowicz <jozef.l@mittosystems.com> 3503*56bb7041Schristos 3504*56bb7041Schristos * config/tc-msp430.c (options): New OPTION_UNKNOWN_INTR_NOPS, 3505*56bb7041Schristos OPTION_NO_UNKNOWN_INTR_NOPS and do_unknown_interrupt_nops. 3506*56bb7041Schristos (md_parse_option): Handle OPTION_UNKNOWN_INTR_NOPS and 3507*56bb7041Schristos OPTION_NO_UNKNOWN_INTR_NOPS by setting do_unknown_interrupt_nops 3508*56bb7041Schristos accordingly. 3509*56bb7041Schristos (md_show_usage): Likewise. 3510*56bb7041Schristos (md_shortopts): Add "mu" for OPTION_UNKNOWN_INTR_NOPS and 3511*56bb7041Schristos "mU" for OPTION_NO_UNKNOWN_INTR_NOPS. 3512*56bb7041Schristos (md_longopts): Likewise. 3513*56bb7041Schristos (warn_eint_nop): Update comment. 3514*56bb7041Schristos (warn_unsure_interrupt): Don't warn if prev_insn_is_nop or 3515*56bb7041Schristos prev_insn_is_dint or we are assembling for 430 ISA. 3516*56bb7041Schristos (msp430_operands): Only call warn_unsure_interrupt if 3517*56bb7041Schristos do_unknown_interrupt_nops == TRUE. 3518*56bb7041Schristos * testsuite/gas/msp430/nop-unknown-intr.s: New test source file. 3519*56bb7041Schristos * testsuite/gas/msp430/nop-unknown-intr-430.d: New test. 3520*56bb7041Schristos * testsuite/gas/msp430/nop-unknown-intr-430x.d: New test. 3521*56bb7041Schristos * testsuite/gas/msp430/nop-unknown-intr-430x-ignore.d: New test. 3522*56bb7041Schristos * testsuite/gas/msp430/nop-unknown-intr-430.l: Warning output for new 3523*56bb7041Schristos test. 3524*56bb7041Schristos * testsuite/gas/msp430/nop-unknown-intr-430x.l: Likewise. 3525*56bb7041Schristos * testsuite/gas/msp430/msp430.exp: Add new tests to driver. 3526*56bb7041Schristos 3527*56bb7041Schristos2019-04-16 Alan Modra <amodra@gmail.com> 3528*56bb7041Schristos 3529*56bb7041Schristos * testsuite/gas/all/weakref1.d: xfail nds32. 3530*56bb7041Schristos 3531*56bb7041Schristos2019-04-16 Alan Modra <amodra@gmail.com> 3532*56bb7041Schristos 3533*56bb7041Schristos * testsuite/gas/all/gas.exp: Remove ns32k xfails. 3534*56bb7041Schristos * testsuite/gas/all/weakref1u.d: Don't run for ns32k-*-*. 3535*56bb7041Schristos 3536*56bb7041Schristos2019-04-16 Alan Modra <amodra@gmail.com> 3537*56bb7041Schristos 3538*56bb7041Schristos * write.h: Don't include bit_fix.h. 3539*56bb7041Schristos (struct fix): Rearrange some fields. Delete fx_im_disp and 3540*56bb7041Schristos fx_bit_fixP. Use bitfields for fx_size and fx_pcrel_adjust. 3541*56bb7041Schristos * write.c (fix_new_internal): Don't init fx_im_disp and fx_bit_fixP. 3542*56bb7041Schristos (fixup_segment): Don't exclude overflow checks on fx_bit_fixP. 3543*56bb7041Schristos (print_fixup): Don't print im_disp. 3544*56bb7041Schristos * config/tc-cris.c (md_apply_fix): Remove tests of fx_bit_fixP 3545*56bb7041Schristos and fx_im_disp. 3546*56bb7041Schristos * config/tc-dlx.c (md_apply_fix): Remove wrong debug code. Set 3547*56bb7041Schristos fx_no_overflow when fx_bit_fixP. 3548*56bb7041Schristos * config/tc-dlx.h: Include bit_fix.h. 3549*56bb7041Schristos (TC_FIX_TYPE, tc_fix_data, TC_INIT_FIX_DATA): Define. 3550*56bb7041Schristos * config/tc-ns32k.c (fix_new_ns32k, fix_new_ns32k_exp): Set 3551*56bb7041Schristos fx_no_overflow when bit_fixP. 3552*56bb7041Schristos * config/tc-ns32k.h (TC_FIX_TYPE): Add fx_bit_fixP and fx_im_disp. 3553*56bb7041Schristos (fix_im_disp, fix_bit_fixP): Adjust to suit. 3554*56bb7041Schristos (TC_INIT_FIX_DATA, TC_FIX_DATA_PRINT): Likewise. 3555*56bb7041Schristos 3556*56bb7041Schristos2019-04-16 Alan Modra <amodra@gmail.com> 3557*56bb7041Schristos 3558*56bb7041Schristos * write.h (struct fix <fx_where>): Make unsigned. 3559*56bb7041Schristos (fix_new, fix_at_start, fix_new_exp): Adjust prototypes. 3560*56bb7041Schristos * write.c (fix_new, fix_new_exp, fix_at_start): Make "where" and 3561*56bb7041Schristos "size" parameters unsigned long. 3562*56bb7041Schristos (fix_new_internal): Likewise. Adjust error format string to suit. 3563*56bb7041Schristos * config/tc-mips.c (md_convert_frag): Remove cast of fx_where. 3564*56bb7041Schristos * config/tc-sparc.c (md_apply_fix): Likewise. 3565*56bb7041Schristos * config/tc-score.c (s3_convert_frag): Adjust for unsigned fx_where. 3566*56bb7041Schristos * config/tc-score7.c (s7_convert_frag): Likewise. 3567*56bb7041Schristos 3568*56bb7041Schristos2019-04-16 Alan Modra <amodra@gmail.com> 3569*56bb7041Schristos 3570*56bb7041Schristos * frags.h (struct frag <fr_fix>): Use unsigned type. 3571*56bb7041Schristos * frags.c (frag_new): Assert that current size exceeds 3572*56bb7041Schristos old_frags_var_max_size. 3573*56bb7041Schristos * ehopt.c (get_cie_info): Adjust for unsigned fr_fix. 3574*56bb7041Schristos * listing.c (calc_hex): Likewise. 3575*56bb7041Schristos * write.c (cvt_frag_to_fill, write_relocs): Likewise. 3576*56bb7041Schristos * config/tc-arc.c (md_convert_frag): Likewise. 3577*56bb7041Schristos * config/tc-avr.c (avr_patch_gccisr_frag): Likewise. 3578*56bb7041Schristos * config/tc-mips.c (md_convert_frag): Likewise. 3579*56bb7041Schristos * config/tc-rl78.c (md_convert_frag): Likewise. 3580*56bb7041Schristos * config/tc-rx.c (md_convert_frag): Likewise. 3581*56bb7041Schristos * config/tc-sparc.c (md_apply_fix): Likewise. 3582*56bb7041Schristos * config/tc-xtensa.c (next_instrs_are_b_retw): Likewise. 3583*56bb7041Schristos (unrelaxed_frag_min_insn_count, unrelaxed_frag_has_b_j): Likewise. 3584*56bb7041Schristos 3585*56bb7041Schristos2019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com> 3586*56bb7041Schristos 3587*56bb7041Schristos * config/tc-arm.c (parse_sys_vldr_vstr): New function. 3588*56bb7041Schristos (OP_VLDR): New enum operand_parse_code enumerator. 3589*56bb7041Schristos (parse_operands): Add logic for OP_VLDR. 3590*56bb7041Schristos (do_t_vldr_vstr_sysreg): New function. 3591*56bb7041Schristos (do_vldr_vstr): Likewise. 3592*56bb7041Schristos (insns): Guard VLDR and VSTR by arm_ext_v4t for Thumb mode. 3593*56bb7041Schristos (md_apply_fix): Add bound check for VLDR and VSTR co-processor offset. 3594*56bb7041Schristos Add masking logic for BFD_RELOC_ARM_T32_VLDR_VSTR_OFF_IMM relocation. 3595*56bb7041Schristos * testsuite/gas/arm/archv8m_1m-cmse-main-bad.s: Add examples of bad 3596*56bb7041Schristos uses of VLDR and VSTR. 3597*56bb7041Schristos * testsuite/gas/arm/archv8m_1m-cmse-main-bad.l: Add error messages for 3598*56bb7041Schristos above bad uses. 3599*56bb7041Schristos * testsuite/gas/arm/archv8m_1m-cmse-main.s: Add examples of VLDR and 3600*56bb7041Schristos VSTR valid uses. 3601*56bb7041Schristos * testsuite/gas/arm/archv8m_1m-cmse-main.d: Add disassembly for the 3602*56bb7041Schristos above examples. 3603*56bb7041Schristos 3604*56bb7041Schristos2019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com> 3605*56bb7041Schristos 3606*56bb7041Schristos * config/tc-arm.c (arm_typed_reg_parse): Fix typo in comment. 3607*56bb7041Schristos (enum reg_list_els): New REGLIST_VFP_S_VPR and REGLIST_VFP_D_VPR 3608*56bb7041Schristos enumerators. 3609*56bb7041Schristos (parse_vfp_reg_list): Add new partial_match parameter. Set 3610*56bb7041Schristos *partial_match to TRUE if at least one element in the register list has 3611*56bb7041Schristos matched. Add support for REGLIST_VFP_S_VPR and REGLIST_VFP_D_VPR 3612*56bb7041Schristos register lists which expect VPR as last element in the list. 3613*56bb7041Schristos (s_arm_unwind_save_vfp_armv6): Adapt call to parse_vfp_reg_list to new 3614*56bb7041Schristos prototype. 3615*56bb7041Schristos (s_arm_unwind_save_vfp): Likewise. 3616*56bb7041Schristos (enum operand_parse_code): New OP_VRSDVLST enumerator. 3617*56bb7041Schristos (parse_operands): Adapt call to parse_vfp_reg_list to new prototype. 3618*56bb7041Schristos Handle new OP_VRSDVLST case. 3619*56bb7041Schristos (do_t_vscclrm): New function. 3620*56bb7041Schristos (insns): New entry for VSCCLRM instruction. 3621*56bb7041Schristos * testsuite/gas/arm/archv8m_1m-cmse-main-bad.s: Add invalid VSCCLRM 3622*56bb7041Schristos instructions. 3623*56bb7041Schristos * testsuite/gas/arm/archv8m_1m-cmse-main-bad.l: Add error expectations 3624*56bb7041Schristos for above instructions. 3625*56bb7041Schristos * testsuite/gas/arm/archv8m_1m-cmse-main.s: Add tests for VSCCLRM 3626*56bb7041Schristos instruction. 3627*56bb7041Schristos * testsuite/gas/arm/archv8m_1m-cmse-main.d: Add expected disassembly 3628*56bb7041Schristos for above instructions. 3629*56bb7041Schristos 3630*56bb7041Schristos2019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com> 3631*56bb7041Schristos 3632*56bb7041Schristos * config/tc-arm.c (enum reg_list_els): Define earlier and add 3633*56bb7041Schristos REGLIST_RN and REGLIST_CLRM enumerators. 3634*56bb7041Schristos (parse_reg_list): Add etype parameter to distinguish between regular 3635*56bb7041Schristos core register list and CLRM register list. Add logic to 3636*56bb7041Schristos recognize CLRM register list. 3637*56bb7041Schristos (parse_vfp_reg_list): Assert type is not for core register list. 3638*56bb7041Schristos (s_arm_unwind_save_core): Update call to parse_reg_list to new 3639*56bb7041Schristos prototype. 3640*56bb7041Schristos (enum operand_parse_code): Declare OP_CLRMLST enumerator. 3641*56bb7041Schristos (parse_operands): Update call to parse_reg_list to new prototype. Add 3642*56bb7041Schristos logic for OP_CLRMLST. 3643*56bb7041Schristos (encode_thumb2_ldmstm): Rename into ... 3644*56bb7041Schristos (encode_thumb2_multi): This. Add do_io parameter. Add logic to 3645*56bb7041Schristos encode CLRM and guard LDM/STM only code by do_io. 3646*56bb7041Schristos (do_t_ldmstm): Adapt to use encode_thumb2_multi. 3647*56bb7041Schristos (do_t_push_pop): Likewise. 3648*56bb7041Schristos (do_t_clrm): New function. 3649*56bb7041Schristos (insns): Define CLRM. 3650*56bb7041Schristos * testsuite/gas/arm/archv8m_1m-cmse-main-bad.d: New file. 3651*56bb7041Schristos * testsuite/gas/arm/archv8m_1m-cmse-main-bad.l: Likewise. 3652*56bb7041Schristos * testsuite/gas/arm/archv8m_1m-cmse-main-bad.s: Likewise. 3653*56bb7041Schristos * testsuite/gas/arm/archv8m_1m-cmse-main.d: Likewise. 3654*56bb7041Schristos * testsuite/gas/arm/archv8m_1m-cmse-main.s: Likewise. 3655*56bb7041Schristos 3656*56bb7041Schristos2019-04-15 Sudakshina Das <sudi.das@arm.com> 3657*56bb7041Schristos Andre Vieira <andre.simoesdiasvieira@arm.com> 3658*56bb7041Schristos 3659*56bb7041Schristos * config/tc-arm.c (operand_parse_code): Add OP_LR and OP_oLR 3660*56bb7041Schristos for the LR operand and optional LR operand. 3661*56bb7041Schristos (parse_operands): Add switch cases for OP_LR and OP_oLR for 3662*56bb7041Schristos both type checking and value checking. 3663*56bb7041Schristos (encode_thumb32_addr_mode): New entries for DLS, WLS and LE. 3664*56bb7041Schristos (v8_1_loop_reloc): New helper function for handling labels 3665*56bb7041Schristos for the low overhead loop instructions. 3666*56bb7041Schristos (do_t_loloop): New function to encode DLS, WLS and LE. 3667*56bb7041Schristos (insns): New entries for WLS, DLS and LE. 3668*56bb7041Schristos (md_pcrel_from_section): New switch case 3669*56bb7041Schristos for BFD_RELOC_ARM_THUMB_LOOP12. 3670*56bb7041Schristos (md_appdy_fix): Likewise. 3671*56bb7041Schristos (tc_gen_reloc): Likewise. 3672*56bb7041Schristos * testsuite/gas/arm/armv8_1-m-tloop.s: New. 3673*56bb7041Schristos * testsuite/gas/arm/armv8_1-m-tloop.d: New. 3674*56bb7041Schristos * testsuite/gas/arm/armv8_1-m-tloop-bad.s: New. 3675*56bb7041Schristos * testsuite/gas/arm/armv8_1-m-tloop-bad.d: New. 3676*56bb7041Schristos * testsuite/gas/arm/armv8_1-m-tloop-bad.l: New. 3677*56bb7041Schristos 3678*56bb7041Schristos2019-04-15 Sudakshina Das <sudi.das@arm.com> 3679*56bb7041Schristos Andre Vieira <andre.simoesdiasvieira@arm.com> 3680*56bb7041Schristos 3681*56bb7041Schristos * config/tc-arm.c (T16_32_TAB): New entriy for bfcsel. 3682*56bb7041Schristos (do_t_v8_1_branch): New switch case for bfcsel. 3683*56bb7041Schristos (toU): Define. 3684*56bb7041Schristos (insns): New instruction for bfcsel. 3685*56bb7041Schristos (md_pcrel_from_section): New switch case 3686*56bb7041Schristos for BFD_RELOC_THUMB_PCREL_BFCSEL. 3687*56bb7041Schristos (md_appdy_fix): Likewise 3688*56bb7041Schristos (tc_gen_reloc): Likewise. 3689*56bb7041Schristos * testsuite/gas/arm/armv8_1-m-bfcsel.d: New. 3690*56bb7041Schristos * testsuite/gas/arm/armv8_1-m-bfcsel.s: New. 3691*56bb7041Schristos 3692*56bb7041Schristos2019-04-15 Sudakshina Das <sudi.das@arm.com> 3693*56bb7041Schristos 3694*56bb7041Schristos * config/tc-arm.c (md_pcrel_from_section): New switch case for 3695*56bb7041Schristos BFD_RELOC_ARM_THUMB_BF13. 3696*56bb7041Schristos (md_appdy_fix): Likewise. 3697*56bb7041Schristos (tc_gen_reloc): Likewise. 3698*56bb7041Schristos 3699*56bb7041Schristos2019-04-15 Sudakshina Das <sudi.das@arm.com> 3700*56bb7041Schristos Andre Vieira <andre.simoesdiasvieira@arm.com> 3701*56bb7041Schristos 3702*56bb7041Schristos * config/tc-arm.c (T16_32_TAB): New entrie for bfl. 3703*56bb7041Schristos (do_t_v8_1_branch): New switch case for bfl. 3704*56bb7041Schristos (insns): New instruction for bfl. 3705*56bb7041Schristos * testsuite/gas/arm/armv8_1-m-bfl.d: New. 3706*56bb7041Schristos * testsuite/gas/arm/armv8_1-m-bfl.s: New. 3707*56bb7041Schristos * testsuite/gas/arm/armv8_1-m-bfl-bad.s: New. 3708*56bb7041Schristos * testsuite/gas/arm/armv8_1-m-bfl-bad.d: New. 3709*56bb7041Schristos * testsuite/gas/arm/armv8_1-m-bfl-bad.l: New. 3710*56bb7041Schristos * testsuite/gas/arm/armv8_1-m-bfl-rel.d: New. 3711*56bb7041Schristos * testsuite/gas/arm/armv8_1-m-bfl-rel.s: New. 3712*56bb7041Schristos 3713*56bb7041Schristos2019-04-15 Sudakshina Das <sudi.das@arm.com> 3714*56bb7041Schristos 3715*56bb7041Schristos * config/tc-arm.c (md_pcrel_from_section): New switch case for 3716*56bb7041Schristos BFD_RELOC_ARM_THUMB_BF19. 3717*56bb7041Schristos (md_appdy_fix): Likewise. 3718*56bb7041Schristos (tc_gen_reloc): Likewise. 3719*56bb7041Schristos 3720*56bb7041Schristos2019-04-15 Sudakshina Das <sudi.das@arm.com> 3721*56bb7041Schristos 3722*56bb7041Schristos * config/tc-arm.c (T16_32_TAB): New entries for bfx and bflx. 3723*56bb7041Schristos (do_t_v8_1_branch): New switch cases for bfx and bflx. 3724*56bb7041Schristos (insns): New instruction for bfx and bflx. 3725*56bb7041Schristos * testsuite/gas/arm/armv8_1-m-bf-exchange.d: New. 3726*56bb7041Schristos * testsuite/gas/arm/armv8_1-m-bf-exchange.s: New. 3727*56bb7041Schristos * testsuite/gas/arm/armv8_1-m-bf-exchange-bad.s: New 3728*56bb7041Schristos * testsuite/gas/arm/armv8_1-m-bf-exchange-bad.l: New 3729*56bb7041Schristos * testsuite/gas/arm/armv8_1-m-bf-exchange-bad.d: New 3730*56bb7041Schristos 3731*56bb7041Schristos2019-04-15 Sudakshina Das <sudi.das@arm.com> 3732*56bb7041Schristos Andre Vieira <andre.simoesdiasvieira@arm.com> 3733*56bb7041Schristos 3734*56bb7041Schristos * config/tc-arm.c (T16_32_TAB): New entries for bf. 3735*56bb7041Schristos (do_t_branch_future): New. 3736*56bb7041Schristos (insns): New instruction for bf. 3737*56bb7041Schristos * testsuite/gas/arm/armv8_1-m-bf.d: New. 3738*56bb7041Schristos * testsuite/gas/arm/armv8_1-m-bf.s: New. 3739*56bb7041Schristos * testsuite/gas/arm/armv8_1-m-bf-bad.s: New. 3740*56bb7041Schristos * testsuite/gas/arm/armv8_1-m-bf-bad.l: New. 3741*56bb7041Schristos * testsuite/gas/arm/armv8_1-m-bf-bad.d: New. 3742*56bb7041Schristos * testsuite/gas/arm/armv8_1-m-bf-rel.d: New. 3743*56bb7041Schristos * testsuite/gas/arm/armv8_1-m-bf-rel.s: New. 3744*56bb7041Schristos 3745*56bb7041Schristos2019-04-15 Sudakshina Das <sudi.das@arm.com> 3746*56bb7041Schristos 3747*56bb7041Schristos * config/tc-arm.c (md_pcrel_from_section): New switch case for 3748*56bb7041Schristos BFD_RELOC_ARM_THUMB_BF17. 3749*56bb7041Schristos (md_appdy_fix): Likewise. 3750*56bb7041Schristos (tc_gen_reloc): Likewise. 3751*56bb7041Schristos 3752*56bb7041Schristos2019-04-15 Sudakshina Das <sudi.das@arm.com> 3753*56bb7041Schristos 3754*56bb7041Schristos * config/tc-arm.c (ARM_IT_MAX_RELOCS): New macro. 3755*56bb7041Schristos (arm_it): Member reloc renamed relocs and updated to an array. 3756*56bb7041Schristos Rest: Replace all occurrences of reloc to relocs[0]. 3757*56bb7041Schristos 3758*56bb7041Schristos2019-04-15 Sudakshina Das <sudi.das@arm.com> 3759*56bb7041Schristos 3760*56bb7041Schristos * config/tc-arm.c (md_pcrel_from_section): New switch case 3761*56bb7041Schristos for BFD_RELOC_THUMB_PCREL_BRANCH5. 3762*56bb7041Schristos (v8_1_branch_value_check): New function to check branch 3763*56bb7041Schristos offsets. 3764*56bb7041Schristos (md_appdy_fix): New switch case for 3765*56bb7041Schristos BFD_RELOC_THUMB_PCREL_BRANCH5. 3766*56bb7041Schristos (tc_gen_reloc): Likewise. 3767*56bb7041Schristos 3768*56bb7041Schristos2019-04-15 Andre Vieira <andre.simoesdiasvieira@arm.com> 3769*56bb7041Schristos 3770*56bb7041Schristos * config/tc-arm.c (do_neon_movhf): Remove fp-armv8 check. 3771*56bb7041Schristos (armv8_1m_main_ext_table): New extension table. 3772*56bb7041Schristos (arm_archs): Use the new extension table. 3773*56bb7041Schristos * doc/c-arm.texi: Add missing arch and document new extensions. 3774*56bb7041Schristos * testsuite/gas/arm/armv8.1-m.main-fp.d: New. 3775*56bb7041Schristos * testsuite/gas/arm/armv8.1-m.main-fp-dp.d: New. 3776*56bb7041Schristos * testsuite/gas/arm/armv8.1-m.main-hp.d: New. 3777*56bb7041Schristos 3778*56bb7041Schristos2019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com> 3779*56bb7041Schristos 3780*56bb7041Schristos * config/tc-arm.c (cpu_arch_ver): Add entry for Armv8.1-M Mainline 3781*56bb7041Schristos Tag_CPU_arch build attribute value. Reindent. 3782*56bb7041Schristos (get_aeabi_cpu_arch_from_fset): Update assert. 3783*56bb7041Schristos (aeabi_set_public_attributes): Update assert for Tag_DIV_use logic. 3784*56bb7041Schristos * testsuite/gas/arm/attr-march-armv8_1-m.main.d: New test. 3785*56bb7041Schristos 3786*56bb7041Schristos2019-04-09 Matthew Fortune <matthew.fortune@mips.com> 3787*56bb7041Schristos 3788*56bb7041Schristos * config/tc-mips.c (mips_cpu_info_table): Add i6500. Update 3789*56bb7041Schristos default ASEs for i6400. 3790*56bb7041Schristos * doc/c-mips.texi (-march): Document i6500. 3791*56bb7041Schristos * testsuite/gas/mips/elf_mach_i6400.d: New test. 3792*56bb7041Schristos * testsuite/gas/mips/elf_mach_i6500.d: New test. 3793*56bb7041Schristos * testsuite/gas/mips/mips.exp: Run the new tests. 3794*56bb7041Schristos 3795*56bb7041Schristos2019-04-09 Matthew Fortune <matthew.fortune@mips.com> 3796*56bb7041Schristos 3797*56bb7041Schristos * config/tc-mips.c (mips_set_options) <init_ase>: New field. 3798*56bb7041Schristos (file_mips_opts, mips_opts) <init_ase>: Initialize new field. 3799*56bb7041Schristos (file_mips_check_options): Propagate initial ASE settings. 3800*56bb7041Schristos (mips_after_parse_args, parse_code_option): Track the initial 3801*56bb7041Schristos ASE settings for a CPU. 3802*56bb7041Schristos (s_mipsset): Restore the initial ASE settings when reverting 3803*56bb7041Schristos to the default arch. 3804*56bb7041Schristos * testsuite/gas/mips/elf_mach_p6600.d: New test. 3805*56bb7041Schristos * testsuite/gas/mips/mips.exp: Run the new test. 3806*56bb7041Schristos 3807*56bb7041Schristos2019-04-12 John Darrington <john@darrington.wattle.id.au> 3808*56bb7041Schristos 3809*56bb7041Schristos config/tc-s12z.h: Remove definition of macro TC_M68K 3810*56bb7041Schristos 3811*56bb7041Schristos2019-04-01 John Darrington <john@darrington.wattle.id.au> 3812*56bb7041Schristos 3813*56bb7041Schristos config/tc-s12z.c: Use bfd_boolean where appropriate. 3814*56bb7041Schristos 3815*56bb7041Schristos2019-04-11 Max Filippov <jcmvbkbc@gmail.com> 3816*56bb7041Schristos 3817*56bb7041Schristos * testsuite/gas/xtensa/loop-relax-2.d: New test definition. 3818*56bb7041Schristos * testsuite/gas/xtensa/loop-relax.d: New test definition. 3819*56bb7041Schristos * testsuite/gas/xtensa/loop-relax.s: New test source. 3820*56bb7041Schristos * testsuite/gas/xtensa/text-section-literals-1a.d: New test 3821*56bb7041Schristos definition. 3822*56bb7041Schristos * testsuite/gas/xtensa/text-section-literals-2.d: New test 3823*56bb7041Schristos definition. 3824*56bb7041Schristos * testsuite/gas/xtensa/text-section-literals-2.s: New test 3825*56bb7041Schristos source. 3826*56bb7041Schristos * testsuite/gas/xtensa/text-section-literals-2a.d: New test 3827*56bb7041Schristos definition. 3828*56bb7041Schristos * testsuite/gas/xtensa/text-section-literals-3.d: New test 3829*56bb7041Schristos definition. 3830*56bb7041Schristos * testsuite/gas/xtensa/text-section-literals-3.s: New test 3831*56bb7041Schristos source. 3832*56bb7041Schristos * testsuite/gas/xtensa/text-section-literals-4.d: New test 3833*56bb7041Schristos definition. 3834*56bb7041Schristos * testsuite/gas/xtensa/text-section-literals-4.s: New test 3835*56bb7041Schristos source. 3836*56bb7041Schristos * testsuite/gas/xtensa/text-section-literals-4a.d: New test 3837*56bb7041Schristos definition. 3838*56bb7041Schristos 3839*56bb7041Schristos2019-04-11 Max Filippov <jcmvbkbc@gmail.com> 3840*56bb7041Schristos 3841*56bb7041Schristos * testsuite/gas/xtensa/all.exp: Remove all expect-based 3842*56bb7041Schristos tests and all explicit run_dump_test / run_list_test 3843*56bb7041Schristos invocations. Add run_dump_tests for all .d files in the 3844*56bb7041Schristos test subdirectory. 3845*56bb7041Schristos * testsuite/gas/xtensa/entry_align.d: New test definition. 3846*56bb7041Schristos * testsuite/gas/xtensa/entry_align.l: New test output. 3847*56bb7041Schristos * testsuite/gas/xtensa/entry_misalign.d: New test definition. 3848*56bb7041Schristos * testsuite/gas/xtensa/entry_misalign2.d: New test definition. 3849*56bb7041Schristos * testsuite/gas/xtensa/j_too_far.d: New test definition. 3850*56bb7041Schristos * testsuite/gas/xtensa/j_too_far.l: New test output. 3851*56bb7041Schristos * testsuite/gas/xtensa/loop_align.d: New test definition. 3852*56bb7041Schristos * testsuite/gas/xtensa/loop_misalign.d: New test definition. 3853*56bb7041Schristos * testsuite/gas/xtensa/trampoline-2.d: New test definition. 3854*56bb7041Schristos * testsuite/gas/xtensa/trampoline-2.l: Remove empty output. 3855*56bb7041Schristos * testsuite/gas/xtensa/xtensa-err.exp: Use positive logic. 3856*56bb7041Schristos 3857*56bb7041Schristos2019-04-11 Max Filippov <jcmvbkbc@gmail.com> 3858*56bb7041Schristos 3859*56bb7041Schristos * config/tc-xtensa.c (xtensa_literal_pseudo): Drop code that has 3860*56bb7041Schristos no effect. 3861*56bb7041Schristos (get_literal_pool_location): Only search for the literal pool 3862*56bb7041Schristos when auto litpools is used, otherwise take one recorded in the 3863*56bb7041Schristos tc_segment_info_data. 3864*56bb7041Schristos (xtensa_assign_litpool_addresses): New function. 3865*56bb7041Schristos (xtensa_move_literals): Don't duplicate 'literal pool location 3866*56bb7041Schristos required...' error message. Call xtensa_assign_litpool_addresses. 3867*56bb7041Schristos 3868*56bb7041Schristos2019-04-11 Max Filippov <jcmvbkbc@gmail.com> 3869*56bb7041Schristos 3870*56bb7041Schristos * config/tc-xtensa.c (xtensa_is_init_fini): Add declaration. 3871*56bb7041Schristos (xtensa_mark_literal_pool_location): Don't add fill frag to literal 3872*56bb7041Schristos section that records literal pool location. 3873*56bb7041Schristos (md_begin): Call xtensa_mark_literal_pool_location when text 3874*56bb7041Schristos section literals or auto litpools are used. 3875*56bb7041Schristos (xtensa_elf_section_change_hook): Call 3876*56bb7041Schristos xtensa_mark_literal_pool_location when text section literals or 3877*56bb7041Schristos auto litpools are used, there's no literal pool location defined 3878*56bb7041Schristos for the current section and it's not .init or .fini. 3879*56bb7041Schristos * testsuite/gas/xtensa/auto-litpools-first1.d: Fix up addresses. 3880*56bb7041Schristos * testsuite/gas/xtensa/auto-litpools-first2.d: Likewise. 3881*56bb7041Schristos * testsuite/gas/xtensa/auto-litpools.d: Likewise. 3882*56bb7041Schristos 3883*56bb7041Schristos2019-04-11 Sudakshina Das <sudi.das@arm.com> 3884*56bb7041Schristos 3885*56bb7041Schristos * config/tc-aarch64.c (process_omitted_operand): Add case for 3886*56bb7041Schristos AARCH64_OPND_Rt_SP. 3887*56bb7041Schristos (parse_operands): Likewise. 3888*56bb7041Schristos * testsuite/gas/aarch64/armv8_5-a-memtag.d: Update tests. 3889*56bb7041Schristos * testsuite/gas/aarch64/armv8_5-a-memtag.s: Likewise. 3890*56bb7041Schristos * testsuite/gas/aarch64/illegal-memtag.l: Likewise. 3891*56bb7041Schristos * testsuite/gas/aarch64/illegal-memtag.s: Likewise. 3892*56bb7041Schristos 3893*56bb7041Schristos2019-04-11 Sudakshina Das <sudi.das@arm.com> 3894*56bb7041Schristos 3895*56bb7041Schristos * testsuite/gas/aarch64/armv8_5-a-memtag.d: New tests for ldgm and stgm. 3896*56bb7041Schristos * testsuite/gas/aarch64/armv8_5-a-memtag.s: Likewise. 3897*56bb7041Schristos * testsuite/gas/aarch64/illegal-memtag.l: Likewise. 3898*56bb7041Schristos * testsuite/gas/aarch64/illegal-memtag.s: Likewise. 3899*56bb7041Schristos 3900*56bb7041Schristos2019-04-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> 3901*56bb7041Schristos 3902*56bb7041Schristos * config/tc-i386.c (need_plt32_p) [TE_SOLARIS]: Return FALSE. 3903*56bb7041Schristos * testsuite/gas/i386/solaris/solaris.exp: New driver. 3904*56bb7041Schristos * testsuite/gas/i386/solaris/reloc64.d, 3905*56bb7041Schristos testsuite/gas/i386/solaris/x86-64-jump.d, 3906*56bb7041Schristos testsuite/gas/i386/solaris/x86-64-mpx-branch-1.d, 3907*56bb7041Schristos testsuite/gas/i386/solaris/x86-64-mpx-branch-2.d, 3908*56bb7041Schristos testsuite/gas/i386/solaris/x86-64-nop-3.d, 3909*56bb7041Schristos testsuite/gas/i386/solaris/x86-64-nop-4.d, 3910*56bb7041Schristos testsuite/gas/i386/solaris/x86-64-nop-5.d, 3911*56bb7041Schristos testsuite/gas/i386/solaris/x86-64-relax-2.d, 3912*56bb7041Schristos testsuite/gas/i386/solaris/x86-64-relax-3.d: New tests. 3913*56bb7041Schristos * testsuite/gas/i386/reloc64.d, 3914*56bb7041Schristos testsuite/gas/i386/x86-64-jump.d, 3915*56bb7041Schristos testsuite/gas/i386/x86-64-mpx-branch-1.d, 3916*56bb7041Schristos testsuite/gas/i386/x86-64-mpx-branch-2.d, 3917*56bb7041Schristos testsuite/gas/i386/x86-64-nop-3.d, 3918*56bb7041Schristos testsuite/gas/i386/x86-64-nop-4.d, 3919*56bb7041Schristos testsuite/gas/i386/x86-64-nop-5.d, 3920*56bb7041Schristos testsuite/gas/i386/x86-64-relax-2.d, 3921*56bb7041Schristos testsuite/gas/i386/x86-64-relax-3.d: Skip on *-*-solaris*. 3922*56bb7041Schristos 3923*56bb7041Schristos2019-04-10 Alan Modra <amodra@gmail.com> 3924*56bb7041Schristos 3925*56bb7041Schristos * config/te-cloudabi.h: New file. 3926*56bb7041Schristos * config/tc-aarch64.c (aarch64_after_parse_args): Use TE_CLOUDABI 3927*56bb7041Schristos rather than TARGET_OS to select cloudabi. 3928*56bb7041Schristos * config/tc-i386.h (ELF_TARGET_FORMAT64): Define for TE_CLOUDABI. 3929*56bb7041Schristos * configure.tgt (*-*-cloudabi*): Set em=cloudabi. 3930*56bb7041Schristos 3931*56bb7041Schristos2019-04-09 Robert Suchanek <robert.suchanek@mips.com> 3932*56bb7041Schristos 3933*56bb7041Schristos * testsuite/gas/mips/mips.exp: Run hwr-names test. 3934*56bb7041Schristos * testsuite/gas/mips/hwr-names.s: Add test cases for RDHWR with 3935*56bb7041Schristos the SEL field. 3936*56bb7041Schristos * testsuite/gas/mips/mipsr6@hwr-names.d: New file. 3937*56bb7041Schristos 3938*56bb7041Schristos2019-04-08 H.J. Lu <hongjiu.lu@intel.com> 3939*56bb7041Schristos 3940*56bb7041Schristos * config/tc-i386.c (output_insn): Support 3941*56bb7041Schristos GNU_PROPERTY_X86_ISA_1_AVX512_BF16. 3942*56bb7041Schristos * testsuite/gas/i386/property-2.s: Add AVX512_BF16 test. 3943*56bb7041Schristos * testsuite/gas/i386/property-2.d: Updated. 3944*56bb7041Schristos * testsuite/gas/i386/x86-64-property-2.d: Likewise. 3945*56bb7041Schristos 3946*56bb7041Schristos2019-04-08 H.J. Lu <hongjiu.lu@intel.com> 3947*56bb7041Schristos 3948*56bb7041Schristos * configure.tgt: Remove i386-*-kaos* and i386-*-chaos targets. 3949*56bb7041Schristos * testsuite/gas/i386/i386.exp: Remove *-*-caos* and "*-*-kaos* 3950*56bb7041Schristos check. 3951*56bb7041Schristos 3952*56bb7041Schristos2019-04-05 H.J. Lu <hongjiu.lu@intel.com> 3953*56bb7041Schristos 3954*56bb7041Schristos * testsuite/gas/i386/i386.exp: Run -mx86-used-note=yes tests. 3955*56bb7041Schristos * testsuite/gas/i386/property-2.d: New file. 3956*56bb7041Schristos * testsuite/gas/i386/property-2.s: Likewise. 3957*56bb7041Schristos * testsuite/gas/i386/x86-64-property-2.d: Likewise. 3958*56bb7041Schristos 3959*56bb7041Schristos2019-04-05 Xuepeng Guo <xuepeng.guo@intel.com> 3960*56bb7041Schristos 3961*56bb7041Schristos * config/tc-i386.c (cpu_arch): Add .avx512_bf16. 3962*56bb7041Schristos (cpu_noarch): Add noavx512_bf16. 3963*56bb7041Schristos * doc/c-i386.texi: Document avx512_bf16. 3964*56bb7041Schristos * testsuite/gas/i386/avx512_bf16.d: New file. 3965*56bb7041Schristos * testsuite/gas/i386/avx512_bf16.s: Likewise. 3966*56bb7041Schristos * testsuite/gas/i386/avx512_bf16_vl-inval.l: Likewise. 3967*56bb7041Schristos * testsuite/gas/i386/avx512_bf16_vl-inval.s: Likewise. 3968*56bb7041Schristos * testsuite/gas/i386/avx512_bf16_vl.d: Likewise. 3969*56bb7041Schristos * testsuite/gas/i386/avx512_bf16_vl.s: Likewise. 3970*56bb7041Schristos * testsuite/gas/i386/x86-64-avx512_bf16.d: Likewise. 3971*56bb7041Schristos * testsuite/gas/i386/x86-64-avx512_bf16.s: Likewise. 3972*56bb7041Schristos * testsuite/gas/i386/x86-64-avx512_bf16_vl-inval.l: Likesie. 3973*56bb7041Schristos * testsuite/gas/i386/x86-64-avx512_bf16_vl-inval.s: Likewise. 3974*56bb7041Schristos * testsuite/gas/i386/x86-64-avx512_bf16_vl.d: Likewise. 3975*56bb7041Schristos * testsuite/gas/i386/x86-64-avx512_bf16_vl.s: Likewise. 3976*56bb7041Schristos * testsuite/gas/i386/i386.exp: Add BF16 related tests. 3977*56bb7041Schristos 3978*56bb7041Schristos2019-04-05 Alan Modra <amodra@gmail.com> 3979*56bb7041Schristos 3980*56bb7041Schristos * testsuite/gas/ppc/bc.s, 3981*56bb7041Schristos * testsuite/gas/ppc/bcat.d, 3982*56bb7041Schristos * testsuite/gas/ppc/bcaterr.d, 3983*56bb7041Schristos * testsuite/gas/ppc/bcaterr.l, 3984*56bb7041Schristos * testsuite/gas/ppc/bcy.d, 3985*56bb7041Schristos * testsuite/gas/ppc/bcyerr.d, 3986*56bb7041Schristos * testsuite/gas/ppc/bcyerr.l: New tests. 3987*56bb7041Schristos * testsuite/gas/ppc/ppc.exp: Run them. 3988*56bb7041Schristos 3989*56bb7041Schristos2019-04-05 Alan Modra <amodra@gmail.com> 3990*56bb7041Schristos 3991*56bb7041Schristos * testsuite/gas/ppc/476.d: Remove trailing spaces. 3992*56bb7041Schristos * testsuite/gas/ppc/a2.d: Likewise. 3993*56bb7041Schristos * testsuite/gas/ppc/booke.d: Likewise. 3994*56bb7041Schristos * testsuite/gas/ppc/booke_xcoff.d: Likewise. 3995*56bb7041Schristos * testsuite/gas/ppc/e500.d: Likewise. 3996*56bb7041Schristos * testsuite/gas/ppc/e500mc.d: Likewise. 3997*56bb7041Schristos * testsuite/gas/ppc/e6500.d: Likewise. 3998*56bb7041Schristos * testsuite/gas/ppc/htm.d: Likewise. 3999*56bb7041Schristos * testsuite/gas/ppc/power6.d: Likewise. 4000*56bb7041Schristos * testsuite/gas/ppc/power8.d: Likewise. 4001*56bb7041Schristos * testsuite/gas/ppc/power9.d: Likewise. 4002*56bb7041Schristos * testsuite/gas/ppc/vle.d: Likewise. 4003*56bb7041Schristos 4004*56bb7041Schristos2019-04-04 Peter Bergner <bergner@linux.ibm.com> 4005*56bb7041Schristos 4006*56bb7041Schristos PR gas/24349 4007*56bb7041Schristos * testsuite/gas/ppc/power8.s: (bdnztar, bdnztarl, bdztar, bdztarl, 4008*56bb7041Schristos btar, btarl, bdnztar-, bdnztarl-, bdnztar+, bdnztarl+, bdztar-, 4009*56bb7041Schristos bdztarl-, bdztar+, bdztarl+, bgetar, bnltar, bgetarl, bnltarl, 4010*56bb7041Schristos bletar, bngtar, bletarl, bngtarl, bnetar, bnetarl, bnstar, bnutar, 4011*56bb7041Schristos bnstarl, bnutarl, bgetar-, bnltar-, bgetarl-, bnltarl-, bletar-, 4012*56bb7041Schristos bngtar-, bletarl-, bngtarl-, bnetar-, bnetarl-, bnstar-, bnutar-, 4013*56bb7041Schristos bnstarl-, bnutarl-, bgetar+, bnltar+, bgetarl+, bnltarl+, bletar+, 4014*56bb7041Schristos bngtar+, bletarl+, bngtarl+, bnetar+, bnetarl+, bnstar+, bnutar+, 4015*56bb7041Schristos bnstarl+, bnutarl+, blttar, blttarl, bgttar, bgttarl, beqtar, 4016*56bb7041Schristos beqtarl, bsotar, buntar, bsotarl, buntarl, blttar-, blttarl-, 4017*56bb7041Schristos bgttar-, bgttarl-, beqtar-, beqtarl-, bsotar-, buntar-, bsotarl-, 4018*56bb7041Schristos buntarl-, blttar+, blttarl+, bgttar+, bgttarl+, beqtar+, beqtarl+, 4019*56bb7041Schristos bsotar+, buntar+, bsotarl+, buntarl+, bdnzftar, bdnzftarl, bdzftar, 4020*56bb7041Schristos bdzftarl, bftar, bftarl, bftar-, bftarl-, bftar+, bftarl+, bdnzttar, 4021*56bb7041Schristos bdnzttarl, bdzttar, bdzttarl, bttar, bttarl, bttar-, bttarl-, bttar+, 4022*56bb7041Schristos bttarl+): Add tests of extended mnemonics. 4023*56bb7041Schristos * testsuite/gas/ppc/power8.d: Likewise. Update previous bctar tests 4024*56bb7041Schristos to expect new extended mnemonics. 4025*56bb7041Schristos * testsuite/gas/ppc/a2.s: <bc, bc-, bc+, bcl, bcl-, bcl+>: Update test 4026*56bb7041Schristos to not use illegal BO value. Use a more convenient BI value. 4027*56bb7041Schristos * testsuite/gas/ppc/a2.d: Update tests for new expect output. 4028*56bb7041Schristos 4029*56bb7041Schristos2019-04-03 Max Filippov <jcmvbkbc@gmail.com> 4030*56bb7041Schristos 4031*56bb7041Schristos * config/tc-xtensa.c (convert_frag_immed): Drop 4032*56bb7041Schristos convert_frag_immed_finish_loop invocation. 4033*56bb7041Schristos (convert_frag_immed_finish_loop): Drop declaration and 4034*56bb7041Schristos definition. 4035*56bb7041Schristos * config/xtensa-relax.c (widen_spec_list): Replace loop 4036*56bb7041Schristos widening that uses addi/addmi with widening that uses l32r 4037*56bb7041Schristos and const16. 4038*56bb7041Schristos 4039*56bb7041Schristos2019-04-01 Andre Vieira <andre.simoesdiasvieira@arm.com> 4040*56bb7041Schristos 4041*56bb7041Schristos * config/tc-arm.c (arm_ext_table): New struct type. 4042*56bb7041Schristos (arm_arch_option_table): Add new 'arm_ext_table' field. 4043*56bb7041Schristos (ARM_EXT,ARM_ADD,ARM_REMOVE, ALL_FP): New macros. 4044*56bb7041Schristos (armv5te_ext_table, armv7ve_ext_table, armv7a_ext_table, 4045*56bb7041Schristos armv7r_ext_table, armv7em_ext_table, armv8a_ext_table, 4046*56bb7041Schristos armv81a_ext_table, armv82a_ext_table, armv84a_ext_table, 4047*56bb7041Schristos armv85a_ext_table, armv8m_main_ext_table, 4048*56bb7041Schristos armv8r_ext_table): New architecture extension tables. 4049*56bb7041Schristos (ARM_ARCH_OPT): Add new default field. 4050*56bb7041Schristos (ARM_ARCH_OPT2): New macro. 4051*56bb7041Schristos (arm_archs): Extend some architectures with the new architecture 4052*56bb7041Schristos extension tables mentioned above. 4053*56bb7041Schristos (arm_extensions): Add DEPRECATED comment with instructions to 4054*56bb7041Schristos use new table. 4055*56bb7041Schristos (arm_parse_extension): Change to use new extension tables. 4056*56bb7041Schristos (arm_parse_cpu): Don't change existing behavior. 4057*56bb7041Schristos (arm_parse_arch): Change to use new extension tables. 4058*56bb7041Schristos * doc/c-arm.texi: Document new architecture extensions. 4059*56bb7041Schristos * testsuite/gas/arm/attr-mfpu-neon-fp16.d: Change test to use new 4060*56bb7041Schristos extension option rather than -mfpu and change expected behaviour to 4061*56bb7041Schristos sane outputs. 4062*56bb7041Schristos * testsuite/gas/arm/armv8-2-fp16-scalar-bad-ext.d: New. 4063*56bb7041Schristos * testsuite/gas/arm/armv8-2-fp16-scalar-ext.d: New. 4064*56bb7041Schristos * testsuite/gas/arm/armv8-2-fp16-scalar-thumb-ext.d: New. 4065*56bb7041Schristos * testsuite/gas/arm/armv8-2-fp16-simd-ext.d: New. 4066*56bb7041Schristos * testsuite/gas/arm/armv8-2-fp16-simd-thumb-ext.d: New. 4067*56bb7041Schristos * testsuite/gas/arm/armv8-2-fp16-simd-warning-ext.d: New. 4068*56bb7041Schristos * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb-ext.d: New. 4069*56bb7041Schristos * testsuite/gas/arm/armv8_2+rdma-ext.d: New. 4070*56bb7041Schristos * testsuite/gas/arm/armv8_2-a-fp16-thumb2-ext.d: New. 4071*56bb7041Schristos * testsuite/gas/arm/armv8_2-a-fp16_ext.d: New. 4072*56bb7041Schristos * testsuite/gas/arm/armv8_3-a-fp-bad-ext.d: New. 4073*56bb7041Schristos * testsuite/gas/arm/armv8_3-a-fp-ext.d: New. 4074*56bb7041Schristos * testsuite/gas/arm/armv8_3-a-fp16-ext.d: New. 4075*56bb7041Schristos * testsuite/gas/arm/armv8_3-a-simd-bad-ext.d: New. 4076*56bb7041Schristos * testsuite/gas/arm/armv8_4-a-fp16-ext.d: New. 4077*56bb7041Schristos * testsuite/gas/arm/armv8m.main+fp.d: New. 4078*56bb7041Schristos * testsuite/gas/arm/armv8m.main+fp.dp.d: New. 4079*56bb7041Schristos * testsuite/gas/arm/attr-ext-fpv5-d16.d: New. 4080*56bb7041Schristos * testsuite/gas/arm/attr-ext-fpv5.d: New. 4081*56bb7041Schristos * testsuite/gas/arm/attr-ext-idiv.d: New. 4082*56bb7041Schristos * testsuite/gas/arm/attr-ext-mp.d: New. 4083*56bb7041Schristos * testsuite/gas/arm/attr-ext-neon-fp16.d: New. 4084*56bb7041Schristos * testsuite/gas/arm/attr-ext-neon-vfpv3.d: New. 4085*56bb7041Schristos * testsuite/gas/arm/attr-ext-neon-vfpv4.d: New. 4086*56bb7041Schristos * testsuite/gas/arm/attr-ext-sec.d: New. 4087*56bb7041Schristos * testsuite/gas/arm/attr-ext-vfpv3-d16-fp16.d: New. 4088*56bb7041Schristos * testsuite/gas/arm/attr-ext-vfpv3-d16.d: New. 4089*56bb7041Schristos * testsuite/gas/arm/attr-ext-vfpv3-fp16.d: New. 4090*56bb7041Schristos * testsuite/gas/arm/attr-ext-vfpv3.d: New. 4091*56bb7041Schristos * testsuite/gas/arm/attr-ext-vfpv3xd-fp.d: New. 4092*56bb7041Schristos * testsuite/gas/arm/attr-ext-vfpv3xd.d: New. 4093*56bb7041Schristos * testsuite/gas/arm/attr-ext-vfpv4-d16.d: New. 4094*56bb7041Schristos * testsuite/gas/arm/attr-ext-vfpv4-sp-d16.d: New. 4095*56bb7041Schristos * testsuite/gas/arm/attr-ext-vfpv4.d: New. 4096*56bb7041Schristos * testsuite/gas/arm/dotprod-mandatory-ext.d: New. 4097*56bb7041Schristos * testsuite/gas/arm/fpv5-d16.s: New. 4098*56bb7041Schristos * testsuite/gas/arm/fpv5-sp-d16.s: New. 4099*56bb7041Schristos 4100*56bb7041Schristos2019-03-28 Alan Modra <amodra@gmail.com> 4101*56bb7041Schristos 4102*56bb7041Schristos PR 24390 4103*56bb7041Schristos * testsuite/gas/ppc/476.d: Update mtfsb*. 4104*56bb7041Schristos * testsuite/gas/ppc/a2.d: Likewise. 4105*56bb7041Schristos 4106*56bb7041Schristos2019-03-21 Alan Modra <amodra@gmail.com> 4107*56bb7041Schristos 4108*56bb7041Schristos * emul.h (struct emulation): Delete strip_underscore. 4109*56bb7041Schristos * emul-target.h (emul_strip_underscore): Don't define. 4110*56bb7041Schristos (emul_struct_name): Update initialization. 4111*56bb7041Schristos 4112*56bb7041Schristos2019-03-21 Alan Modra <amodra@gmail.com> 4113*56bb7041Schristos 4114*56bb7041Schristos * config/tc-d10v.c (md_apply_fix): Apply BFD_RELOC_8. 4115*56bb7041Schristos * config/tc-pdp11.c (md_apply_fix): Likewise. 4116*56bb7041Schristos * config/tc-d30v.c (md_apply_fix): Don't emit errors for BFD_RELOC_8, 4117*56bb7041Schristos BFD_RELOC_16, and BFD_RELOC_64. 4118*56bb7041Schristos * testsuite/gas/all/gas.exp: Move target exclusions for forward 4119*56bb7041Schristos test, but not cr16, to.. 4120*56bb7041Schristos * testsuite/gas/all/forward.d: ..here, with explanation. Remove 4121*56bb7041Schristos d10v, d30v, and pdp11 xfails. 4122*56bb7041Schristos 4123*56bb7041Schristos2019-03-19 H.J. Lu <hongjiu.lu@intel.com> 4124*56bb7041Schristos 4125*56bb7041Schristos * config/tc-i386.c (optimize_encoding): Don't check AVX for 4126*56bb7041Schristos EVEX vector load/store optimization. Check both operands for 4127*56bb7041Schristos ZMM register. Update EVEX vector load/store opcode check. 4128*56bb7041Schristos Choose EVEX Disp8 over VEX Disp32. 4129*56bb7041Schristos * testsuite/gas/i386/optimize-1.d: Updated. 4130*56bb7041Schristos * testsuite/gas/i386/optimize-1a.d: Likewise. 4131*56bb7041Schristos * testsuite/gas/i386/optimize-2.d: Likewise. 4132*56bb7041Schristos * testsuite/gas/i386/optimize-4.d: Likewise. 4133*56bb7041Schristos * testsuite/gas/i386/optimize-5.d: Likewise. 4134*56bb7041Schristos * testsuite/gas/i386/x86-64-optimize-2.d: Likewise. 4135*56bb7041Schristos * testsuite/gas/i386/x86-64-optimize-2a.d: Likewise. 4136*56bb7041Schristos * testsuite/gas/i386/x86-64-optimize-2b.d: Likewise. 4137*56bb7041Schristos * testsuite/gas/i386/x86-64-optimize-3.d: Likewise. 4138*56bb7041Schristos * testsuite/gas/i386/x86-64-optimize-5.d: Likewise. 4139*56bb7041Schristos * testsuite/gas/i386/x86-64-optimize-6.d: Likewise. 4140*56bb7041Schristos * testsuite/gas/i386/optimize-1.s: Add ZMM register load 4141*56bb7041Schristos test. 4142*56bb7041Schristos * testsuite/gas/i386/x86-64-optimize-2.s: Likewise. 4143*56bb7041Schristos 4144*56bb7041Schristos2019-03-19 H.J. Lu <hongjiu.lu@intel.com> 4145*56bb7041Schristos 4146*56bb7041Schristos PR gas/24352 4147*56bb7041Schristos * config/tc-i386.c (optimize_encoding): Check only 4148*56bb7041Schristos cpu_arch_flags.bitfield.cpuavx512vl. 4149*56bb7041Schristos * testsuite/gas/i386/i386.exp: Run x86-64-optimize-2b. 4150*56bb7041Schristos * testsuite/gas/i386/x86-64-optimize-2.d: Revert the last 4151*56bb7041Schristos change. 4152*56bb7041Schristos * testsuite/gas/i386/x86-64-optimize-2b.d: New file. 4153*56bb7041Schristos * testsuite/gas/i386/x86-64-optimize-2b.s: Likewise. 4154*56bb7041Schristos 4155*56bb7041Schristos2019-03-19 H.J. Lu <hongjiu.lu@intel.com> 4156*56bb7041Schristos 4157*56bb7041Schristos PR gas/24359 4158*56bb7041Schristos * testsuite/gas/i386/i386.exp: Change optimize-6a, optimize-7, 4159*56bb7041Schristos x86-64-optimize-7a and x86-64-optimize-8 tests to run_list_test. 4160*56bb7041Schristos Remove optimize-6c and x86-64-optimize-7c tests. 4161*56bb7041Schristos * testsuite/gas/i386/noavx-3.l: Updated. 4162*56bb7041Schristos * testsuite/gas/i386/noavx-4.d: Likewise. 4163*56bb7041Schristos * testsuite/gas/i386/noavx-5.d: Likewise. 4164*56bb7041Schristos * testsuite/gas/i386/noavx-3.s: Add AVX512F tests. 4165*56bb7041Schristos * testsuite/gas/i386/noavx-4.s: Remove AVX512F tests. 4166*56bb7041Schristos * testsuite/gas/i386/nosse-5.s: Likewise. 4167*56bb7041Schristos * testsuite/gas/i386/optimize-6a.d: Removed. 4168*56bb7041Schristos * testsuite/gas/i386/optimize-6c.d: Likewise. 4169*56bb7041Schristos * testsuite/gas/i386/optimize-7.d: Likewise. 4170*56bb7041Schristos * testsuite/gas/i386/x86-64-optimize-7a.d: Likewise. 4171*56bb7041Schristos * testsuite/gas/i386/x86-64-optimize-7c.d: Likewise. 4172*56bb7041Schristos * testsuite/gas/i386/x86-64-optimize-8.d: Likewise. 4173*56bb7041Schristos * testsuite/gas/i386/optimize-6a.l: New file. 4174*56bb7041Schristos * testsuite/gas/i386/optimize-6a.s: Likewise. 4175*56bb7041Schristos * testsuite/gas/i386/optimize-7.l: Likewise. 4176*56bb7041Schristos * testsuite/gas/i386/x86-64-optimize-7a.l: Likewise. 4177*56bb7041Schristos * testsuite/gas/i386/x86-64-optimize-7a.s: Likewise. 4178*56bb7041Schristos * testsuite/gas/i386/x86-64-optimize-8.l: Likewise. 4179*56bb7041Schristos 4180*56bb7041Schristos2019-03-18 Alan Modra <amodra@gmail.com> 4181*56bb7041Schristos 4182*56bb7041Schristos * config/m68k-parse.y (yylex): Use temp_ilp and restore_ilp. 4183*56bb7041Schristos * as.c (macro_expr): Likewise. 4184*56bb7041Schristos * macro.c (buffer_and_nest): Likewise. 4185*56bb7041Schristos * read.c (temp_ilp): Remove FIXME. 4186*56bb7041Schristos 4187*56bb7041Schristos2019-03-18 H.J. Lu <hongjiu.lu@intel.com> 4188*56bb7041Schristos 4189*56bb7041Schristos * testsuite/gas/i386/att-regs.d: Pass -O0 to assembler. 4190*56bb7041Schristos * testsuite/gas/i386/avx512bw-intel.d: Likewise. 4191*56bb7041Schristos * testsuite/gas/i386/avx512bw.d: Likewise. 4192*56bb7041Schristos * testsuite/gas/i386/avx512f-intel.d: Likewise. 4193*56bb7041Schristos * testsuite/gas/i386/avx512f.d: Likewise. 4194*56bb7041Schristos * testsuite/gas/i386/disp32.d: Likewise. 4195*56bb7041Schristos * testsuite/gas/i386/intel-regs.d: Likewise. 4196*56bb7041Schristos * testsuite/gas/i386/pseudos.d: Likewise. 4197*56bb7041Schristos * testsuite/gas/i386/x86-64-disp32.d: Likewise. 4198*56bb7041Schristos * testsuite/gas/i386/x86-64-pseudos.d: Likewise. 4199*56bb7041Schristos 4200*56bb7041Schristos2019-03-18 H.J. Lu <hongjiu.lu@intel.com> 4201*56bb7041Schristos 4202*56bb7041Schristos PR gas/24348 4203*56bb7041Schristos * config/tc-i386.c (optimize_encoding): Encode 128-bit and 4204*56bb7041Schristos 256-bit EVEX vector register load/store instructions as VEX 4205*56bb7041Schristos vector register load/store instructions for -O1. 4206*56bb7041Schristos * doc/c-i386.texi: Update -O1 documentation. 4207*56bb7041Schristos * testsuite/gas/i386/i386.exp: Run PR gas/24348 tests. 4208*56bb7041Schristos * testsuite/gas/i386/optimize-1.s: Add tests for EVEX vector 4209*56bb7041Schristos load/store instructions. 4210*56bb7041Schristos * testsuite/gas/i386/optimize-2.s: Likewise. 4211*56bb7041Schristos * testsuite/gas/i386/optimize-3.s: Likewise. 4212*56bb7041Schristos * testsuite/gas/i386/optimize-5.s: Likewise. 4213*56bb7041Schristos * testsuite/gas/i386/x86-64-optimize-2.s: Likewise. 4214*56bb7041Schristos * testsuite/gas/i386/x86-64-optimize-3.s: Likewise. 4215*56bb7041Schristos * testsuite/gas/i386/x86-64-optimize-4.s: Likewise. 4216*56bb7041Schristos * testsuite/gas/i386/x86-64-optimize-5.s: Likewise. 4217*56bb7041Schristos * testsuite/gas/i386/x86-64-optimize-6.s: Likewise. 4218*56bb7041Schristos * testsuite/gas/i386/optimize-1.d: Updated. 4219*56bb7041Schristos * testsuite/gas/i386/optimize-2.d: Likewise. 4220*56bb7041Schristos * testsuite/gas/i386/optimize-3.d: Likewise. 4221*56bb7041Schristos * testsuite/gas/i386/optimize-4.d: Likewise. 4222*56bb7041Schristos * testsuite/gas/i386/optimize-5.d: Likewise. 4223*56bb7041Schristos * testsuite/gas/i386/x86-64-optimize-2.d: Likewise. 4224*56bb7041Schristos * testsuite/gas/i386/x86-64-optimize-3.d: Likewise. 4225*56bb7041Schristos * testsuite/gas/i386/x86-64-optimize-4.d: Likewise. 4226*56bb7041Schristos * testsuite/gas/i386/x86-64-optimize-5.d: Likewise. 4227*56bb7041Schristos * testsuite/gas/i386/x86-64-optimize-6.d: Likewise. 4228*56bb7041Schristos * testsuite/gas/i386/optimize-7.d: New file. 4229*56bb7041Schristos * testsuite/gas/i386/optimize-7.s: Likewise. 4230*56bb7041Schristos * testsuite/gas/i386/x86-64-optimize-8.d: Likewise. 4231*56bb7041Schristos * testsuite/gas/i386/x86-64-optimize-8.s: Likewise. 4232*56bb7041Schristos 4233*56bb7041Schristos2019-03-18 H.J. Lu <hongjiu.lu@intel.com> 4234*56bb7041Schristos 4235*56bb7041Schristos * config/tc-i386.c (optimize_encoding): Encode 256-bit/512-bit 4236*56bb7041Schristos VEX/EVEX vector register clearing instructions with 128-bit VEX 4237*56bb7041Schristos vector register clearing instructions at -O1. 4238*56bb7041Schristos * doc/c-i386.texi: Update -O1 and -O2 documentation. 4239*56bb7041Schristos * testsuite/gas/i386/i386.exp: Run optimize-1a and 4240*56bb7041Schristos x86-64-optimize-2a. 4241*56bb7041Schristos * testsuite/gas/i386/optimize-1a.d: New file. 4242*56bb7041Schristos * testsuite/gas/i386/x86-64-optimize-2a.d: Likewise. 4243*56bb7041Schristos 4244*56bb7041Schristos2019-03-17 H.J. Lu <hongjiu.lu@intel.com> 4245*56bb7041Schristos 4246*56bb7041Schristos PR gas/24353 4247*56bb7041Schristos * config/tc-i386.c: Include <limits.h> if it exists and try 4248*56bb7041Schristos including <sys/param.h> if we have it. 4249*56bb7041Schristos (INT_MAX): Define if not defined. 4250*56bb7041Schristos (md_parse_option): Set optimize to INT_MAX for -Os. 4251*56bb7041Schristos * testsuite/gas/i386/optimize-2.s: Add a test. 4252*56bb7041Schristos * testsuite/gas/i386/x86-64-optimize-3.s: Likewise. 4253*56bb7041Schristos * testsuite/gas/i386/optimize-2.d: Updated. 4254*56bb7041Schristos * testsuite/gas/i386/x86-64-optimize-3.d: Likewise. 4255*56bb7041Schristos 4256*56bb7041Schristos2019-03-17 H.J. Lu <hongjiu.lu@intel.com> 4257*56bb7041Schristos 4258*56bb7041Schristos PR gas/24352 4259*56bb7041Schristos * config/tc-i386.c (optimize_encoding): Encode 512-bit EVEX 4260*56bb7041Schristos with 128-bit VEX encoding only when AVX is enabled and with 4261*56bb7041Schristos 128-bit EVEX encoding only when AVX512VL is enabled. 4262*56bb7041Schristos * testsuite/gas/i386/i386.exp: Run PR gas/24352 tests. 4263*56bb7041Schristos * testsuite/gas/i386/optimize-6.s: New file. 4264*56bb7041Schristos * testsuite/gas/i386/optimize-6a.d: Likewise. 4265*56bb7041Schristos * testsuite/gas/i386/optimize-6b.d: Likewise. 4266*56bb7041Schristos * testsuite/gas/i386/optimize-6c.d: Likewise. 4267*56bb7041Schristos * testsuite/gas/i386/x86-64-optimize-7.s: Likewise. 4268*56bb7041Schristos * testsuite/gas/i386/x86-64-optimize-7a.d: Likewise. 4269*56bb7041Schristos * testsuite/gas/i386/x86-64-optimize-7b.d: Likewise. 4270*56bb7041Schristos * testsuite/gas/i386/x86-64-optimize-7c.d: Likewise. 4271*56bb7041Schristos * testsuite/gas/i386/x86-64-optimize-2.d: Updated. 4272*56bb7041Schristos 4273*56bb7041Schristos2019-03-15 Li Hao <li.hao296@zte.com.cn> 4274*56bb7041Schristos 4275*56bb7041Schristos PR 24308 4276*56bb7041Schristos * config/tc-i386.c (parse_insn): Check mnemp before using it to 4277*56bb7041Schristos determine if a suffix can be trimmed. 4278*56bb7041Schristos 4279*56bb7041Schristos2019-03-13 Christian Eggers <ceggers@gmx.de> 4280*56bb7041Schristos 4281*56bb7041Schristos * dwarf2dbg.c (out_set_addr): Align relocation within .debug_line. 4282*56bb7041Schristos 4283*56bb7041Schristos2019-03-13 Christian Eggers <ceggers@gmx.de> 4284*56bb7041Schristos 4285*56bb7041Schristos * dwarf2dbg.c (out_debug_line): Pad size of .debug_line section. 4286*56bb7041Schristos 4287*56bb7041Schristos2019-03-13 Christian Eggers <ceggers@gmx.de> 4288*56bb7041Schristos 4289*56bb7041Schristos * dwarf2dbg.c (out_debug_str): Use octets for .debug_string pointers. 4290*56bb7041Schristos 4291*56bb7041Schristos2019-03-13 Christian Eggers <ceggers@gmx.de> 4292*56bb7041Schristos 4293*56bb7041Schristos * dwarf2dbg.c (out_debug_line): Use octets for .debug_line prologue. 4294*56bb7041Schristos 4295*56bb7041Schristos2019-03-13 Christian Eggers <ceggers@gmx.de> 4296*56bb7041Schristos 4297*56bb7041Schristos * dwarf2dbg.c (out_debug_line): Use octets for dwarf2 headers. 4298*56bb7041Schristos (out_debug_aranges, out_debug_info): Likewise. 4299*56bb7041Schristos 4300*56bb7041Schristos2019-03-13 Christian Eggers <ceggers@gmx.de> 4301*56bb7041Schristos 4302*56bb7041Schristos * symbols.h (symbol_temp_new_now_octets): Declare. 4303*56bb7041Schristos (symbol_set_value_now_octets, symbol_octets_p): Declare. 4304*56bb7041Schristos * symbols.c (struct symbol_flags): New member sy_octets. 4305*56bb7041Schristos (symbol_temp_new_now_octets): New function. 4306*56bb7041Schristos (resolve_symbol_value): Return octets instead of bytes if 4307*56bb7041Schristos sy_octets is set. 4308*56bb7041Schristos (symbol_set_value_now_octets): New function. 4309*56bb7041Schristos (symbol_octets_p): New function. 4310*56bb7041Schristos 4311*56bb7041Schristos2019-03-13 Christian Eggers <ceggers@gmx.de> 4312*56bb7041Schristos 4313*56bb7041Schristos * dwarf2dbg.c (dwarf2_emit_insn): Fix calculation of line info offset. 4314*56bb7041Schristos 4315*56bb7041Schristos2019-03-12 Andreas Krebbel <krebbel@linux.ibm.com> 4316*56bb7041Schristos 4317*56bb7041Schristos * testsuite/gas/s390/zarch-arch13.s: Adjust testcase to optable changes. 4318*56bb7041Schristos * testsuite/gas/s390/zarch-arch13.d: Likewise. 4319*56bb7041Schristos 4320*56bb7041Schristos2019-02-27 Matthew Malcomson <matthew.malcomson@arm.com> 4321*56bb7041Schristos 4322*56bb7041Schristos * testsuite/gas/aarch64/dotproduct.d: Use multiple "as" lines. 4323*56bb7041Schristos * testsuite/gas/aarch64/dotproduct_armv8_4.d: Remove. 4324*56bb7041Schristos * testsuite/gas/aarch64/dotproduct_armv8_4.s: Remove. 4325*56bb7041Schristos * testsuite/gas/aarch64/illegal-dotproduct.d: Use multiple "as" 4326*56bb7041Schristos lines. 4327*56bb7041Schristos * testsuite/gas/aarch64/ldst-rcpc-armv8_2.d: Remove. 4328*56bb7041Schristos * testsuite/gas/aarch64/ldst-rcpc.d: Use multiple "as" lines. 4329*56bb7041Schristos 4330*56bb7041Schristos2019-02-24 Alan Modra <amodra@gmail.com> 4331*56bb7041Schristos 4332*56bb7041Schristos * config/tc-ppc.c (parse_tls_arg): Wrap in #ifdef OBJ_ELF. 4333*56bb7041Schristos 4334*56bb7041Schristos2019-02-24 Alan Modra <amodra@gmail.com> 4335*56bb7041Schristos 4336*56bb7041Schristos PR 24144 4337*56bb7041Schristos * config/obj-aout.c (obj_aout_frob_file_before_fix): Write to end 4338*56bb7041Schristos of section to ensure file contents cover aligned section size. 4339*56bb7041Schristos 4340*56bb7041Schristos2019-02-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com> 4341*56bb7041Schristos 4342*56bb7041Schristos * config/tc-arm.c (arm_cpus): Add neoverse-n1. 4343*56bb7041Schristos * doc/c-arm.texi (-mcpu): Document neoverse-n1 value. 4344*56bb7041Schristos 4345*56bb7041Schristos2019-02-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com> 4346*56bb7041Schristos 4347*56bb7041Schristos * config/tc-aarch64.c (aarch64_cpus): Add neoverse-e1. 4348*56bb7041Schristos * doc/c-aarch64.texi (-mcpu): Document neoverse-e1 value. 4349*56bb7041Schristos 4350*56bb7041Schristos2019-02-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com> 4351*56bb7041Schristos 4352*56bb7041Schristos * config/tc-aarch64.c (aarch64_cpus): Add neoverse-n1. 4353*56bb7041Schristos * doc/c-aarch64.texi (-mcpu): Document neoverse-n1 value. 4354*56bb7041Schristos 4355*56bb7041Schristos2019-02-19 Paul Hua <paul.hua.gm@gmail.com> 4356*56bb7041Schristos 4357*56bb7041Schristos * NEWS: Mention -m[no-]fix-loongson3-llsc. 4358*56bb7041Schristos * configure.ac: Add --enable-mips-fix-loongson3-llsc. 4359*56bb7041Schristos Define DEFAULT_MIPS_FIX_LOONGSON3_LLSC. 4360*56bb7041Schristos * config.in: Regenerated. 4361*56bb7041Schristos * configure: Likewise. 4362*56bb7041Schristos * config/tc-mips.c (sync_insn, mips_fix_loongson3_llsc): 4363*56bb7041Schristos New variables. 4364*56bb7041Schristos (options): New OPTION_FIX_LOONGSON3_LLSC, 4365*56bb7041Schristos OPTION_NO_FIX_LOONGSON3_LLSC. 4366*56bb7041Schristos (md_longopts): Add -m[no-]fix-loongson3-llsc. 4367*56bb7041Schristos (md_begin): Initialize sync insn. 4368*56bb7041Schristos (fix_loongson3_llsc): New. 4369*56bb7041Schristos (append_insn): Call fix_loongson3_llsc. 4370*56bb7041Schristos (md_parse_option): Handle OPTION_FIX_LOONGSON3_LLSC, 4371*56bb7041Schristos OPTION_NO_FIX_LOONGSON3_LLSC. 4372*56bb7041Schristos (md_show_usage): Display -m[no-]fix-loongson3-llsc. 4373*56bb7041Schristos * doc/c-mips.texi: Document -m[no-]fix-loongson3-llsc, 4374*56bb7041Schristos --enable-mips-fix-loongson3-llsc=[yes|no]. 4375*56bb7041Schristos 4376*56bb7041Schristos2019-02-10 H.J. Lu <hongjiu.lu@intel.com> 4377*56bb7041Schristos 4378*56bb7041Schristos PR gas/24165 4379*56bb7041Schristos * frags.c (frag_var_init): Pass max_chars to TC_FRAG_INIT as 4380*56bb7041Schristos max_bytes. 4381*56bb7041Schristos * config/tc-aarch64.h (TC_FRAG_INIT): Add and pass max_bytes to 4382*56bb7041Schristos aarch64_init_frag. 4383*56bb7041Schristos * /config/tc-arm.h (TC_FRAG_INIT): And and pass max_bytes to 4384*56bb7041Schristos arm_init_frag. 4385*56bb7041Schristos * config/tc-avr.h (TC_FRAG_INIT): And and ignore max_bytes. 4386*56bb7041Schristos * config/tc-ia64.h (TC_FRAG_INIT): Likewise. 4387*56bb7041Schristos * config/tc-mmix.h (TC_FRAG_INIT): Likewise. 4388*56bb7041Schristos * config/tc-nds32.h (TC_FRAG_INIT): Likewise. 4389*56bb7041Schristos * config/tc-ns32k.h (TC_FRAG_INIT): Likewise. 4390*56bb7041Schristos * config/tc-rl78.h (TC_FRAG_INIT): Likewise. 4391*56bb7041Schristos * config/tc-rx.h (TC_FRAG_INIT): Likewise. 4392*56bb7041Schristos * config/tc-score.h (TC_FRAG_INIT): Likewise. 4393*56bb7041Schristos * config/tc-tic54x.h (TC_FRAG_INIT): Likewise. 4394*56bb7041Schristos * config/tc-tic6x.h (TC_FRAG_INIT): Likewise. 4395*56bb7041Schristos * config/tc-xtensa.h (TC_FRAG_INIT): Likewise. 4396*56bb7041Schristos * config/tc-i386.h (MAX_MEM_FOR_RS_ALIGN_CODE): Set to 4397*56bb7041Schristos (alignment ? ((1 << alignment) - 1) : 1) 4398*56bb7041Schristos (i386_tc_frag_data): Add max_bytes. 4399*56bb7041Schristos (TC_FRAG_INIT): Add and track max_bytes. 4400*56bb7041Schristos (HANDLE_ALIGN): Replace MAX_MEM_FOR_RS_ALIGN_CODE with 4401*56bb7041Schristos fragP->tc_frag_data.max_bytes. 4402*56bb7041Schristos * doc/internals.texi: Update TC_FRAG_TYPE with max_bytes. 4403*56bb7041Schristos 4404*56bb7041Schristos2019-02-08 Jim Wilson <jimw@sifive.com> 4405*56bb7041Schristos 4406*56bb7041Schristos * config/tc-riscv.c (validate_riscv_insn) <'C'>: Add 'z' support. 4407*56bb7041Schristos (riscv_ip) <'C'>: Add 'z' support. 4408*56bb7041Schristos 4409*56bb7041Schristos2019-02-07 Tamar Christina <tamar.christina@arm.com> 4410*56bb7041Schristos 4411*56bb7041Schristos * config/tc-arm.c (insns): Redefine THUMB_VARIANT and ARM_VARIANT for 4412*56bb7041Schristos hlt to armv1. 4413*56bb7041Schristos * testsuite/gas/arm/armv8a-automatic-hlt.d: Update TAGs 4414*56bb7041Schristos * testsuite/gas/arm/hlt.d: New test. 4415*56bb7041Schristos * testsuite/gas/arm/hlt.s: New test. 4416*56bb7041Schristos 4417*56bb7041Schristos2019-02-07 Tamar Christina <tamar.christina@arm.com> 4418*56bb7041Schristos 4419*56bb7041Schristos * testsuite/gas/aarch64/undefined_advsimd_armv8_3.d: New test. 4420*56bb7041Schristos * testsuite/gas/aarch64/undefined_advsimd_armv8_3.s: New test. 4421*56bb7041Schristos 4422*56bb7041Schristos2019-02-07 Tamar Christina <tamar.christina@arm.com> 4423*56bb7041Schristos 4424*56bb7041Schristos PR binutils/23212 4425*56bb7041Schristos * testsuite/gas/aarch64/undefined_by_elem_sz_l.s: New test. 4426*56bb7041Schristos * testsuite/gas/aarch64/undefined_by_elem_sz_l.d: New test. 4427*56bb7041Schristos 4428*56bb7041Schristos2019-02-07 Eric Botcazou <ebotcazou@adacore.com> 4429*56bb7041Schristos 4430*56bb7041Schristos * config/tc-visium.c (md_assemble) <mode_cad>: Align instruction on 4431*56bb7041Schristos 64-bit boundaries for the GR6. 4432*56bb7041Schristos * testsuite/gas/visium/allinsn_gr6.s: Tweak. 4433*56bb7041Schristos * testsuite/gas/visium/allinsn_gr6.d: Likewise. 4434*56bb7041Schristos * testsuite/gas/visium/bra-1.d: New test. 4435*56bb7041Schristos * testsuite/gas/visium/bra-1.s: Likewise. 4436*56bb7041Schristos * testsuite/gas/visium/visium.exp: Run bra-1 test. 4437*56bb7041Schristos 4438*56bb7041Schristos2019-01-31 John Darrington <john@darrington.wattle.id.au> 4439*56bb7041Schristos 4440*56bb7041Schristos * config/tc-s12z.c (lex_imm): Add new argument exp_o. 4441*56bb7041Schristos (emit_reloc): New function. 4442*56bb7041Schristos (md_apply_fix): [BFD_RELOC_S12Z_OPR] Recognise that it 4443*56bb7041Schristos can be either 2 bytes or 3 bytes long. 4444*56bb7041Schristos * testsuite/gas/s12z/mov-imm-reloc.d: New file. 4445*56bb7041Schristos * testsuite/gas/s12z/mov-imm-reloc.s: New file. 4446*56bb7041Schristos * testsuite/gas/s12z/s12z.exp: Add them. 4447*56bb7041Schristos 4448*56bb7041Schristos2019-01-31 John Darrington <john@darrington.wattle.id.au> 4449*56bb7041Schristos 4450*56bb7041Schristos * config/tc-s12z.c (md_apply_fix): Fix incorrect limits. 4451*56bb7041Schristos * testsuite/gas/s12z/pc-rel-bad.d: New file. 4452*56bb7041Schristos * testsuite/gas/s12z/pc-rel-bad.l: New file. 4453*56bb7041Schristos * testsuite/gas/s12z/pc-rel-bad.s: New file. 4454*56bb7041Schristos * testsuite/gas/s12z/pc-rel-good.d: New file. 4455*56bb7041Schristos * testsuite/gas/s12z/pc-rel-good.s: New file. 4456*56bb7041Schristos * testsuite/gas/s12z/s12z.exp: Add them. 4457*56bb7041Schristos 4458*56bb7041Schristos2019-01-31 John Darrington <john@darrington.wattle.id.au> 4459*56bb7041Schristos 4460*56bb7041Schristos * config/tc-s12z.c (tfr): Emit warning if operands are the same. 4461*56bb7041Schristos * testsuite/gas/s12z/exg.d: New test case. 4462*56bb7041Schristos * testsuite/gas/s12z/exg.l: New file. 4463*56bb7041Schristos 4464*56bb7041Schristos2019-01-31 John Darrington <john@darrington.wattle.id.au> 4465*56bb7041Schristos 4466*56bb7041Schristos * config/tc-s12z.c (lex_opr): Add a parameter to indicate whether 4467*56bb7041Schristos immediate mode operands should be permitted. 4468*56bb7041Schristos * testsuite/s12z/imm-dest.d: New file. 4469*56bb7041Schristos * testsuite/s12z/imm-dest.l: New file. 4470*56bb7041Schristos * testsuite/s12z/imm-dest.s: New file. 4471*56bb7041Schristos * testsuite/s12z/s12z.exp: Add them. 4472*56bb7041Schristos 4473*56bb7041Schristos2019-01-31 Andreas Krebbel <krebbel@linux.ibm.com> 4474*56bb7041Schristos 4475*56bb7041Schristos * config/tc-s390.c (s390_parse_cpu): New entry for arch13. 4476*56bb7041Schristos * doc/c-s390.texi: Document arch13 march option. 4477*56bb7041Schristos * testsuite/gas/s390/s390.exp: Run the arch13 related tests. 4478*56bb7041Schristos * testsuite/gas/s390/zarch-arch13.d: New test. 4479*56bb7041Schristos * testsuite/gas/s390/zarch-arch13.s: New test. 4480*56bb7041Schristos * testsuite/gas/s390/zarch-z13.d: Expect the renamed mnemonics 4481*56bb7041Schristos also for z13. 4482*56bb7041Schristos 4483*56bb7041Schristos2019-01-31 Alan Modra <amodra@gmail.com> 4484*56bb7041Schristos 4485*56bb7041Schristos * config/tc-alpha.c (md_apply_fix): Correct range checks for 4486*56bb7041Schristos BFD_RELOC_ALPHA_NOP, BFD_RELOC_ALPHA_LDA, BFD_RELOC_ALPHA_BSR. 4487*56bb7041Schristos * config/tc-arm.c (md_apply_fix): Use llabs rather than abs. 4488*56bb7041Schristos * config/tc-csky.c (get_macro_reg_vals): Pass s to csky_show_error. 4489*56bb7041Schristos 4490*56bb7041Schristos2019-01-28 Max Filippov <jcmvbkbc@gmail.com> 4491*56bb7041Schristos 4492*56bb7041Schristos * config/tc-xtensa.c (md_apply_fix): Mark fixups for constant 4493*56bb7041Schristos symbols as done in md_apply_fix. 4494*56bb7041Schristos * testsuite/gas/all/forward.d: Don't XFAIL for xtensa. 4495*56bb7041Schristos 4496*56bb7041Schristos2019-01-28 Nick Clifton <nickc@redhat.com> 4497*56bb7041Schristos 4498*56bb7041Schristos * po/fr.po: Updated French translation. 4499*56bb7041Schristos * po/ru.po: Updated Russian translation. 4500*56bb7041Schristos 4501*56bb7041Schristos2019-01-28 Alan Modra <amodra@gmail.com> 4502*56bb7041Schristos 4503*56bb7041Schristos * configure.ac (ac_checking): Set from bfd/development.sh 4504*56bb7041Schristos development variable. 4505*56bb7041Schristos * configure: Regenerate. 4506*56bb7041Schristos 4507*56bb7041Schristos2019-01-25 Sudakshina Das <sudi.das@arm.com> 4508*56bb7041Schristos 4509*56bb7041Schristos * config/tc-aarch64.c (warn_unpredictable_ldst): Exempt 4510*56bb7041Schristos stg, st2g, stzg and stz2g from Xt == Xn with writeback warning. 4511*56bb7041Schristos * testsuite/gas/aarch64/armv8_5-a-memtag.d: Change tests for 4512*56bb7041Schristos stg, stzg, st2g and stz2g. 4513*56bb7041Schristos * testsuite/gas/aarch64/armv8_5-a-memtag.s: Likewise. 4514*56bb7041Schristos * testsuite/gas/aarch64/illegal-memtag.l: Likewise. 4515*56bb7041Schristos * testsuite/gas/aarch64/illegal-memtag.s: Likewise. 4516*56bb7041Schristos 4517*56bb7041Schristos2019-01-25 Sudakshina Das <sudi.das@arm.com> 4518*56bb7041Schristos 4519*56bb7041Schristos * testsuite/gas/aarch64/armv8_5-a-memtag.d: New tests for stzgm. 4520*56bb7041Schristos * testsuite/gas/aarch64/armv8_5-a-memtag.s: Likewise. 4521*56bb7041Schristos * testsuite/gas/aarch64/illegal-memtag.l: Likewise. 4522*56bb7041Schristos * testsuite/gas/aarch64/illegal-memtag.s: Likewise. 4523*56bb7041Schristos 4524*56bb7041Schristos2019-01-25 Sudakshina Das <sudi.das@arm.com> 4525*56bb7041Schristos Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> 4526*56bb7041Schristos 4527*56bb7041Schristos * config/tc-aarch64.c (parse_address_main): Remove support for 4528*56bb7041Schristos [base]! address expression. 4529*56bb7041Schristos (parse_operands): Remove support for AARCH64_OPND_ADDR_SIMPLE_2. 4530*56bb7041Schristos (warn_unpredictable_ldst): Remove support for ldstgv_indexed. 4531*56bb7041Schristos * testsuite/gas/aarch64/armv8_5-a-memtag.d: Remove tests for ldgv 4532*56bb7041Schristos and stgv. 4533*56bb7041Schristos * testsuite/gas/aarch64/armv8_5-a-memtag.s: Likewise. 4534*56bb7041Schristos * testsuite/gas/aarch64/illegal-memtag.l: Likewise. 4535*56bb7041Schristos * testsuite/gas/aarch64/illegal-memtag.s: Likewise. 4536*56bb7041Schristos 4537*56bb7041Schristos2019-01-25 Wu Heng <wu.heng@zte.com.cn> 4538*56bb7041Schristos 4539*56bb7041Schristos PR gas/23940 4540*56bb7041Schristos * macro.c (getstring): Check array bound before accessing. 4541*56bb7041Schristos 4542*56bb7041Schristos2019-01-25 Alan Modra <amodra@gmail.com> 4543*56bb7041Schristos 4544*56bb7041Schristos PR 20902 4545*56bb7041Schristos PR 24125 4546*56bb7041Schristos * read.c (stringer): Delete assertion. 4547*56bb7041Schristos 4548*56bb7041Schristos2019-01-21 Nick Clifton <nickc@redhat.com> 4549*56bb7041Schristos 4550*56bb7041Schristos * po/uk.po: Updated Ukranian translation. 4551*56bb7041Schristos 4552*56bb7041Schristos2019-01-19 Nick Clifton <nickc@redhat.com> 4553*56bb7041Schristos 4554*56bb7041Schristos * config.in: Regenerate. 4555*56bb7041Schristos * configure: Regenerate. 4556*56bb7041Schristos * po/gas.pot: Regenerate. 4557*56bb7041Schristos 4558*56bb7041Schristos2018-06-24 Nick Clifton <nickc@redhat.com> 4559*56bb7041Schristos 4560*56bb7041Schristos 2.32 branch created. 4561*56bb7041Schristos 4562*56bb7041Schristos2019-01-17 Tamar Christina <tamar.christina@arm.com> 4563*56bb7041Schristos 4564*56bb7041Schristos * testsuite/gas/arm/archv6t2-1-pe.d: New test. 4565*56bb7041Schristos * testsuite/gas/arm/archv6t2-1.d: Skip pe. 4566*56bb7041Schristos * testsuite/gas/arm/csdb.d: Skip pe. 4567*56bb7041Schristos * testsuite/gas/arm/sb-thumb1-pe.d: New test. 4568*56bb7041Schristos * testsuite/gas/arm/sb-thumb1.d: Skip pe. 4569*56bb7041Schristos * testsuite/gas/arm/sb-thumb2-pe.d: New test. 4570*56bb7041Schristos * testsuite/gas/arm/sb-thumb2.d: Skip pe. 4571*56bb7041Schristos * testsuite/gas/arm/udf.d: Skip pe. 4572*56bb7041Schristos 4573*56bb7041Schristos2019-01-16 Kito Cheng <kito@andestech.com> 4574*56bb7041Schristos 4575*56bb7041Schristos * testsuite/gas/riscv/attribute-empty.d: New. 4576*56bb7041Schristos 4577*56bb7041Schristos2019-01-16 Kito Cheng <kito@andestech.com> 4578*56bb7041Schristos Nelson Chu <nelson@andestech.com> 4579*56bb7041Schristos 4580*56bb7041Schristos * config/tc-riscv.c (DEFAULT_RISCV_ATTR): Define to 0 if not defined. 4581*56bb7041Schristos (riscv_set_options): Add `arch_attr` field. 4582*56bb7041Schristos (riscv_opts): Set default value for arch_attr. 4583*56bb7041Schristos (riscv_write_out_arch_attr): New. 4584*56bb7041Schristos (riscv_set_public_attributes): Likewise. 4585*56bb7041Schristos (riscv_md_end): Likewise. 4586*56bb7041Schristos (riscv_convert_symbolic_attribute): Likewise. 4587*56bb7041Schristos (s_riscv_attribute): Likewise. 4588*56bb7041Schristos (explicit_arch_attr): Likewise. 4589*56bb7041Schristos (riscv_pseudo_table): Add .attribute to the table. 4590*56bb7041Schristos (options): Add OPTION_ARCH_ATTR and OPTION_NO_ARCH_ATTR 4591*56bb7041Schristos enumeration constants. 4592*56bb7041Schristos (md_longopts): Add `march-attr' and `mno-arch-attr' options. 4593*56bb7041Schristos (md_parse_option): Handle the new options. 4594*56bb7041Schristos (md_show_usage): Document the `march-attr' option. 4595*56bb7041Schristos * config/tc-riscv.h (md_end): Define as riscv_md_end 4596*56bb7041Schristos (riscv_md_end): Declare. 4597*56bb7041Schristos (CONVERT_SYMBOLIC_ATTRIBUTE): Define as 4598*56bb7041Schristos riscv_convert_symbolic_attribute. 4599*56bb7041Schristos (riscv_convert_symbolic_attribute): Declare. 4600*56bb7041Schristos (start_assemble): Declare. 4601*56bb7041Schristos * testsuite/gas/elf/elf.exp: Adjust test case for section2.e. 4602*56bb7041Schristos * testsuite/gas/elf/section2.e-riscv: New. 4603*56bb7041Schristos * testsuite/gas/riscv/attribute-01.d: New test 4604*56bb7041Schristos * testsuite/gas/riscv/attribute-02.d: Likewise. 4605*56bb7041Schristos * testsuite/gas/riscv/attribute-03.d: Likewise. 4606*56bb7041Schristos * testsuite/gas/riscv/attribute-04.d: Likewise. 4607*56bb7041Schristos * testsuite/gas/riscv/attribute-04.s: Likewise. 4608*56bb7041Schristos * testsuite/gas/riscv/attribute-05.d: Likewise. 4609*56bb7041Schristos * testsuite/gas/riscv/attribute-05.s: Likewise. 4610*56bb7041Schristos * testsuite/gas/riscv/attribute-06.d: Likewise. 4611*56bb7041Schristos * testsuite/gas/riscv/attribute-06.s: Likewise. 4612*56bb7041Schristos * testsuite/gas/riscv/attribute-07.d: Likewise. 4613*56bb7041Schristos * testsuite/gas/riscv/attribute-07.s: Likewise. 4614*56bb7041Schristos * testsuite/gas/riscv/attribute-08.d: Likewise. 4615*56bb7041Schristos * testsuite/gas/riscv/attribute-08.s: Likewise. 4616*56bb7041Schristos * testsuite/gas/riscv/attribute-unknown.d: Likewise. 4617*56bb7041Schristos * testsuite/gas/riscv/attribute-unknown.s: Likewise. 4618*56bb7041Schristos * testsuite/gas/riscv/empty.l: Likewise. 4619*56bb7041Schristos * doc/c-riscv.texi (.attribute): Add documentation. 4620*56bb7041Schristos * configure.ac (--enable-default-riscv-attribute): New options. 4621*56bb7041Schristos * configure: Re-generate. 4622*56bb7041Schristos * config.in: Re-generate. 4623*56bb7041Schristos 4624*56bb7041Schristos2019-01-16 John Darrington <john@darrington.wattle.id.au> 4625*56bb7041Schristos 4626*56bb7041Schristos * config/tc-s12z.c (lex_reg_name): Compare the length of the strings 4627*56bb7041Schristos before the contents. 4628*56bb7041Schristos * testsuite/gas/s12z/labels.d: New file. 4629*56bb7041Schristos * testsuite/gas/s12z/labels.s: New file. 4630*56bb7041Schristos * testsuite/gas/s12z/s12z.exp: Add them. 4631*56bb7041Schristos * config/tc-s12z.c (tfr): Change as_bad to as_warn. 4632*56bb7041Schristos Also fix message typo and semantics. 4633*56bb7041Schristos * config/tc-s12z.c (emit_opr): Emit BFD_RELOC_S12Z_OPR instead of 4634*56bb7041Schristos BFD_RELOC_24. 4635*56bb7041Schristos * testsuite/gas/s12z/opr-indirect-expr.d: Expect R_S12Z_OPR instead 4636*56bb7041Schristos of R_S12Z_EXT24. 4637*56bb7041Schristos 4638*56bb7041Schristos2019-01-14 Srinath Parvathaneni <srinath.parvathaneni@arm.com> 4639*56bb7041Schristos 4640*56bb7041Schristos * config/tc-arm.c (arm_ext_v6k_v6t2): Define. 4641*56bb7041Schristos (insns) [ARM_VARIANT]: Modified. 4642*56bb7041Schristos (insns) [THUMB_VARIANT]: To implement few ARMv6K instructions 4643*56bb7041Schristos in ARMv6T2 as well. 4644*56bb7041Schristos * testsuite/gas/arm/archv6t2-1.d: New test. 4645*56bb7041Schristos * testsuite/gas/arm/archv6t2-1.s: Likewise. 4646*56bb7041Schristos * testsuite/gas/arm/archv6t2-2.d: Likewise. 4647*56bb7041Schristos 4648*56bb7041Schristos2019-01-11 Alan Modra <amodra@gmail.com> 4649*56bb7041Schristos 4650*56bb7041Schristos PR 23963 4651*56bb7041Schristos * testsuite/gas/m68hc11/lbranch-dwarf2.d: Adjust for PR23963 change. 4652*56bb7041Schristos * testsuite/gas/m68hc11/opers12-dwarf2.d: Likewise. 4653*56bb7041Schristos 4654*56bb7041Schristos2019-01-10 Nick Clifton <nickc@redhat.com> 4655*56bb7041Schristos 4656*56bb7041Schristos PR 23963 4657*56bb7041Schristos * testsuite/gas/mips/mips16-branch-absolute-1.d: Adjust for the 4658*56bb7041Schristos fact that control characters are now displayed as escape 4659*56bb7041Schristos sequences. 4660*56bb7041Schristos * testsuite/gas/mips/mips16-e.d: Likewise. 4661*56bb7041Schristos * testsuite/gas/mips/mips16-pcrel-0.d: Likewise. 4662*56bb7041Schristos * testsuite/gas/mips/mips16-pcrel-1.d: Likewise. 4663*56bb7041Schristos * testsuite/gas/mips/mips16-pcrel-delay-0.d: Likewise. 4664*56bb7041Schristos * testsuite/gas/mips/mips16-pcrel-delay-1.d: Likewise. 4665*56bb7041Schristos * testsuite/gas/mips/mips16-pcrel-n32-0.d: Likewise. 4666*56bb7041Schristos * testsuite/gas/mips/mips16-pcrel-n32-1.d: Likewise. 4667*56bb7041Schristos * testsuite/gas/mips/mips16-pcrel-n64-sym32-0.d: Likewise. 4668*56bb7041Schristos * testsuite/gas/mips/mips16-pcrel-n64-sym32-1.d: Likewise. 4669*56bb7041Schristos * testsuite/gas/mips/mips16e2@mips16-pcrel-0.d: Likewise. 4670*56bb7041Schristos * testsuite/gas/mips/mips16e2@mips16-pcrel-1.d: Likewise. 4671*56bb7041Schristos * testsuite/gas/mips/mips16e2@mips16-pcrel-delay-0.d: Likewise. 4672*56bb7041Schristos * testsuite/gas/mips/mips16e2@mips16-pcrel-delay-1.d: Likewise. 4673*56bb7041Schristos * testsuite/gas/mips/mips16e2@mips16-pcrel-n32-0.d: Likewise. 4674*56bb7041Schristos * testsuite/gas/mips/mips16e2@mips16-pcrel-n32-1.d: Likewise. 4675*56bb7041Schristos * testsuite/gas/mips/mips16e2@mips16-pcrel-n64-sym32-0.d: 4676*56bb7041Schristos Likewise. 4677*56bb7041Schristos * testsuite/gas/mips/mips16e2@mips16-pcrel-n64-sym32-1.d: 4678*56bb7041Schristos Likewise. 4679*56bb7041Schristos * testsuite/gas/mips/mipsel16-e.d: Likewise. 4680*56bb7041Schristos * testsuite/gas/mips/mipsr6@msa.d: Likewise. 4681*56bb7041Schristos * testsuite/gas/mips/mipsr6@relax-swap3.d: Likewise. 4682*56bb7041Schristos * testsuite/gas/mips/r6-64-n32.d: Likewise. 4683*56bb7041Schristos * testsuite/gas/mips/r6-64-n64.d: Likewise. 4684*56bb7041Schristos * testsuite/gas/mips/r6-n32.d: Likewise. 4685*56bb7041Schristos * testsuite/gas/mips/r6-n64.d: Likewise. 4686*56bb7041Schristos * testsuite/gas/mips/r6.d: Likewise. 4687*56bb7041Schristos * testsuite/gas/mips/tmips16-e.d: Likewise. 4688*56bb7041Schristos * testsuite/gas/mips/tmipsel16-e.d: Likewise. 4689*56bb7041Schristos * testsuite/gas/mn10300/relax.d: Likewise. 4690*56bb7041Schristos 4691*56bb7041Schristos2019-01-09 John Darrington <john@darrington.wattle.id.au> 4692*56bb7041Schristos 4693*56bb7041Schristos * testsuite/gas/s12z/jsr.s: New case. 4694*56bb7041Schristos * testsuite/gas/s12z/jsr.d: New case. 4695*56bb7041Schristos 4696*56bb7041Schristos2019-01-09 Andrew Paprocki <andrew@ishiboo.com> 4697*56bb7041Schristos 4698*56bb7041Schristos * configure: Regenerate. 4699*56bb7041Schristos 4700*56bb7041Schristos2019-01-08 Kyrylo Tkachov <kyrylo.tkachov@arm.com> 4701*56bb7041Schristos 4702*56bb7041Schristos * config/tc-aarch64.c (aarch64_cpus): Add ares. 4703*56bb7041Schristos * doc/c-aarch64.texi (-mcpu): Document ares value. 4704*56bb7041Schristos 4705*56bb7041Schristos2019-01-08 Alan Modra <amodra@gmail.com> 4706*56bb7041Schristos 4707*56bb7041Schristos * testsuite/gas/rx/rx.exp: Create generated test source in 4708*56bb7041Schristos current directory. 4709*56bb7041Schristos * testsuite/gas/rx/Xtod.d, * testsuite/gas/rx/abs.d, 4710*56bb7041Schristos * testsuite/gas/rx/adc.d, * testsuite/gas/rx/add.d, 4711*56bb7041Schristos * testsuite/gas/rx/and.d, * testsuite/gas/rx/bclr.d, 4712*56bb7041Schristos * testsuite/gas/rx/bcnd.d, * testsuite/gas/rx/bfmov.d, 4713*56bb7041Schristos * testsuite/gas/rx/bmcnd.d, * testsuite/gas/rx/bnot.d, 4714*56bb7041Schristos * testsuite/gas/rx/bra.d, * testsuite/gas/rx/brk.d, 4715*56bb7041Schristos * testsuite/gas/rx/bset.d, * testsuite/gas/rx/bsr.d, 4716*56bb7041Schristos * testsuite/gas/rx/btst.d, * testsuite/gas/rx/clrpsw.d, 4717*56bb7041Schristos * testsuite/gas/rx/cmp.d, * testsuite/gas/rx/dabs.d, 4718*56bb7041Schristos * testsuite/gas/rx/dadd.d, * testsuite/gas/rx/dbt.d, 4719*56bb7041Schristos * testsuite/gas/rx/dcmp.d, * testsuite/gas/rx/ddiv.d, 4720*56bb7041Schristos * testsuite/gas/rx/div.d, * testsuite/gas/rx/divu.d, 4721*56bb7041Schristos * testsuite/gas/rx/dmov.d, * testsuite/gas/rx/dmul.d, 4722*56bb7041Schristos * testsuite/gas/rx/dneg.d, * testsuite/gas/rx/dpopm.d, 4723*56bb7041Schristos * testsuite/gas/rx/dpushm.d, * testsuite/gas/rx/dround.d, 4724*56bb7041Schristos * testsuite/gas/rx/dsqrt.d, * testsuite/gas/rx/dsub.d, 4725*56bb7041Schristos * testsuite/gas/rx/dtoX.d, * testsuite/gas/rx/emaca.d, 4726*56bb7041Schristos * testsuite/gas/rx/emsba.d, * testsuite/gas/rx/emul.d, 4727*56bb7041Schristos * testsuite/gas/rx/emula.d, * testsuite/gas/rx/emulu.d, 4728*56bb7041Schristos * testsuite/gas/rx/fadd.d, * testsuite/gas/rx/fcmp.d, 4729*56bb7041Schristos * testsuite/gas/rx/fdiv.d, * testsuite/gas/rx/fmul.d, 4730*56bb7041Schristos * testsuite/gas/rx/fsqrt.d, * testsuite/gas/rx/fsub.d, 4731*56bb7041Schristos * testsuite/gas/rx/ftoi.d, * testsuite/gas/rx/ftou.d, 4732*56bb7041Schristos * testsuite/gas/rx/gprel.d, * testsuite/gas/rx/int.d, 4733*56bb7041Schristos * testsuite/gas/rx/itof.d, * testsuite/gas/rx/jmp.d, 4734*56bb7041Schristos * testsuite/gas/rx/jsr.d, * testsuite/gas/rx/machi.d, 4735*56bb7041Schristos * testsuite/gas/rx/maclh.d, * testsuite/gas/rx/maclo.d, 4736*56bb7041Schristos * testsuite/gas/rx/max.d, * testsuite/gas/rx/min.d, 4737*56bb7041Schristos * testsuite/gas/rx/mov.d, * testsuite/gas/rx/movco.d, 4738*56bb7041Schristos * testsuite/gas/rx/movli.d, * testsuite/gas/rx/movu.d, 4739*56bb7041Schristos * testsuite/gas/rx/msbhi.d, * testsuite/gas/rx/msblh.d, 4740*56bb7041Schristos * testsuite/gas/rx/msblo.d, * testsuite/gas/rx/mul.d, 4741*56bb7041Schristos * testsuite/gas/rx/mulhi.d, * testsuite/gas/rx/mullh.d, 4742*56bb7041Schristos * testsuite/gas/rx/mullo.d, * testsuite/gas/rx/mvfacgu.d, 4743*56bb7041Schristos * testsuite/gas/rx/mvfachi.d, * testsuite/gas/rx/mvfaclo.d, 4744*56bb7041Schristos * testsuite/gas/rx/mvfacmi.d, * testsuite/gas/rx/mvfc.d, 4745*56bb7041Schristos * testsuite/gas/rx/mvfcp.d, * testsuite/gas/rx/mvfdc.d, 4746*56bb7041Schristos * testsuite/gas/rx/mvfdr.d, * testsuite/gas/rx/mvtacgu.d, 4747*56bb7041Schristos * testsuite/gas/rx/mvtachi.d, * testsuite/gas/rx/mvtaclo.d, 4748*56bb7041Schristos * testsuite/gas/rx/mvtc.d, * testsuite/gas/rx/mvtcp.d, 4749*56bb7041Schristos * testsuite/gas/rx/mvtdc.d, * testsuite/gas/rx/neg.d, 4750*56bb7041Schristos * testsuite/gas/rx/nop.d, * testsuite/gas/rx/not.d, 4751*56bb7041Schristos * testsuite/gas/rx/opecp.d, * testsuite/gas/rx/or.d, 4752*56bb7041Schristos * testsuite/gas/rx/pop.d, * testsuite/gas/rx/popc.d, 4753*56bb7041Schristos * testsuite/gas/rx/popm.d, * testsuite/gas/rx/push.d, 4754*56bb7041Schristos * testsuite/gas/rx/pushc.d, * testsuite/gas/rx/pushm.d, 4755*56bb7041Schristos * testsuite/gas/rx/r-bcc.d, * testsuite/gas/rx/r-bra.d, 4756*56bb7041Schristos * testsuite/gas/rx/racl.d, * testsuite/gas/rx/racw.d, 4757*56bb7041Schristos * testsuite/gas/rx/rdacl.d, * testsuite/gas/rx/rdacw.d, 4758*56bb7041Schristos * testsuite/gas/rx/revl.d, * testsuite/gas/rx/revw.d, 4759*56bb7041Schristos * testsuite/gas/rx/rmpa.d, * testsuite/gas/rx/rolc.d, 4760*56bb7041Schristos * testsuite/gas/rx/rorc.d, * testsuite/gas/rx/rotl.d, 4761*56bb7041Schristos * testsuite/gas/rx/rotr.d, * testsuite/gas/rx/round.d, 4762*56bb7041Schristos * testsuite/gas/rx/rstr.d, * testsuite/gas/rx/rte.d, 4763*56bb7041Schristos * testsuite/gas/rx/rtfi.d, * testsuite/gas/rx/rts.d, 4764*56bb7041Schristos * testsuite/gas/rx/rtsd.d, * testsuite/gas/rx/sat.d, 4765*56bb7041Schristos * testsuite/gas/rx/satr.d, * testsuite/gas/rx/save.d, 4766*56bb7041Schristos * testsuite/gas/rx/sbb.d, * testsuite/gas/rx/sccnd.d, 4767*56bb7041Schristos * testsuite/gas/rx/scmpu.d, * testsuite/gas/rx/setpsw.d, 4768*56bb7041Schristos * testsuite/gas/rx/shar.d, * testsuite/gas/rx/shll.d, 4769*56bb7041Schristos * testsuite/gas/rx/shlr.d, * testsuite/gas/rx/smovb.d, 4770*56bb7041Schristos * testsuite/gas/rx/smovf.d, * testsuite/gas/rx/smovu.d, 4771*56bb7041Schristos * testsuite/gas/rx/sstr.d, * testsuite/gas/rx/stnz.d, 4772*56bb7041Schristos * testsuite/gas/rx/stz.d, * testsuite/gas/rx/sub.d, 4773*56bb7041Schristos * testsuite/gas/rx/suntil.d, * testsuite/gas/rx/swhile.d, 4774*56bb7041Schristos * testsuite/gas/rx/tst.d, * testsuite/gas/rx/utof.d, 4775*56bb7041Schristos * testsuite/gas/rx/wait.d, * testsuite/gas/rx/xchg.d, 4776*56bb7041Schristos * testsuite/gas/rx/xor.d: Add #source line. 4777*56bb7041Schristos 4778*56bb7041Schristos2019-01-07 Kyrylo Tkachov <kyrylo.tkachov@arm.com> 4779*56bb7041Schristos 4780*56bb7041Schristos * config/tc-arm.c (arm_cpus): Add ares. 4781*56bb7041Schristos * doc/c-arm.texi (-mcpu): Document ares value. 4782*56bb7041Schristos 4783*56bb7041Schristos2019-01-05 Yoshinori Sato <ysato@users.sourceforge.jp> 4784*56bb7041Schristos 4785*56bb7041Schristos * config/rx-defs.h (rx_cpu_types): Add type RXV3 and RXV3FPU. 4786*56bb7041Schristos (rx_bfield): Add prototype. 4787*56bb7041Schristos (rx_post): Likewise. 4788*56bb7041Schristos * config/rx-parse.y: Add v3 instructions and Double FPU registers. 4789*56bb7041Schristos (DSIZE): Define. 4790*56bb7041Schristos (POST): Define. 4791*56bb7041Schristos (rx_check_v3): New. check v3 type. 4792*56bb7041Schristos (rx_check_dfpu): New. check have double support. 4793*56bb7041Schristos (double_condition_table): New. dcmp<cond> contiditon. 4794*56bb7041Schristos (check_condition): Multiple condition support. 4795*56bb7041Schristos (rx_lex): RXv3 instructions support. 4796*56bb7041Schristos Add parse dcmp<cond> instruction and Double FPU registers. 4797*56bb7041Schristos (immediate): Disable optimize in dmov #imm case. 4798*56bb7041Schristos (displacement): Add double displacement in dmov instraction. 4799*56bb7041Schristos * config/tc-rx.c (rx_use_conventional_section_names): 4800*56bb7041Schristos Invert default value in rx-*-linux target. 4801*56bb7041Schristos (cpu_type): Add additional ELF flags. 4802*56bb7041Schristos (cpu_type_list): Add RXv3. 4803*56bb7041Schristos (md_parse_option): Refer elf_flags from cpu_type_list. 4804*56bb7041Schristos (md_show_usage): Add rxv3 and rxv3-dfpu. 4805*56bb7041Schristos (rx_bytesT): Add post byte. 4806*56bb7041Schristos (rx_bfield): New. generate bfmov / bfmovz "imm" field. 4807*56bb7041Schristos (rx_post): New. Set instruction post byte. 4808*56bb7041Schristos (md_assemble): Add post byte. 4809*56bb7041Schristos doc/c-rx.texi: Add cpu types. 4810*56bb7041Schristos * testsuite/gas/rx/Xtod.d: New. 4811*56bb7041Schristos * testsuite/gas/rx/Xtod.sm: New. 4812*56bb7041Schristos * testsuite/gas/rx/bfmov.d: New. 4813*56bb7041Schristos * testsuite/gas/rx/bfmov.sm: New. 4814*56bb7041Schristos * testsuite/gas/rx/dabs.d: New. 4815*56bb7041Schristos * testsuite/gas/rx/dabs.sm: New. 4816*56bb7041Schristos * testsuite/gas/rx/dadd.d: New. 4817*56bb7041Schristos * testsuite/gas/rx/dadd.sm: New. 4818*56bb7041Schristos * testsuite/gas/rx/dcmp.d: New. 4819*56bb7041Schristos * testsuite/gas/rx/dcmp.sm: New. 4820*56bb7041Schristos * testsuite/gas/rx/ddiv.d: New. 4821*56bb7041Schristos * testsuite/gas/rx/ddiv.sm: New. 4822*56bb7041Schristos * testsuite/gas/rx/dmov.d: New. 4823*56bb7041Schristos * testsuite/gas/rx/dmov.sm: New. 4824*56bb7041Schristos * testsuite/gas/rx/dmul.d: New. 4825*56bb7041Schristos * testsuite/gas/rx/dmul.sm: New. 4826*56bb7041Schristos * testsuite/gas/rx/dneg.d: New. 4827*56bb7041Schristos * testsuite/gas/rx/dneg.sm: New. 4828*56bb7041Schristos * testsuite/gas/rx/dpopm.d: New. 4829*56bb7041Schristos * testsuite/gas/rx/dpopm.sm: New. 4830*56bb7041Schristos * testsuite/gas/rx/dpushm.d: New. 4831*56bb7041Schristos * testsuite/gas/rx/dpushm.sm: New. 4832*56bb7041Schristos * testsuite/gas/rx/dround.d: New. 4833*56bb7041Schristos * testsuite/gas/rx/dround.sm: New. 4834*56bb7041Schristos * testsuite/gas/rx/dsqrt.d: New. 4835*56bb7041Schristos * testsuite/gas/rx/dsqrt.sm: New. 4836*56bb7041Schristos * testsuite/gas/rx/dsub.d: New. 4837*56bb7041Schristos * testsuite/gas/rx/dsub.sm: New. 4838*56bb7041Schristos * testsuite/gas/rx/dtoX.d: New. 4839*56bb7041Schristos * testsuite/gas/rx/dtoX.sm: New. 4840*56bb7041Schristos * testsuite/gas/rx/macros.inc: Add double FPU registers. 4841*56bb7041Schristos * testsuite/gas/rx/mvfdc.d: New. 4842*56bb7041Schristos * testsuite/gas/rx/mvfdc.sm: New. 4843*56bb7041Schristos * testsuite/gas/rx/mvfdr.d: New. 4844*56bb7041Schristos * testsuite/gas/rx/mvfdr.sm: New. 4845*56bb7041Schristos * testsuite/gas/rx/mvtdc.d: New. 4846*56bb7041Schristos * testsuite/gas/rx/mvtdc.sm: New. 4847*56bb7041Schristos * testsuite/gas/rx/rstr.d: New. 4848*56bb7041Schristos * testsuite/gas/rx/rstr.sm: New. 4849*56bb7041Schristos * testsuite/gas/rx/rx.exp: Use rxv3-dfpu option. 4850*56bb7041Schristos * testsuite/gas/rx/save.d: New. 4851*56bb7041Schristos * testsuite/gas/rx/save.sm: New. 4852*56bb7041Schristos * testsuite/gas/rx/xor.d: New. 4853*56bb7041Schristos * testsuite/gas/rx/xor.sm: Add pattern. 4854*56bb7041Schristos 4855*56bb7041Schristos2019-01-04 Wu Heng <wu.heng@zte.com.cn> 4856*56bb7041Schristos 4857*56bb7041Schristos PR 24010 4858*56bb7041Schristos * macro.c (get_any_string): Check for end of input whilst scanning 4859*56bb7041Schristos for separators. 4860*56bb7041Schristos 4861*56bb7041Schristos2019-01-04 Wu Heng <wu.heng@zte.com.cn> 4862*56bb7041Schristos 4863*56bb7041Schristos PR 24009 4864*56bb7041Schristos * read.c (stringer): Fix handling of missing '>' character at end 4865*56bb7041Schristos of <...> sequence. 4866*56bb7041Schristos 4867*56bb7041Schristos2019-01-01 Alan Modra <amodra@gmail.com> 4868*56bb7041Schristos 4869*56bb7041Schristos Update year range in copyright notice of all files. 4870*56bb7041Schristos 4871*56bb7041SchristosFor older changes see ChangeLog-2018 4872*56bb7041Schristos 4873*56bb7041SchristosCopyright (C) 2019 Free Software Foundation, Inc. 4874*56bb7041Schristos 4875*56bb7041SchristosCopying and distribution of this file, with or without modification, 4876*56bb7041Schristosare permitted in any medium without royalty provided the copyright 4877*56bb7041Schristosnotice and this notice are preserved. 4878*56bb7041Schristos 4879*56bb7041SchristosLocal Variables: 4880*56bb7041Schristosmode: change-log 4881*56bb7041Schristosleft-margin: 8 4882*56bb7041Schristosfill-column: 74 4883*56bb7041Schristosversion-control: never 4884*56bb7041SchristosEnd: 4885