gdb/ChangeLog:
2021-01-08  Oguzhan Karakaya  <oguzhan.karakaya@intel.com>

        * intelgt-tdep.c (intelgt_make_corefile_notes): read in-memory
          content to section in case so file is not resides on the disk.

gdb/ChangeLog:
2021-01-08  Mihails Strasuns  <mihails.strasuns@intel.com>

	* intelgt-tdep.c (intelgt_core_load_hook): New function.
	  Implements a gdbarch_core_load_hook.

gdb/ChangeLog:
2021-06-24  Mihails Strasuns  <mihails.strasuns@intel.com>

        * corelow.c: Extra earlier target_find_description call.

gdb/ChangeLog:
2020-12-17  Mihails Strasuns  <mihails.strasuns@intel.com>

        * gcore.c (section_userdata_is_contents): New function.
          (gcore_copy_callback): Check section_userdata_is_contents.

gdb/ChangeLog:
2022-10-21  Oguzhan Karakaya  <oguzhan.karakaya@intel.com>

	* gdbarch-components.py (gdbarch_core_load_hook): New function
	  that can be optionally provided by a gdbarch.
	* gdbarch-gen.h: Regenerated.
	* gdbarch.c: Regenerated.
	* corelow.c (core_target_open): Call gdbarch_core_load_hook if
	  provided.

gdb/ChangeLog:
2020-12-01  Mihails Strasuns  <mihails.strasuns@intel.com>

	* intelgt-tdep.c (intelgt_make_corefile_notes): Enhance to
	  generate NT_FILE notes too.

bfd/ChangeLog:
2020-12-01  Mihails Strasuns  <mihail.strasuns@intel.com>

	* elf64-intelgt.c (intelgt_elf_write_core_note,
	  intelgt_elf_grok_prstatus, intelgt_elf_grok_psinfo): New functions.

gdb/ChangeLog:
2020-12-01  Mihails Strasuns  <mihail.strasuns@intel.com>

	* intelgt-tdep.c (intelgt_iterate_over_regset_sections,
	  intelgt_collect_regset_section_cb,
	  intelgt_collect_thread_registers, intelgt_corefile_thread,
	  intelgt_make_corefile_notes, intelgt_core_pid_to_str,
	  intelgt_find_memory_region): New functions.

gdb/ChangeLog:
2021-01-02  Mihails Strasuns  <mihails.strasuns@intel.com>

	* unittests/elfnote-file.c: New file.
	* Makefile.in: Add elfnote-file.c.

gdb/ChangeLog:
2020-12-28  Mihails Strasuns  <mihails.strasuns@intel.com>

	* elfnote-file.h, elfnote-file.c (iterate_file_mappings): New function.
	* linux-tdep.c (linux_read_core_file_mappings): Start using
	  elfnote-file.

gdb/ChangeLog:
2020-12-17  Mihails Strasuns  <mihails.strasuns@intel.com>

	* elfnote-file.h, elfnote-file.c (file_mappings_builder): Switch to
	  byte vector.
	* linux-tdep.c (linux_make_mappings_corefile_notes): Adapt to
	  file_mappings_builder API changes.

gdb/ChangeLog:
2020-12-17  Mihails Strasuns  <mihails.strasuns@intel.com>

	* elfnote-file.h: New file.
	* elfnote-file.c: New file.
	* linux-tdep.c (linux_make_mappings_corefile_notes): Start using
	  elfnote-file.

gdb/ChangeLog:
2021-08-02  Abdul Basit Ijaz  <abdul.b.ijaz@intel.com>

	* gdbtypes.c (resolve_dynamic_array_or_string): Improve handling
	of TYPE_CODE_STRING code to use return value of create_string_type
	outcome for this case.
	* c-valprint.c (c_value_print_inner): Handle String type code
	in the same way as the Array type code.

gdb/testsuite/ChangeLog:
2021-08-02  Abdul Basit Ijaz  <abdul.b.ijaz@intel.com>

	* gdb.fortran/vla-array.f90: New fie.
	* gdb.fortran/vla-array.exp: New fie.

gdb/ChangeLog:
2022-06-03  Abdul Basit Ijaz  <abdul.b.ijaz@intel.com>

	* f-exp.y (parse_number):
	Replace contents of parse_number fortran parser function types and
	value handling with the c parser function.

gdb/testsuite/ChangeLog:
2022-06-03  Abdul Basit Ijaz  <abdul.b.ijaz@intel.com>

	* gdb.fortran/types.exp: Update test for long long and long types.

gdb/ChangeLog:
2022-09-07  Oguzhan Karakaya  <oguzhan.karakaya@intel.com>

	* python/lib/gdb/function/intelgt_auto_attach.py: Add
	new function setup_hook_bp.  Modify handle_error and
	init_gt_inferiors functions.

gdb/ChangeLog:
2022-09-14  Oguzhan Karakaya  <oguzhan.karakaya@intel.com>

	* python/lib/gdb/function/intelgt_auto_attach.py
	(handle_exited_event): Remove non-stop mode check.

gdb/testsuite/ChangeLog:
2022-08-26  Oguzhan Karakaya  <oguzhan.karakaya@intel.com>

	* gdb.sycl/intelgt-live-attach.exp: New file.
	* gdb.sycl/spinning-kernel.cpp: New file.

gdb/ChangeLog:
2022-09-15  Oguzhan Karakaya  <oguzhan.karakaya@intel.com>

	* python/lib/gdb/function/intelgt_auto_attach.py: add new class
	with static methods ‘log_call’ and ‘log’ as well as
	‘debug_log_is_enabled’ to check environment variable
	‘INTELGT_AUTO_ATTACH_VERBOSE_LOG’

gdb/testsuite/ChangeLog:
2022-09-29  Abdul Basit Ijaz  <abdul.b.ijaz@intel.com>

	* gdb.openmp/break_aot.exp: New file.

gdb/testsuite/ChangeLog:
2022-02-01  Abdul Basit Ijaz  <abdul.b.ijaz@intel.com>

	* lib/openmp.exp (omp_is_level_zero_debug_api): New proc.

gdb/ChangeLog:
2022-09-19  Ari Hannula  <ari.hannula@intel.com>

	* thread.c (print_thread_row): Add qualified-id field.
	* gdbthread.h: Move info_threads_opts struct.
	* mi/mi-main.c (mi_cmd_thread_info): Handle --qid argument.

gdb/testsuite/ChangeLog:
2022-09-19  Ari Hannula  <ari.hannula@intel.com>

	* gdb.threads/simd-mi-thread-info.exp: New test cases for the new
	argument.

gdb/ChangeLog:
2022-09-12  Natalia Saiapova  <natalia.saiapova@intel.com>

	* gdb/infrun.c (handle_inferior_event): Do not create a new
	thread for process events.

gdb/ChangeLog:
2022-09-20  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* remote.c (remote_target::start_remote): Set the remote's general
	thread before finishing startup.

gdb/ChangeLog:
2022-09-19  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* remote.c (remote_target::remote_notice_new_inferior): Fetch
	target description if a new inferior is detected.

gdb/ChangeLog:
2022-09-15  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* remote.c (remote_target::remote_notice_new_inferior): Setup
	a brand new inferior even when the remote target is starting up.

gdbserver/ChangeLog:
2022-02-03  Abdul Basit Ijaz  <abdul.basitijaz@intel.com>

	* intelgt-low.cc (create_target_description): Update Accumulator
	registers handling for GEN12p71 intelgt targets.

gdb/testsuite/ChangeLog:
2022-02-03  Abdul Basit Ijaz  <abdul.basitijaz@intel.com>

	* lib/sycl.exp (is_gdb12p71): Check if GEN12p71 intelgt target.
	* gdb.arch/intelgt-info-reg.exp: Check mme and acc registers,
	depending on the intelgt targets.

gdb/ChangeLog:
2022-09-13  Ari Hannula  <ari.hannula@intel.com>

	* thread.c (print_thread_row): Add thread-group field.

gdb/testsuite/ChangeLog:
2022-09-13  Ari Hannula  <ari.hannula@intel.com>

	* gdb.threads/simd-mi-thread-info.exp: Include new field in
	relevant test cases.

gdb/ChangeLog:
2022-09-05  Felix Willgerodt  <felix.willgerodt@intel.com>

	* symtab.c (completion_list_add_fields): Also look at members of
	symols of class LOC_COMPUTED and of pointer type.

gdb/testsuite/ChangeLog:
2020-09-05  Felix Willgerodt  <felix.willgerodt@intel.com>

	* gdb.cp/cpcompletion.exp: Add new tests for complete in member
	functions of anonymous structs.
	* testsuite/gdb.cp/pr9594.cc (a): New member unique_name_foo.

gdb/testsuite/ChangeLog:
2022-08-22  Abdul Basit Ijaz  <abdul.b.ijaz@intel.com>

	* gdb.sycl/break_aot.exp: New file.

gdb/testsuite/ChangeLog:
2022-08-01  Natalia Saiapova  <natalia.saiapova@intel.com>

	* gdb/testsuite/gdb.arch/intelgt-stop-inactive.exp: New file.

gdb/testsuite/ChangeLog:
2022-08-03  Stephan Rohr  <stephan.rohr@intel.com>

	* gdb.sycl/intelgt-stop-on-solib-event.exp: New file.

gdb/testsuite/ChangeLog:
2022-07-21  Stephan Rohr  <stephan.rohr@intel.com>

	* gdb.sycl/intelgt-simd-lane-mask.exp: New file.
	* gdb.sycl/intelgt-simd-lane-mask.cpp: New file.

gdb/ChangeLog:
2022-07-21  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* thread.c (should_print_thread): Take thread unavailability
	into account.

gdb/testsuite/ChangeLog:
2022-07-21  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.threads/simd-info-threads-inactive.exp: New file.

gdb/ChangeLog:
2022-07-21  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* thread.c (struct info_threads_opts) <show_stopped_threads>:
	New field.
	(should_print_thread): Check the '-stopped' (show_stopped_threads)
	option.
	(print_thread_info_1): Use the command options in an output message.
	(print_thread_info): Update the option values.
	* NEWS: Document the '-stopped' flag.

gdb/doc/ChangeLog:
2022-07-27  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.texinfo (Threads): Document the '-stopped' flag for the
	"info threads" command.

gdb/testsuite/ChangeLog:
2022-07-21  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.base/options.exp: Update the test to include "-stopped"
	for the "info threads" command.
	* gdb.threads/info-threads-stopped.c: New file.
	* gdb.threads/info-threads-stopped.exp: New file.

gdb/ChangeLog:
2022-07-21  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* thread.c (struct info_threads_opts): Move upwards in the file.
	(should_print_thread): Add a new info_threads_opts parameter.
	(print_thread_row): Replace the "int show_global_ids" parameter
	with an info_threads_opts object.
	(print_thread_info_1): Ditto.
	(print_thread_info): Update the call to print_thread_info_1.
	(info_threads_command): Update the call to print_thread_info_1.

gdb/testsuite/ChangeLog:
2022-07-27  Mohamed Bouhaouel  <mohamed.bouhaouel@intel.com>

	* intelgt-auto-attach.exp: Handle multiple inferiors.

gdb/ChangeLog:
2022-07-20  Ari Hannula  <ari.hannula@intel.com>

	* mi/mi-cmds.c: Add new command.
	* mi/mi-cmds.h: Add declarations.
	* mi/mi-main.c: New command implementation.
	* NEWS: Document changes.

gdb/doc/ChangeLog:
2022-07-20  Ari Hannula  <ari.hannula@intel.com>

	* gdb.texinfo: Add documentation of the command.

gdb/testsuite/ChangeLog:
2022-07-20  Ari Hannula  <ari.hannula@intel.com>

	* gdb.threads/simd-mi-hit-lanes-mask.exp: New file.

gdb/ChangeLog:
2022-07-21  Ari Hannula  <ari.hannula@intel.com>

	* mi/mi-main.c (mi_cmd_list_features): add new feature.

gdb/testsuite/ChangeLog:
2022-07-21  Ari Hannula  <ari.hannula@intel.com>

	* gdb.threads/simd-mi-lane-option.exp: add test.

gdb/ChangeLog:
2022-07-25  Ari Hannula  <ari.hannula@intel.com>

	* thread.c (print_thread_row): Add field to the output.
	* NEWS: Mentioned changes.

gdb/doc/ChangeLog:
2022-07-25  Ari Hannula  <ari.hannula@intel.com>

	* gdb.texinfo: Documented -thread-info output changes.

gdb/testsuite/ChangeLog:
2022-07-25  Ari Hannula  <ari.hannula@intel.com>

	* gdb.threads/simd-mi-thread-info.exp: Added a test case.

gdb/ChangeLog:
2022-07-11  Ari Hannula  <ari.hannula@intel.com>

	* mi/mi-cmds.c: Add new command.
	* mi/mi-cmds.h: Add declarations.
	* mi/mi-main.c: New command implementation.
	* NEWS: Document changes.

gdb/doc/ChangeLog:
2022-07-11  Ari Hannula  <ari.hannula@intel.com>

	* gdb.texinfo: Add documentation of the command.

gdb/testsuite/ChangeLog:
2022-07-11  Ari Hannula  <ari.hannula@intel.com>

	* gdb.threads/simd-mi-thread-emask.exp: New file.

gdb/ChangeLog:
2022-07-14  Ari Hannula  <ari.hannula@intel.com>

	* mi/mi-cmds.c: Add new command.
	* mi/mi-cmds.h: Add declarations.
	* mi/mi-main.c: New command implementation.
	* NEWS: Document changes.

gdb/doc/ChangeLog:
2022-07-14  Ari Hannula  <ari.hannula@intel.com>

	* gdb.texinfo: Add documentation of the command.

gdb/testsuite/ChangeLog:
2022-07-14  Ari Hannula  <ari.hannula@intel.com>

	* gdb.threads/simd-mi-thread-simd-width.exp: New file.

gdb/testsuite/ChangeLog:
2022-04-19  Abdul Basit Ijaz  <abdul.b.ijaz@intel.com>

	* lib/gdb.exp (gdb_compile_sycl): New function to support compilation
	of SYCL programs for icpx compiler.
	(gdb_compile_openmp): Function is updated to support offload options
	for openmp programs for icpx and ifx compilers.
	* README: Add 'sycl' flag usage descriptions and update it for
	'openmp'.

gdb/testsuite/ChangeLog:
2022-06-10  Abdul Basit Ijaz  <abdul.b.ijaz@intel.com>

	* lib/gdb.exp (gdb_compile_openmp): Add compile option qopenmp
	in OpenMP compilation function for Intel next gen compilers.
	* README: Add missing description for 'openmp' compile option.

gdb/ChangeLog:
2022-07-01  Ari Hannula  <ari.hannula@intel.com>

	* breakpoint.c (bkpt_print_it): Add new fields to the output.
	* mi/mi-interp.c (mi_on_normal_stop_1): Add new fields to output.
	* NEWS: Document changes.

gdb/doc/ChangeLog:
2022-07-01  Ari Hannula  <ari.hannula@intel.com>

	* gdb.texinfo: Add documentation of the new fields.

gdb/testsuite/ChangeLog:
2022-07-01  Ari Hannula  <ari.hannula@intel.com>

	* gdb.threads/simd-mi-bp.exp: Add support for new fields.
	* gdb.threads/simd-mi-next.exp: New file.
	* gdb.sycl/mi-async-bp.exp: Fixed.
	* lib/mi-support.exp: Add new function mi_next_extra.

gdb/ChangeLog:
2022-07-01  Ari Hannula  <ari.hannula@intel.com>

	* inferior.c (print_devices): Add MI output.
	* mi/mi-cmds.h: Declare new function for the command.
	* mi/mi-cmds.c: Define new command.
	* NEWS: Described the changes.

gdb/testsuite/ChangeLog:
2022-06-09  Ari Hannula  <ari.hannula@intel.com>

	* gdb.sycl/intelgt-mi-device-info.exp: Add tests.

gdb/doc/ChangeLog:
2022-06-13  Ari Hannula  <ari.hannula@intel.com>

	* gdb.texinfo: Add documentation of the -device-info command.

gdb/ChangeLog:
2022-06-08  Mohamed Bouhaouel  <mohamed.bouhaouel@intel.com>

	* intelgt-tdep.c (intelgt_dwarf2_prev_framedesc): New function.
	(intelgt_init_reg): Updated to handle $framedesc unwinding.

gdb/testsuite/ChangeLog:
2022-06-08  Mohamed Bouhaouel  <mohamed.bouhaouel@intel.com>

	* gdb.arch/intelgt-framedesc.exp: New file.
	* gdb.arch/intelgt-framedesc.cpp: New file.

gdb/ChangeLog:
2021-11-04  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* infrun.c (stop_all_threads): Consider TARGET_WAITKIND_UNAVAILABLE
	as a stop request result.

gdb/testsuite/ChangeLog:
2022-06-27  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* lib/mi-support.exp (mi_send_resuming_command_raw): Refactor
	the regexps to allow matching long output.

gdbserver/ChangeLog:
2021-11-03  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* intelgt-ze-low.cc (intelgt_ze_target::is_at_breakpoint):
	Extract out from...
	(intelgt_ze_target::prepare_thread_resume): ...here.

gdb/ChangeLog:
2021-11-15  Oguzhan Karakaya  <oguzhan.karakaya@intel.com>

	* python/lib/gdb/function/intelgt_auto_attach.py: Adapt to
	auto attach a running process.

gdb/ChangeLog:
2021-10-20  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* python/lib/gdb/function/intelgt_auto_attach.py: Adapt to use
	gdbserver-ze.

gdbserver/ChangeLog:
2022-06-23  Stephan Rohr  <stephan.rohr@intel.com>

	* ze-low.cc (ze_target::fetch_events): Ignore 'empty' module load
	and unload events.

gdbserver/ChangeLog:
2022-06-13  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* intelgt-ze-low.cc: Add device attributes to tdesc.

gdb/ChangeLog:
2022-04-20  Markus Metzger  <markus.t.metzger@intel.com>

	* intelgt-tdep.c (intelgt_dwarf_reg_to_regnum): add scrbase2, remove
	isabase, iobase, and dynbase; they do not have DWARF numbers.

gdbserver/ChangeLog:
2022-04-20  Markus Metzger  <markus.t.metzger@intel.com>

	* intelgt-ze-low.cc (intelgt_ze_target::add_regset): add scrbase2.

gdbserver/ChangeLog:
2020-11-26  Markus Metzger  <markus.t.metzger@intel.com>
	* ze-low.cc (ze_target::fetch_events): Handle
	ZET_DEBUG_EVENT_TYPE_MODULE_LOAD and
	ZET_DEBUG_EVENT_TYPE_MODULE_UNLOAD.
	(ze_target::ack_library): New.
	(ze_target::ack_in_memory_library): New.
	* ze-low.h (events_t): New typedef.
	(struct ze_device_info) <ack_pending>: New.
	(class ze_target)<ack_library, ack_in_memory_library>: New.

gdbserver/ChangeLog:
2022-01-25  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* ze-low.h (class ze_target) <supports_pid_to_exec_file,
	pid_to_exec_file>: New.

gdbserver/ChangeLog:
2021-07-21  Markus Metzger  <markus.t.metzger@intel.com>

	* intelgt-ze-low.cc (intelgt_ze_target::set_thread_stepping): New.
	(intelgt_ze_target::clear_thread_stepping): New.
	* ze-low.cc (ze_exec_state): New.
	(ze_clear_resume_state): New.
	(ze_set_resume_state): New.
	(ze_resume_state): New.
	(ze_resume): New.
	(ze_interrupt): New.
	(ze_target::attach): Interrupt in all-stop mode.
	(ze_target::resume): New.
	(ze_target::resume): Implement.
	(ze_target::wait): Implement.
	(ze_target::request_interrupt): Implement.
	(ze_target::pause_all): Implement.
	(ze_target::unpause_all): Implement.
	* ze-low.h (class ze_target)<resume>: New.
	(enum ze_thread_resume_state_t): New.
	(struct ze_thread_info)<resume_state>: New.

gdbserver/ChangeLog:
2021-07-07  Markus Metzger  <markus.t.metzger@intel.com>

	* ze-low.cc (ze_target::fetch_events): Implement
	ZET_DEBUG_EVENT_TYPE_THREAD_UNAVAILABLE event.

gdbserver/ChangeLog:
2021-05-04  Markus Metzger  <markus.t.metzger@intel.com>

	* intelgt-ze-low.cc
	(intelgt_ze_target::stopped_by_sw_breakpoint): Implement.

gdbserver/ChangeLog:
2021-05-05  Markus Metzger  <markus.t.metzger@intel.com>

	* intelgt-ze-low.cc (intelgt_ze_target::read_pc): Implement.
	(intelgt_ze_target::write_pc): Implement.

gdbserver/ChangeLog:
2021-05-12  Markus Metzger  <markus.t.metzger@intel.com>

	* intelgt-ze-low.cc (intelgt_read_cr0): New.
	(intelgt_write_cr0): New.
	(intelgt_ze_target::get_stop_reason): New.
	* ze-low.cc (ze_thread_in): New.
	(for_each_thread): New.
	(ze_discard_regcache): New.
	(ze_target::fetch_events): Implement thread stopped case.
	* ze-low.h (struct ze_thread_info)<stop_reason>: New.
	(class ze_target)<get_stop_reason>: New.

gdbserver/ChangeLog:
2021-05-06  Markus Metzger  <markus.t.metzger@intel.com>

	* ze-low.cc (ze_find_regset): New.
	(ze_fetch_all_registers): New.
	(ze_fetch_register): New.
	(ze_store_all_registers): New.
	(ze_store_register): New.
	(ze_target::fetch_registers): Implement.
	(ze_target::store_registers): Implement.

gdbserver/ChangeLog:
2020-11-24  Markus Metzger  <markus.t.metzger@intel.com>

	* ze-low.cc (ze_exec_state): New.
	(ze_thread_device): New.
	(ze_target::read_memory): Implement.
	(ze_target::write_memory): Implement.

gdbserver/ChangeLog:
2021-05-19  Markus Metzger  <markus.t.metzger@intel.com>

	* ze-low.cc (ze_show_process): New.
	(ze_hide_process): New.
	(ze_target::fetch_events): Implement process entry/exit events.

gdbserver/ChangeLog:
2020-11-24  Markus Metzger  <markus.t.metzger@intel.com>

	* ze-low.cc (ze_device_detached): New.
	(ze_target::fetch_events): Support ZET_DEBUG_EVENT_TYPE_DETACHED.
	(ze_target::wait): Support TARGET_WAITKIND_EXITED.

gdbserver/ChangeLog:
2020-11-18  Markus Metzger  <markus.t.metzger@intel.com>

	* ze-low.h (struct ze_thread_info)<waitstatus>: New.
	* ze-low.cc (ze_device_ptid): New.
	(ze_detach_reason_str): New.
	(ze_debug_info_format_str): New.
	(ze_event_str): New.
	(ze_ack_event): New.
	(ze_process_event): New.
	(ze_fetch_events): New.
	(ze_has_waitstatus): New
	(ze_move_waitstatus): New
	(ze_target::wait): Implement.

gdbserver/ChangeLog:
2020-11-11  Markus Metzger  <markus.t.metzger@intel.com>

	* ze-low.cc (level_zero_target::attach_to_device): Control attach
	behaviour via environment variables.

gdbserver/ChangeLog:
2021-04-15  Markus Metzger  <markus.t.metzger@intel.com>

	* arch/intelgt.h (feature_emask, feature_sr, feature_cr)
	(feature_ntf, feature_tdr, feature_ce, feature_sp, feature_tm)
	(feature_fc, feature_dbg, feature_sba): New.
	* intelgt-ze-low.cc: Include arch/intelgt.h.
	Include zet_intel_gpu_debug.h.
	(dprintf): New.
	(intelgt_uint_reg_type): New.
	(intelgt_add_regset): New.
	(intelgt_ze_target::is_device_supported): New.
	(intelgt_ze_target::create_tdesc): New.
	(intelgt_ze_target::add_regset): New.
	* ze-low.cc (dprintf): New.
	(uuid_str): New.
	(driver_uuid_str): New.
	(ze_target::attach_to_devices): New.
	(ze_target::attach_to_device): New.
	(ze_process_state_str): New.
	(ze_add_process): New.
	(ze_attach): New.
	(ze_target::attach): Implement.
	(ze_target::find_device): New.
	* ze-low.h (struct ze_device_info)<process>: New.
	(enum ze_process_state): New.
	(struct process_info_private): New.
	(struct ze_regset_info):
	(struct ze_device_info): New.
	(class ze_target)<is_device_supported>: New.
	(class ze_target)<create_tdesc>: New.
	(class ze_target)<find_device>: New.

gdbserver/ChangeLog:
2021-04-20  Markus Metzger  <markus.t.metzger@intel.com>

	* ze-low.cc (ze_target::thread_stopped): Implement.
	(ze_thread_id_component_str): New.
	(ze_thread_id_str): New.
	* ze-low.h (enum ze_thread_exec_state_t): New.
	(struct ze_thread_info)<exec_state>: New.
	(ze_thread): New.
	(ze_thread_id_all): New.
	(ze_thread_id): New.
	(ze_thread_id_str): New.
	(class ze_target):<supports_thread_stopped>: New.
	(class ze_target):<thread_stopped>: New.

gdbserver/ChangeLog:
2021-07-21  Markus Metzger  <markus.t.metzger@intel.com>

	* ze-low.cc (ze_is_async): New.
	(ze_async_flush): New.
	(ze_async_mark): New.
	(ze_target::async): New.
	* ze-low.h (class ze_target)<async>: New.

ChangeLog:
2020-10-14  Markus Metzger  <markus.t.metzger@intel.com>

	* config.sub: Add zebin as os type.

gdbserver/ChangeLog:
2020-10-14  Markus Metzger  <markus.t.metzger@intel.com>

	* configure.ac: Check for libze_loader.
	Restrict libigfxdbg requirement to intelgt-*-elf targets.
	* configure.srv: Add intelgt-*-zebin target.
	* configure: Regenerated.
	* config.in: Regenerated.
	* intelgt-ze-low.cc: New file.
	* ze-low.cc: New file.
	* ze-low.h: New file.

gdb/ChangeLog:
2021-07-13  Markus Metzger  <markus.t.metzger@intel.com>

	* intelgt-tdep.c (intelgt_active_lanes_mask): Call
	regcache_cooked_read_unsigned.

gdb/ChangeLog:
2022-01-25  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* remote.c (remote_target::process_stop_reply): Handle a generic
	process PID.

gdb/ChangeLog:
2022-04-28  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* remote.c (remote_target::remote_notice_new_inferior): Return
	if 'currthread' is a pid.

gdb/ChangeLog:
2022-04-28  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* remote.c (remote_target::remote_notice_new_inferior): Do
	'remote_add_inferior' earlier.

gdb/ChangeLog:
2022-03-21  Natalia Saiapova  <natalia.saiapova@intel.com>

	* thread.c (simd_width_make_value): New convenience variable
	computation.
	(simd_width_funcs) Implementation of $_simd_width.
	(_initialize_thread): Define $_simd_width.

gdb/testsuite/ChangeLog:
2022-03-23  Natalia Saiapova  <natalia.saiapova@intel.com>

	* gdb.base/default.exp: Test $_simd_width.
	* gdb.threads/simd-width.exp: New file.

gdb/ChangeLog:
2022-04-29  Oguzhan Karakaya  <oguzhan.karakaya@intel.com>

	* intelgt-tdep.c (intelgt_active_lanes_mask): Mask the emask
	register value with the dispatch mask.

gdbserver/ChangeLog:
2022-05-04  Oguzhan Karakaya  <oguzhan.karakaya@intel.com>

	* intelgt-low.cc (add_new_gt_process): Add sr0 to the expedite
	registers.

gdb/testsuite/ChangeLog:
2022-06-02  Natalia Saiapova  <natalia.saiapova@intel.com>

	* gdb.sycl/call-stack.cpp (second): Make the inner stack deeper
	and introduce `third` and `fourth` functions.
	* gdb.sycl/call-stack.exp: Extend tests to test a deeper call
	stack.  Add backtrace tests at every instruction of the
	innermost frame.
	* gdb.sycl/infcall.exp: Update test with new values.
	* gdb.sycl/info-locals-and-args.exp: Update test with new values.

gdb/ChangeLog:
2022-05-20  Christina Schimpe  <christina.schimpe@intel.com>

	* thread.c (thread_apply_all_command_1):
        Switch to thread if not already selected.

gdb/testsuite/ChangeLog
2022-06-01  Christina Schimpe  <christina.schimpe@intel.com>

	* gdb.threads/simd-thread-apply.exp: Add test.

gdb/testsuite/ChangeLog:
2022-05-16  Mohamed Bouhaouel  <mohamed.bouhaouel@intel.com>

	* gdb.sycl/call-operator.exp: New file.

gdb/testsuite/ChangeLog:
2021-11-11  Nils-Christian Kempke  <nils-christian.kempke@intel.com>

	* gdb.sycl/intelgt-info-devices.exp: New test.
	* gdb.sycl/intelgt-info-devices-multi-device.exp: New test.
	* gdb.sycl/intelgt-info-inferiors.exp: New test.
	* gdb.sycl/intelgt-info-inferiors-multi-device.exp: New test.

gdb/ChangeLog:
2021-11-22  Nils-Christian Kempke  <nils-christian.kempke@intel.com>

	* cli/cli-utils.c (number_is_in_list): Add extra error message
	case for index zero in list.

gdb/testsuite/ChangeLog:
2021-11-22  Nils-Christian Kempke  <nils-christian.kempke@intel.com>

	* gdb.base/info-inferior.exp: New test.

gdb/ChangeLog:
2021-11-09  Nils-Christian Kempke  <nils-christian.kempke@intel.com>

	* intel-tdep.c (intelgt_gdbarch_init): Mark intelgt inferiors as
	devices.

gdbserver/ChangeLog:
2021-11-09  Nils-Christian Kempke  <nils-christian.kempke@intel.com>

	* intelgt-low.cc (convert_pci_slot_to_string): New method.
	(create_target_description): Extend target description for
	info devices command.

gdb/ChangeLog:
2021-11-09  Nils-Christian Kempke  <nils-christian.kempke@intel.com>

	* inferior.c (inferior_pid_to_str): Adjust output for devices.
	(print_inferior): Increase size of 'description' column.

gdb/doc/ChangeLog:
2021-11-09  Nils-Christian Kempke  <nils-christian.kempke@intel.com>

	* gdb.texinfo (Inferiors Connections and Programs): Document the
	changes to the info inferiors command for devices.

gdb/ChangeLog:
2021-11-09  Nils-Christian Kempke  <nils-christian.kempke@intel.com>

	* inferior.h (process_target): New const getter method.

gdb/testsuite/ChangeLog:
2022-04-19  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* lib/mi-support.exp (mi_expect_stop): Account for long output
	by consuming lines in smaller batches.

gdb/testsuite/ChangeLog:
2022-03-21  Mohamed Bouhaouel  <mohamed.bouhaouel@intel.com>

	* gdb.sycl/bitfields-packed.cpp: New file.
	* gdb.sycl/bitfields-packed.exp: New file.

gdb/testsuite/ChangeLog:
2022-03-21  Oguzhan Karakaya  <oguzhan.karakaya@intel.com>

	* lib/sycl.exp: Add new function to determine the first stopped
	thread that is not filtered by given list of IDs to ignore
	* gdb.threads/simd-info-threads.exp: Use function provided
	in lib/sycl.exp to determine the second thread
	* gdb.threads/simd-bp-multi-lane.exp: Use function provided
        in lib/sycl.exp to determine the second thread
	* gdb.threads/simd-thread.exp: Use function provided
	in lib/sycl.exp to determine the second thread
	* gdb.threads/simd-bp.exp: Use function provided
        in lib/sycl.exp to determine the second and the third thread

gdb/testsuite/ChangeLog:
2022-03-14  Natalia Saiapova  <natalia.saiapova@intel.com>

	* lib/mi-support.expi (mi_expect_stop): Allow additional output
	between inferior normal exit event and MI prompt.

gdb/testsuite/ChangeLog:
2022-02-15  Natalia Saiapova  <natalia.saiapova@intel.com>

	* gdb.sycl/mi-async-bp.exp: New file.

gdb/testsuite/ChangeLog:
2022-02-15  Natalia Saiapova  <natalia.saiapova@intel.com>

	* lib/mi-support.exp (mi_send_resuming_command_raw): Allow
	multiple entries of "running,thread-id=..." in regex after
	sending a resuming command.

gdb/ChangeLog:
2022-01-31  Nils-Christian Kempke  <nils-christain.kempke@intel.com>

	* python/lib/gdb/function/intelgt_auto_attach.py
	(enable_schedule_multiple_at_gt_removal): New member for marking
	whether we have to re-enable the schedule-multiple feature.
	(remove_gt_inf_if_stored_for_removal): Re-enable
	schedule-multiple if it was disabled on host exit.
	(handle_exited_event): Disable schedule-multiple on host exit.

gdb/ChangeLog:
2022-01-05  Nils-Christian Kempke  <nils-christian.kempke@intel.com>

	* python/lib/gdb/function/intelgt_auto_attach.py:
	(remove_gt_inf_if_stored_for_removal): New function.
	(handle_before_prompt_event): Move deletion of gt inferiors
	for marked host inferiors to separate function and call it.
	(handle_exit_event): Call remove_gt_inf_if_stored_for_removal
	instead of handle_before_prompt_event.
	(init_gt_inferiors): Call remove_get_inf_if_stored_for_removal
	before trying to initialze new gt inferiors.

gdb/ChangeLog:
2021-03-18  Eduard Sargsyan  <eduard.sargsyan@intel.com>

	* regcache.c (regcache::raw_write): Add check for pointer validity.

gdb/testsuite/ChangeLog:
2022-03-21  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.sycl/work-item-index2.exp: New file.

gdb/ChangeLog:
2022-03-11 Ari Hannula <ari.hannula@intel.com>

	* python/lib/gdb/function/intelgt_auto_attach.py: Do not send
	"continue" in Eclipse at the hook breakpoint hit.

gdb/ChangeLog:
2022-02-04  Stephan Rohr  <stephan.rohr@intel.com>

	* python/lib/gdb/function/intelgt_auto_attach.py: Catch and handle the
	'KeyboardInterrupt' exception.

gdb/testsuite/ChangeLog:
2022-02-12  Eduard Sargsyan  <eduard.sargsyan@intel.com>

	* gdb.sycl/multi-device-parallel-for-1D.cpp: New file.
	* gdb.sycl/multi-device-parallel-for-1D.exp: New file.
	* gdb.sycl/multi-device-parallel-for-1D-disable-bp.exp: New file.

gdb/ChangeLog:
2022-01-28  Eduard Sargsyan  <eduard.sargsyan@intel.com>

	* intelgt-tdep.c (intelgt_gdbarch_init): Set `can_leave_breakpoints` to
	true.

gdb/testsuite/ChangeLog:
2022-02-16  Eduard Sargsyan  <eduard.sargsyan@intel.com>

	* gdb.arch/intelgt-always-insert.cpp: New file.
	* gdb.arch/intelgt-always-insert.cxp: New file.

gdb/testsuite/ChangeLog:
2022-02-02  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.sycl/optimized-kernel.exp: New file.

gdb/testsuite/ChangeLog:
2022-03-22  Nils-Christian Kempke  <nils-christian.kempke@intel.com>

	* gdb.openmp/intelgt-auto-attach.exp: New procedure for restart
	scenario, ran in all-stop and non-stop mode.
	* gdb.sycl/intelgt-auto-attach.exp: New procedure for restart
        scenario, ran in all-stop and non-stop mode.

gdb/testsuite/ChangeLog:
2022-01-31  Nils-Christian Kempke  <nils-christian.kempke@intel.com>

	* gdb.sycl/intelgt-auto-attach: Add restart scenario and prefix
	both restart tests.
	* gdb.openmp/intelgt-auto-attach: Add restart scenario and
	prefix both restart tests.

gdb/testsuite/ChangeLog:
2022-02-14  Nils-Christian Kempke  <nils-christian.kempke@intel.com>

	* gdb.sycl/intelgt-auto-attach: Add restart scenario.
	* gdb.openmp/intelgt-auto-attach: Add restart scenario.

gdbserver/ChangeLog:
2022-02-14  Nils-Christian Kempke  <nils-christian.kempke@intel.com>

	* intelgt-low.cc (supports_run_command): New method.

gdbserver/ChangeLog:
2022-02-14  Nils-Christian Kempke  <nils-christian.kempke@intel.com>

	* server.cc (handle_query): Return vRun and R not supported when
	not supported by target.
	(handle_v_requests): Only execute when supported by target.
	(process_serial_event): Only execute restart when supported by
	target.
	* target.cc (supports_run_command): New method, true by default.
	* target.h (supports_run_command): New method.

gdb/testsuite/ChangeLog:
2021-12-23  Nils-Christian Kempke  <nils-christian.kempke@intel.com>

	* gdb.server/extended-remote-disable-run-command.exp: New file.

gdbserver/ChangeLog:
2021-12-23  Nils-Christian Kempke  <nils-christian.kempke@intel.com>

	* server.cc (handle_query): Handle vRun and R queries.
	(handle_v_requests): Only execute vRun when not disabled.
	(process_serial_event): Only execute restart when not
	disabled.
	(captured_main): Add support for --disable-packet=vRun and
	--disable-packet=R.
	(gdbserver_show_disableable): Add R and vRun packet.
	* server.cc (gdbserver_usage): Add R and vRun packet.
	* server.h: Add disable_packet_R and disable_packet_vRun
	as new members to server.

gdb/ChangeLog:
2021-12-23  Nils-Christian Kempke  <nils-christian.kempke@intel.com>

	* remote.c (can_create_inferior): Make dependent on the support
	status of PACKET_vRun and PACKET_R.
	(extended_remote_restart): Do not restart the extended remote
	when PACKET_R has been disabled.
	(remote_query_supported): Add vRun and R packet to the queried
	packets.
	(struct remote_protocol_features): Add vRun and R packet.
	(_initialize_remote): Add R packet to packets that can be
	modified by the user on host side.

gdb/ChangeLog:
2021-12-06  Cristian Sandu  <cristian.sandu@intel.com>

	* gdb/thread.c: Change width of thread id field according to
	number of active lanes.

gdb/ChangeLog:
2021-12-01  Natalia Saiapova  <natalia.saiapova@intel.com>

	* intelgt-tdep.c (intelgt_dwarf_reg_to_regnum): For SBA regset
	first find the corresponding name, and then find regnum using
	the name.

gdb/testsuite/ChangeLog:
2021-10-26  Sandu Cristian  <cristian.sandu@intel.com>

	* gdb.openmp/derived-type-striding.exp: New file.
	* gdb.openmp/derived-type-striding.f90: New file.

gdb/testsuite/ChangeLog:
2021-10-25  Sandu Cristian  <cristian.sandu@intel.com>

	* gdb.openmp/derived-type-function.exp: New file.
	* gdb.openmp/derived-type-function.f90: New file.

gdb/testsuite/ChangeLog:
2021-10-21  Sandu Cristian  <cristian.sandu@intel.com>

	* gdb.openmp/vla-array.exp: New file.
	* gdb.openmp/vla-array.f90: New file.

gdb/testsuite/ChangeLog:
2021-10-19  Sandu Cristian  <cristian.sandu@intel.com>

	* gdb.openmp/module.exp: New file.
	* gdb.openmp/module.f90: New file.

gdb/testsuite/ChangeLog:
2021-10-08  Sandu Cristian  <cristian.sandu@intel.com>

	* gdb.openmp/mixed-lang-stack.exp: New file.
	* gdb.openmp/mixed-lang-stack.f90: New file.
	* gdb.openmp/mixed-lang-stack.cpp: New file.

gdb/testsuite/ChangeLog:
2021-03-03  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.sycl/multi-device-single-task.cpp: New file.
	* gdb.sycl/multi-device-single-task.exp: New file.

gdb/ChangeLog:
2021-11-05  Abdul Basit Ijaz  <abdul.b.ijaz@intel.com>

	* arch-utils.c (gdbarch_get_intelgt_lookup_initialized_tdesc): New.

gdb/testsuite/ChangeLog:
2021-10-18  Mohamed Bouhaouel  <mohamed.bouhaouel@intel.com>

	* gdb.sycl/kernel-jump.exp: New file.

gdb/ChangeLog:
2021-08-31  Natalia Saiapova  <natalia.saiapova@intel.com>

	* intelgt-tdep.c (defined): use device info to select IGA
	version.

gdbserver/ChangeLog:
2021-08-31  Natalia Saiapova  <natalia.saiapova@intel.com>

	* intelgt-low.cc (create_target_description): New argument
	GTDeviceInfo.

gdb/ChangeLog:
2021-11-23  Cristian Sandu  <cristian.sandu@intel.com>

	* mi/mi-cmd-stack.c: Add shadowed variable attribute.
	* printcmd.c: Add shadowed variable print.

gdb/doc/ChangeLog:
2021-11-23  Cristian Sandu  <cristian.sandu@intel.com>

	* gdb.texinfo: Update with shadowed variable line info.

gdb/testsuite/ChangeLog:
2021-11-23  Cristian Sandu  <cristian.sandu@intel.com>

	* gdb.base/var-shadowing.c: Add new comments to
	refer lines.
	* gdb.base/var-shadowing.exp: Change test cases to
	support the shadowed variable print feature.
	* gdb.mi/mi-var-shadowing.c: Add new comments to
	refer lines.
	* gdb.mi/mi-var-shadowing.exp: Change test cases to
	support the shadowed variable print feature.
	* gdb.mi/mi2-amd64-entry-value.c: Add new comments to
	refer lines.
	* gdb.mi/mi2-amd64-entry-value.exp: Change test cases to
	support the shadowed variable print feature.
	* gdb.openmp/call-stack.cpp: Add new comments to
	refer lines.
	* gdb.opt/inline-locals.c: Add new comments to
	refer lines.
	* gdb.opt/inline-locals.exp: Change test cases to
	support the shadowed variable print feature.
	* gdb.trace/entry-values.exp: Change test cases to
	support the shadowed variable print feature.

gdb/ChangeLog:
2021-07-21  Abdul Basit Ijaz  <abdul.b.ijaz@intel.com>

	* mi/mi-cmd-stack.c (list_arg_or_local): Print shadowed field
	with value true after the value of super-block variable in
	case of variable shadowing.
	(list_args_or_locals): Declare unordered_set type object and
	pass it to function 'list_arg_or_local'.

gdb/testsuite/ChangeLog:
2021-07-21  Abdul Basit Ijaz  <abdul.b.ijaz@intel.com>

	* gdb.mi/mi2-amd64-entry-value.exp: Update regex expressions for
	testing '-stack-list-variables' mi command output to handle shadowed
	field.
	* gdb.trace/entry-values.exp: Ditto.
	* gdb.mi/mi-var-shadowing.c: New file.
	* gdb.mi/mi-var-shadowing.exp: New file.

gdb/ChangeLog:
2021-07-05  Mihails Strasuns  <mihails.strasuns@intel.com>

	* intelgt-tdep.c (intelgt_pseudo_register_name): New function.
	(intelgt_pseudo_register_type): New function.
	(intelgt_pseudo_register_read_value): New function.
	(intelgt_pseudo_register_write): New function.
	(intelgt_gdbarch_init): Enhance initialization
	with pseudo-register method support.

gdbserver/ChangeLog:
2021-07-05  Mihails Strasuns  <mihails.strasuns@intel.com>

	* intelgt-low.cc (create_target_description): do not provide
	sp feature.
	(add_new_gt_process): stop expediting "sp" register

gdb/testsuite/ChangeLog:
2021-07-01  Matti Puputti  <matti.puputti@intel.com>

	* gdb.sycl/ptype.cpp: New file.
	* gdb.sycl/ptype.exp: New file.

gdbserver/ChangeLog:
2021-05-11  Felix Willgerodt  <felix.willgerodt@intel.com>

	* remote-utils.cc (decode_search_memory_packet): Add new addr_space
	argument and enable decoding it.
	* remote-utils.h (decode_search_memory_packet): Add new addr_space
	argument.
	* server.cc (handle_search_memory): Enable decoding different
	address spaces.

gdb/ChangeLog:
2021-05-11  Felix Willgerodt  <felix.willgerodt@intel.com>

	* intelgt-tdep.c (intelgt_address_space_from_type_flags): New.
	(intelgt_gdbarch_init): Call set_gdbarch_address_space_from_type_flags.

gdb/ChangeLog:
2021-05-11  Felix Willgerodt  <felix.willgerodt@intel.com>

	* remote.c (PACKET_multi_address_space_feature): New enum value.
	(remote_multi_address_space_p): New function.
	(remote_protocol_features): Add multi_addr_space.
	(remote_target::remote_query_supported): Same.
	(_initialize_remote): Same.

gdb/doc/ChangeLog:
2021-05-11  Felix Willgerodt  <felix.willgerodt@intel.com>

	* gdb.texinfo (Debugging Remote Programs)
	(Remote Serial Protocol): Document multi-address-space extensions.

gdbserver/ChangeLog:
2021-05-11  Felix Willgerodt  <felix.willgerodt@intel.com>

	* server.cc (handle_query): Handle multi-address-space.
	* server.h (client_state): Add multi_addr_space.

gdb/ChangeLog:
2021-05-11  Felix Willgerodt  <felix.willgerodt@intel.com>

	* intelgt-tdep.c (INTELGT_TYPE_INSTANCE_FLAG_SLM): New define.
	(INTELGT_SLM_ADDRESS_QUALIFIER): Same
	(intelgt_address_class_type_flags_to_name): New.
	(intelgt_address_class_name_to_type_flags): New.
	(intelgt_gdbarch_init): Set the new functions.

gdb/testsuite/ChangeLog:
2021-05-25  Natalia Saiapova  <natalia.saiapova@intel.com>

	* gdb.sycl/return-value.cpp: New test.
	* gdb.sycl/return-value.exp: New file.

gdb/ChangeLog:
2021-05-17  Natalia Saiapova  <natalia.saiapova@intel.com>

	* gdb/arch/intelgt.c (class arch_info_gen9):
	(arch_info_gen9::retval_regnum): New method.
	* gdb/arch/intelgt.h (class arch_info):
	(arch_info::retval_regnum): New virtual method.
	* gdb/intelgt-tdep.c (intelgt_return_value): Implementation of
						     gdbarch's return_value method.
	(intelgt_gdbarch_init): Set gdbarch_return_value for intelgt.

gdb/testsuite/ChangeLog:
2021-05-12  Natalia Saiapova  <natalia.saiapova@intel.com>

	* gdb.sycl/call-stack-work-group.cpp: New test.
	* gdb.sycl/call-stack-work-group.exp: New file.

gdb/testsuite/ChangeLog:
2021-05-12  Natalia Saiapova  <natalia.saiapova@intel.com>

        * gdb.sycl/call-stack.cpp (main): Remove unnecessary parameter.
        * gdb.sycl/call-stack.exp: Test various configurations of call
	stack.  Test last instructions of a function.

gdb/ChangeLog:
2021-05-12  Natalia Saiapova  <natalia.saiapova@intel.com>

	* intelgt-tdep.c (intelgt_gdbarch_init): Use core_addr_greaterthan
	to detect inner frames.

gdb/ChangeLog:
2021-05-12  Natalia Saiapova  <natalia.saiapova@intel.com>

	* intelgt-tdep.c (intelgt_skip_prologue): New function.

gdb/testsuite/ChangeLog:
2021-05-31  Abdul Basit Ijaz  <abdul.b.ijaz@intel.com>

	* gdb.perf/lib/perftest/measure.py: Replace time.clock()
	with time.perf_counter() to support Python 3.9 and update
	cpu clock time measurement to milliseconds.
	* gdb.perf/lib/perftest/reporter.pyy: Update cpu time unit
	to milliseconds.
	* gdb.perf/sycl-breakpoint.exp: New file.
	* gdb.perf/sycl-breakpoint.py: New file.
	* gdb.perf/sycl-falsecondbp.exp: New file.
	* gdb.perf/sycl-falsecondbp.py: New file.
	* gdb.perf/sycl-parallel.cpp: New file.
	* gdb.perf/sycl-step.exp: New file.
	* gdb.perf/sycl-step.py: New file.
	* gdb.perf/sycl-thread.exp: New file.
	* gdb.perf/sycl-thread.py: New file.

gdb/ChangeLog:
2021-04-30  Aleksandar Paunovic  <aleksandar.paunovic@intel.com>

        * infrun.c (keep_going_stepped_thread): Do not resume an
	already executing thread.

gdb/testsuite/ChangeLog:
2021-04-30  Aleksandar Paunovic  <aleksandar.paunovic@intel.com>

	* gdb.base/breakpoint-running-inferior.exp: Add a start_step
	function check.

gdb/ChangeLog:
2021-04-30  Aleksandar Paunovic  <aleksandar.paunovic@intel.com>

	* infrun.c (keep_going_stepped_thread): Switch to correct
	inferior and check if thread is executing.

gdb/testsuite/ChangeLog:
2021-04-30  Aleksandar Paunovic  <aleksandar.paunovic@intel.com>

	* gdb.base/breakpoint-running-inferior-1.c: New file.
	* gdb.base/breakpoint-running-inferior-2.c: New file.
	* gdb.base/breakpoint-running-inferior.exp: New file.

gdb/ChangeLog:
2021-05-05  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* infcmd.c (setup_inferior): Use inferior's pid instead of
	inferior_ptid.

gdb/ChangeLog:
2021-05-05  Mihails Strasuns  <mihails.strasuns@intel.com>

	* features/intelgt-arf11.xml, features/intelgt-arf12.xml,
	  features/intelgt-arf9.xml, features/intelgt-debug.xml:
	  Move iemask/emask definition to the debug feature.
	* features/intelgt-arf11.c, features/intelgt-arf12.c,
	  features/intelgt-arf9.c, features/intelgt-debug.c:
	  Regenerated.
	* arch/intelgt.c: Adapt to new register order.

gdb/ChangeLog:
2021-04-29  Mihails Strasuns  <mihails.strasuns@intel.com>

	* arch/intelgt.h (arch_info): New fields/methods for debug regs.
	* arch/intelgt.c (arch_info_gen9): Extend implementation for
	  the debug regs.
	* features/intelgt-debug.c: New file.
	* features/intelgt-debug.xml: New file.
	* features/Makefile (FEATURE_XMLFILES): Add
	  features/intelgt-debug.xml.
	* intelgt-tdep.c: Support for the new feature file and reg
	  numbers.

gdb/gdbserver/ChangeLog:
2021-04-29  Mihails Strasuns  <mihails.strasuns@intel.com>

	* configure.srv: Add intelgt-debug.xml.
	* intelgt-low.cc: Add new feature file support.

gdbserver/ChangeLog:
2021-05-05  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* server.cc (handle_v_attach):

gdb/testsuite/ChangeLog:
2022-07-04  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.threads/simd-thread-apply.exp: Revise the test to not
	have fixed thread ids.

gdb/ChangeLog:
2021-04-28  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* target.h: Update the comment to mention the semantics for
	the empty string as the return value.
	* exec.c (exec_file_locate_attach): Check for empty string.

gdb/ChangeLog:
2021-04-27  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* inferior.c (remove_inferior_with_number): New function, extracted
	out from...
	(remove_inferior_command): ...this.

gdb/ChangeLog:
2021-03-09  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* remote.c (remote_target::remote_notice_new_inferior): Mark
	newly noticed inferior as 'needs_setup'.

gdb/testsuite/ChangeLog:
2021-03-16  Matti Puputti  <matti.puputti@intel.com>

	* gdb.sycl/bp-at-last-line.exp: New file.
	* gdb.sycl/bp-at-last-line.cpp: New file.

gdb/testsuite/ChangeLog:
2021-03-15  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.sycl/intelgt-no-sched-multi.exp: New file.

gdb/testsuite/ChangeLog:
2020-12-16  Natalia Saiapova  <natalia.saiapova@intel.com>

	* gdb.sycl/step-inline.cpp: New test.
	* gdb.sycl/step-inline.exp: New file.

gdb/ChangeLog:
2021-03-01  Matti Puputti  <matti.puputti@intel.com>

	* linespec.c (add_matching_symbols_to_info): search inlined functions
	with filename.

gdb/testsuite/ChangeLog:
2021-03-01  Matti Puputti  <matti.puputti@intel.com>

	* gdb.sycl/break-with-filename.exp: Add tests for setting a breakpoint
	in kernel using file and function names.

gdb/testsuite/ChangeLog:
2021-02-04  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.sycl/intelgt-resume-in-other-context.exp: New file.

gdb/testsuite/ChangeLog:
2020-11-25  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.arch/intelgt-program-bp.exp: New file.

gdb/testsuite/ChangeLog:
2020-12-03  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.sycl/break-at-kernel-symbol.exp: New file.

gdb/testsuite/ChangeLog:
2020-10-29  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.sycl/intelcpu-ocl-var.exp: New file.

gdb/testsuite/ChangeLog:
2020-10-08  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.sycl/unified-shared-memory.cpp: New file.
	* gdb.sycl/unified-shared-memory.exp: New file.

gdb/testsuite/ChangeLog:
2020-10-21  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.sycl/intelgt-run-tui.exp: New file.

gdb/ChangeLog:
2020-10-20  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* regcache.c (readable_regcache::raw_read): Return REG_UNAVAILABLE
	if raw_update raises NOT_AVAILABLE_ERROR.

gdb/ChangeLog:
2020-09-11  Natalia Saiapova  <natalia.saiapova@intel.com>

	* mi/mi-main.c (mi_cmd_thread_select): Set a specified SIMD
	lane.
	(mi_execute_command): Add notification when SIMD lane is
	changed.
	(mi_cmd_execute): If SIMD lanes is specified and valid, set
	this lane in the selected thread.  If a user skips thread ID,
	the current thread is taken.
	* mi/mi-parse.c (mi_parse::mi_parse): Initialize simd_lane.
	(mi_parse): Parse simd_lane.
	* mi/mi-parse.h (struct mi_parse) <simd_lane>: New int field.
	* thread.c (thread_command): Add notification on SIMD lane
	change.

gdb/ChangeLog:
2020-09-10  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* observable.h (about_to_proceed): Add a boolean 'step' parameter.
	* breakpoint.c (breakpoint_about_to_proceed): Adjust for the new
	'step' parameter.
	* infrun.c (clear_proceed_status): Ditto.
	* mi/mi-interp.c (mi_about_to_proceed): Ditto.

gdbsupport/ChangeLog:
2020-09-15  Mihails Strasuns  <mihails.strasuns@intel.com>

	* scope-exit.h (~scope_exit_base): Add a catch-all statement.

gdb/ChangeLog:
2020-08-10  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* arch/intelgt.h (enum class reg_group) <Mme>: New enum case.
	(class arch_info): Add `num_mmes` parameter to the constructor.
	<mme_reg_count>: New method declaration.
	<num_mmes>: New field.
	* arch/intelgt.c (arch_info::arch_info): Update the parameters.
	(arch_info::mme_reg_count): New method implementation.
	(arch_info_gen9::arch_info_gen9): Update.
	* features/intelgt-arf9.xml: Add the 'mme' registers.
	* features/intelgt-arf11.xml: Ditto.
	* features/intelgt-arf12.xml: Ditto.
	* features/intelgt-arf9.c: Regenerate.
	* features/intelgt-arf11.c: Regenerate.
	* features/intelgt-arf12.c: Regenerate.
	* intelgt-tdep.c (intelgt_dwarf_reg_to_regnum): Handle the 'mme'
	registers.

gdbserver/ChangeLog:
2020-08-10  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* intelgt-low.cc (igfxdbg_reg_type): Handle the 'Mme' type.

gdb/testsuite/ChangeLog:
2020-08-10  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.arch/intelgt-info-reg.exp: Extend the test for MME registers.

gdb/testsuite/ChangeLog:
2020-08-17  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.sycl/scheduler-locking.exp: New file.

gdb/ChangeLog:
2020-08-07  Markus Metzger  <markus.t.metzger@intel.com>

	* breakpoint.c (bpstat_do_actions_1): Do not switch lanes for
	non-breakpoint stops.

gdb/testsuite/ChangeLog:
2020-07-02  Markus Metzger  <markus.t.metzger@intel.com>

	* gdb.sycl/simd-locations.cpp: New test.
	* gdb.sycl/simd-locations.exp: New file.
	* lib/gdb.exp (gdb_test_expr_eq): New.
	* lib/sycl.exp (current_thread_has_simd_lanes): New.

gdb/ChangeLog:
2020-08-05  Markus Metzger  <markus.t.metzger@intel.com>

	* valarith.c (value_subscripted_rvalue): Also exclude lval_computed.

gdb/ChangeLog:
2020-08-05  Markus Metzger  <markus.t.metzger@intel.com>

	* value.c (value_from_component): Remove VALUE_LVAL check.

gdb/ChangeLog:
2020-07-30  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* arch/intelgt.h (class arch_info): Add 3 new parameters to the
	constructor.
	<num_addresses, num_accumulators, num_flags>: New fields.
	<address_reg_count, acc_reg_count, flag_reg_count>: New method
	declarations.
	* arch/intelgt.c (arch_info::arch_info): Update the ctor
	implementation.
	(arch_info::address_reg_count)
	(arch_info::acc_reg_count)
	(arch_info::flag_reg_count): New method implementation.
	(arch_info_gen9::arch_info_gen9): Update the call to base class
	constructor.
	* intelgt-tdep.c (intelgt_dwarf_reg_to_regnum): New function.
	(intelgt_gdbarch_init): Set the 'dwarf2_reg_to_regnum' gdbarch op.

gdb/ChangeLog:
2020-04-28  Markus Metzger  <markus.t.metzger@intel.com>

	* arch/intelgt.c (class arch_info_gen9)<breakpoint_inst>
	<breakpoint_inst_length>: Remove.
	(arch_info_gen9::breakpoint_inst): Remove.
	(arch_info_gen9::breakpoint_inst_length): Remove.
	* arch/intelgt.h (class arch_info)<breakpoint_inst>
	<breakpoint_inst_length>: Remove.

gdb/ChangeLog:
2020-05-05  Markus Metzger  <markus.t.metzger@intel.com>

	* intelgt-tdep.c (intelgt_sw_breakpoint_from_kind): Return nullptr.

gdb/ChangeLog:
2020-05-06  Markus Metzger  <markus.t.metzger@intel.com>

	* intelgt-tdep.c (intelgt_program_breakpoint_here_p): New.
	(intelgt_gdbarch_init): Call set_gdbarch_program_breakoint_here_p.

gdb/ChangeLog:
2020-05-05  Markus Metzger  <markus.t.metzger@intel.com>

	* intelgt-tdep.c (intelgt_memory_insert_breakpoint): New.
	(intelgt_memory_remove_breakpoint): New.
	(intelgt_gdbarch_init): Set memory_insert_breakpoint and
	memory_remove_breakpoint gdbarch methods.

gdb/testsuite/ChangeLog:
2020-05-06  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.sycl/ns-break-single.exp: New file.
	* gdb.sycl/ns-individual-continue.exp: New file.
	* gdb.sycl/ns-interrupt.exp: New file.
	* gdb.sycl/ns-run-to-termination.exp: New file.
	* gdb.sycl/parallel-for-branch.cpp: New file.
	* lib/sycl.exp: Query the non-stop mode and take action
	accordingly.

gdb/ChangeLog:

2020-04-28  Markus Metzger  <markus.t.metzger@intel.com>

	* arch/intelgt.c (class arch_info_gen9)<inst_length>: New.
	(class arch_info_gen9)<inst_length_compacted, inst_length_full>:
	Declare const.
	(arch_info_gen9::inst_length_compacted): Declare const.
	(arch_info_gen9::inst_length_full): Declare const.
	(arch_info_gen9::inst_length): New.
	* arch/intelgt.h (class arch_info)<inst_length>: New.
	(class arch_info)<inst_length_compacted, inst_length_full>: Declare
	const.

gdb/ChangeLog:

2020-04-28  Markus Metzger  <markus.t.metzger@intel.com>

	* arch/intelgt.c (class arch_info_gen9)<set_breakpoint>
	<clear_breakpoint, has_breakpoint, breakpoint_bit_offset>: Declare.
	(class arch_info_gen9)<is_compacted_inst>: Declare const.
	(get_inst_bit): New.
	(set_inst_bit): New.
	(clear_inst_bit): New.
	(arch_info_gen9::is_compacted_inst): Declare const.
	(arch_info_gen9::set_breakpoint): New.
	(arch_info_gen9::clear_breakpoint): New.
	(arch_info_gen9::has_breakpoint): New.
	(arch_info_gen9::breakpoint_bit_offset): New.
	* arch/intelgt.h (class arch_info)<set_breakpoint, clear_breakpoint>
	<has_breakpoint, breakpoint_bit_offset>: Declare.
	MAX_INST_LENGTH: New.
	(class arch_info)<is_compacted_inst>: Declare const.

gdb/ChangeLog:
2020-05-27  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* remote.c (remote_notif_stop_parse): Use magic_null_ptid for the
	stop-reply's ptid if multi-process extensions are not available
	and the received event is an exit event.

gdb/testsuite/ChangeLog:
2020-05-29  Natalia Saiapova  <natalia.saiapova@intel.com>

	* gdb.threads/simd-bp.exp: Update.
	* gdb.threads/simd-commands.exp: Update.

gdb/ChangeLog:
2020-05-13  Natalia Saiapova  <natalia.saiapova@intel.com>
        * thread.c (thread_apply_all_command): Update.
        (thread_apply_all_command_1): New helper function.
        (thread_apply_all_lanes_command): New command.

gdb/doc/ChangeLog:
2020-05-13  Natalia Saiapova  <natalia.saiapova@intel.com>
        * gdb.texinfo: Describe new command `thread apply all-lanes'.

gdb/testsuite/ChangeLog:
2020-05-13  Natalia Saiapova  <natalia.saiapova@intel.com>
        * gdb.threads/simd-thread-apply.exp: Add tests for `thread apply
        all-lanes'

gdb/ChangeLog:
2020-05-13  Natalia Saiapova  <natalia.saiapova@intel.com>
	* thread.c (struct tp_emask): New struct.
	(tp_array_compar_ascending): Use tp_emask.
	(tp_array_compar_descending): Use tp_emask.
	(thread_apply_all_command): Use tp_emask when saving threads.

gdb/ChangeLog:
2020-05-13  Natalia Saiapova  <natalia.saiapova@intel.com>
	* gdbthread.h (enum class simd_lane_kind): New enum class.

gdb/ChangeLog:
2020-05-13  Natalia Saiapova  <natalia.saiapova@intel.com>
	* thread.c (thread_apply_command): Update.
	* tid-parse.c (tid_range_parser::tid_range_parser): Update.
	(tid_range_parser::init): Update.
	(tid_range_parser::finished): Update.
	(tid_range_parser::cur_tok): Update.
	(tid_range_parser::is_state_simd_lane): Implement new method.
	(tid_range_parser::skip_range): Update.
	(tid_range_parser::skip_simd_lane_range): Implement new method.
	(tid_range_parser::process_inferior_state): Add processing of ':'.
	(tid_range_parser::process_thread_state): Add processing of ':'.
	(tid_range_parser::process_simd_lane_state): Add parsing of SIMD
	lane range state.
	(tid_range_parser::get_tid_or_range): Add SIMD lane phase.
	(tid_range_parser::get_tid_range): Update.
	(tid_range_parser::get_tid): Update.
	(tid_range_parser::in_thread_star_range): Update.
	(tid_range_parser::in_simd_lane_star_range): Implement new
	method.
	(tid_is_in_list): Update.
	* tid-parse.h (class tid_range_parser):
	<tid_range_parser>: Add default_thr_num argument.
	<init>: Add default_thr_num argument.
	<get_tid>: Add simd_lane_num argument.
	<in_state_simd_lane>: New public method.
	<in_simd_lane_star_range>: New public method.
	<m_in_simd_lane_star_range>: New private field.
	<skip_simd_lane_range>: New public method.
	<process_thread_state>: Add new argument.
	<process_simd_lane_state>: New private method.
	<m_state>: Add STATE_SIMD_LANE_RANGE.
	<m_simd_lane_range_parser>: New private field.
	<m_simd_lane_num>: New private field.
	<m_default_thr_num>: New private field.

gdb/doc/ChangeLog:
2020-05-13  Natalia Saiapova  <natalia.saiapova@intel.com>
	* gdb.texinfo: Describe SIMD ranges.

gdb/testsuite/ChangeLog:
2020-05-13  Natalia Saiapova  <natalia.saiapova@intel.com>
	* gdb.threads/simd-thread-apply.cpp: New test.
	* gdb.threads/simd-thread-apply.exp: New file.

gdb/ChangeLog:
2022-02-02  Mohamed Bouhaouel  <mohamed.bouhaouel@intel.com>

	* gdb/gdbthread.h (get_simd_width): New function.
	* gdb/thread.c (thread_info::get_simd_width): Function body.

gdb/ChangeLog:
2021-07-05  Markus Metzger  <markus.t.metzger@intel.com>

	* thread.c (print_thread_info_1): Check thread state.
	(thread_command): Likewise.
	(print_selected_thread_frame): Likewise.

gdb/ChangeLog:
2020-05-13  Natalia Saiapova  <natalia.saiapova@intel.com>
	* tid-parse.c (tid_range_parser::process_thread_state): Update.
	(tid_range_parser::get_tid_or_range): Implement new method.
	* tid-parse.h (class tid_range_parser):
	<process_thread_state>: New private method.

gdb/ChangeLog:
2020-05-13  Natalia Saiapova  <natalia.saiapova@intel.com>
	* tid-parse.c (tid_range_parser::get_tid_or_range): Update.
	(tid_range_parser::process_inferior_state): Implement new
	method.
	* tid-parse.h (class tid_range_parser):
	<process_inferior_state>: New private method.

gdb/ChangeLog:
2020-05-14  Natalia Saiapova  <natalia.saiapova@intel.com>
	* cli/cli-utils.c (number_or_range_parser::set_end_ptr):
	Implement new method.
	* cli/cli-utils.h (class number_or_range_parser): New public
	method.

gdb/ChangeLog:
2020-05-13  Natalia Saiapova  <natalia.saiapova@intel.com>
	* cli/cli-utils.c (number_or_range_parser::init): Update.
	(number_or_range_parser::get_number): Use m_end_trailer.
	* cli/cli-utils.h (class number_or_range_parser):
	<init>: New argument.
	<m_end_trailer>: New field.

gdb/testsuite/ChangeLog:
2020-05-25  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.sycl/intelgt-auto-attach.exp: New file.

gdb/testsuite/ChangeLog:
2020-05-18  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.base/coredump-filter.exp: Remove paths from test results.

gdb/testsuite/ChangeLog:
2020-04-20  Abdul Basit Ijaz  <abdul.b.ijaz@intel.com>
	    Aleksandar Paunovic  <aleksandar.paunovic@intel.com>

	* boards/openmp-cpu.exp: New file.
	* boards/openmp-gpu.exp: New file.
	* boards/openmp-host.exp: New file.
	* lib/openmp.exp: New file.
	* lib/openmp-devices.cpp: New file.
	* lib/openmp-devices.f90: New file.
	* gdb.openmp/break-before-kernel-workaround.exp: New file.
	* gdb.openmp/break-before-kernel.exp: New file.
	* gdb.openmp/break-inside-kernel.exp: New file.
	* gdb.openmp/break.exp: New file.
	* gdb.openmp/break2.exp: New file.
	* gdb.openmp/cond-bp-on-local.exp: New file.
	* gdb.openmp/delete-bp.exp: New file.
	* gdb.openmp/disable-bp.exp: New file.
	* gdb.openmp/parallel-for-1D.cpp: New file.
	* gdb.openmp/parallel-for-1D.f90: New file.
	* gdb.openmp/temporary-bp.exp: New file.
	* gdb.openmp/infcall-parallel-for.exp: New file.
	* gdb.openmp/step-parallel-for.exp: New file.
	* gdb.openmp/local-vars.cpp: New file.
	* gdb.openmp/local-vars.f90: New file.
	* gdb.openmp/single-task.cpp: New file.
	* gdb.openmp/single-task.f90: New file.
	* gdb.openmp/call-stack.cpp: New file.
	* gdb.openmp/call-stack.exp: New file.
	* gdb.openmp/call-stack.f90: New file.
	* gdb.openmp/parallel-for-2D.exp: New file.
	* gdb.openmp/parallel-for-2D.cpp: New file.
	* gdb.openmp/parallel-for-2D.f90: New file.
	* gdb.openmp/read.exp: New file.
	* gdb.openmp/step-into-function.exp: New file.
	* gdb.openmp/step.exp: New file.
	* gdb.openmp/write-local.exp: New file.
	* gdb.openmp/multi-kernel-async.cpp: New file.
	* gdb.openmp/multi-kernel-async.exp: New file.
	* gdb.openmp/multi-kernel-async.f90: New file.
	* gdb.openmp/multi-kernel-unnamed.cpp: New file.
	* gdb.openmp/multi-kernel-unnamed.exp: New file.
	* gdb.openmp/multi-kernel-unnamed.f90: New file.
	* gdb.openmp/multi-kernel.cpp: New file.
	* gdb.openmp/multi-kernel.exp: New file.
	* gdb.openmp/multi-kernel.f90: New file.
	* gdb.openmp/info-locals-and-args.exp: New file.
	* gdb.openmp/intelgt-auto-attach.exp: New file.
	* gdb.openmp/intelgt-run-inf2.exp: New file.
	* gdb.openmp/run-to-termination.exp: New file.

gdb/ChangeLog:
2020-05-05  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* remote.c (remote_target::remote_detach_1): Tolerate an error
	in the detach request if there exists a pending exit event.

gdb/testsuite/ChangeLog:
2019-04-17  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.multi/schedule-multi-allstop.c: New file.
	* gdb.multi/schedule-multi-allstop.exp: New file.

gdb/ChangeLog:
2019-05-28  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* infrun.c (clear_proceed_status): Clear proceed status of
	threads' inferiors.

gdb/testsuite/ChangeLog:
2019-09-16  Mihails Strasuns  <mihails.strasuns@intel.com>

	* gdb.sycl/accessor1d.cpp: New file.
	* gdb.sycl/accessor1d.exp: New file.
	* gdb.sycl/accessor2d.cpp: New file.
	* gdb.sycl/accessor2d.exp: New file.
	* gdb.sycl/accessor3d.cpp: New file.
	* gdb.sycl/accessor3d.exp: New file.

gdb/ChangeLog:
2020-06-16  Mihails Strasuns  <mihails.strasuns@intel.com>

	* breakpoint.c (disable_breakpoints_in_unloaded_shlib): Renamed
	to 'disable_breakpoints_in_unloaded_objfile` and changed to
	accept an objfile as an argument.
	(disable_breakpoints_in_unloaded_shlib): New function.
	disable_breakpoints_in_unloaded_jit_objects): New function.
	* jit.c (jit_unregister_code): New function, called to handle
	JIT_UNREGISTER and discard a jit objfile properly.
	* observable.c, observable.h: New observable, 'jit_object_unloaded'.

gdb/testsuite/ChangeLog:
2020-06-16  Mihails Strasuns  <mihails.strasuns@intel.com>

	* gdb.base/jit-elf-reregister.c, gdb.base/jit-elf-reregister.exp: New
	test case, verifies that breakpoints still hit if a jit object
	that contains them gets reloaded and mapped again to the same
	base address.

gdb/testsuite/ChangeLog:
2020-03-19  Natalia Saiapova  <natalia.saiapova@intel.com>
	* gdb.threads/simd.cpp: Update.
	* gdb.threads/simd-bp-multi-lane.exp: New file.
	* gdb.threads/simd-bp.exp: Update.
	* gdb.threads/simd-commands.exp: New file.

gdb/testsuite/ChangeLog:
2019-09-16  Natalia Saiapova  <natalia.saiapova@intel.com>

        * gdb/testsuite/gdb.threads/simd-bp.exp: New file.
        * gdb/testsuite/gdb.threads/simd-info-threads.exp: New file.
        * gdb/testsuite/gdb.threads/simd-thread.exp: New file.
        * gdb/testsuite/gdb.threads/simd.cpp: New test.

gdb/testsuite/ChangeLog:
2019-11-27  Mihails Strasuns  <mihails.strasuns@intel.com>

	* gdb.sycl/break-before-kernel-workaround.exp: New test case.

gdb/ChangeLog:
2019-09-10  Natalia Saiapova  <natalia.saiapova@intel.com>

	* intelgt-tdep.c: Set gdbarch_has_dos_based_file_system to 1
	on Windows.

gdb/testsuite/ChangeLog:
2019-09-17  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.sycl/pretty-print.cpp: New test.
	* gdb.sycl/pretty-print.exp: New file.

gdb/testsuite/ChangeLog:
2019-08-06  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.arch/intelgt-emask.exp: New test.
	* gdb.arch/intelgt-emask.cpp: New file.

gdb/testsuite/ChangeLog:
2019-08-06  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.arch/intelgt-info-reg.exp: New test.

gdb/ChangeLog:
2019-09-04  Mihails Strasuns  <mihails.strasuns@intel.com>

	* infrun.c (do_target_wait): assertion for a possibly
	uninitialized variable.

gdb/testsuite/ChangeLog:
2020-01-20  Albertano Caruso  <albertano.caruso@intel.com>

	* gdb.sycl/intelgt-run-inf2.exp: New file.

gdb/ChangeLog:
2019-07-10  Albertano Caruso  <albertano.caruso@intel.com>
	    Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
	    Mihails Strasuns  <mihails.strasuns@intel.com>

	* data-directory/Makefile.in: Update.
	* python/lib/gdb/function/intelgt_auto_attach.py: New file.

gdbserver/ChangeLog:
2020-05-14  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* remote-utils.cc (read_ptid): Update to handle an already-gone
	process in case multiprocess extensions are off.
	* server.cc (handle_v_cont): Go to the error case if a ptid
	cannot be read.

gdb/gdbserver/ChangeLog:
2020-03-25  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* server.c (handle_target_event): Do not print a debug message
	in non-stop mode.

gdb/ChangeLog:
2022-08-09  Nils-Christian Kempke  <nils-christian.kempke@intel.com>

	* NEWS: Add skip-trampoline-functions to 'New commands' section.
	* infrun.c (skip_trampoline-functions): New static variable.
	(process_event_stop_test): Step into/through trampolines.
	(show_skip_trampoline_functions): New helper for the
	skip-trampoline-functions setting.
	(_initialize_infrun): Add skip-trampoline-functions setting.

gdb/doc/ChangeLog:
2022-08-09  Nils-Christian Kempke  <nils-christian.kempke@intel.com>

	* gdb.texinfo: Add section on skip-trampoline-functions setting.

gdb/testsuite/ChangeLog:
2022-08-09  Nils-Christian Kempke  <nils-christian.kempke@intel.com>

	* gdb.dwarf2/dw2-function-trampolines.c: New test source.
	* gdb.dwarf2/dw2-function-trampolines.exp: New test case.

gdb/testsuite/ChangeLog:
2022-05-22  Nils-Christian Kempke  <nils-christian.kempke@intel.com>

	* gdb.mi/mi-vla-fortran.exp: Adapt test for ifort's Fortran
	pointer representation.

gdb/ChangeLog:
2022-03-24  Felix Willgerodt  <felix.willgerodt@intel.com>

	* amd64-linux-tdep.c (amd64_linux_write_pc): Reset tilecfg.start_row.

gdb/testsuite/ChangeLog:
2022-03-24  Felix Willgerodt  <felix.willgerodt@intel.com>

	* gdb.arch/amd64-amx-startrow.c: New file.
	* gdb.arch/amd64-amx-startrow.exp: Same.

gdb/testsuite/ChangeLog:
2021-02-16  Felix Willgerodt  <felix.willgerodt@intel.com>

	* lib/gdb.exp: Adjust call of tcl_version_at_least.
	(version_at_least): Add revision args, simplify check and adjust
	return value.
	(tcl_version_at_least): Adjust call of version_at_least.
	(skip_uli_tests): New function.

gdb/ChangeLog:
2020-07-02  Felix Willgerodt  <felix.willgerodt@intel.com>

	* nat/x86-gcc-cpuid.h: Replace with copy of cpuid.h
	from gcc 10.01 branch.

gdb/ChangeLog:
2022-04-06  Nils-Christian Kempke  <nils-christian.kempke@intel.com>

	* gdbthread.h (has_inferior_thread): New declaration.
	* thread.c (has_inferior_thread): New method.

gdb/ChangeLog:
2019-03-07  Mircea Gherzan  <mircea.gherzan@intel.com>
	    Fabian Schnell  <fabian.schnell@intel.com>
	    Ofir Cohen  <ofir.o.cohen@intel.com>
	    Arik Adler 	<arik.adler@intel.com>
	    Sanimir Agovic  <sanimir.agovic@intel.com>
	    Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* Makefile.in (ALL_64_TARGET_OBS): Add intelgt files.
	* configure.tgt (intelgt-*-elf): New target.
	* intelgt-tdep.c: New file.

gdb/ChangeLog:
2019-03-07  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* arch/intelgt.c: New file.
	* arch/intelgt.h: New file.

gdb/gdbserver/ChangeLog:
2019-03-07  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* acinclude.m4: Include ../../config/lib-ld.m4,
	include ../../config/lib-prefix.m4,
	include ../../config/lib-link.m4.

gdb/testsuite/ChangeLog:
2019-01-31  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.sycl/info-locals-and-args.exp: New file.

gdb/testsuite/ChangeLog:
2019-01-31  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.sycl/infcall-parallel-for.exp: New file.
	* gdb.sycl/infcall.exp: New file.
	* gdb.sycl/parallel-for-1D.cpp (get_dim): New function.
        (main): Call it.

gdb/testsuite/ChangeLog:
2019-01-31  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.sycl/cond-bp-on-local.exp: New file.

gdb/testsuite/ChangeLog:
2019-01-31  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.sycl/nd_item.cpp: New file.
	* gdb.sycl/nd_item.exp: New file.

gdb/testsuite/ChangeLog:
2019-01-31  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.sycl/parallel-for-1D.cpp: New file.
	* gdb.sycl/parallel-for-1D.exp: New file.
	* gdb.sycl/parallel-for-2D.cpp: New file.
	* gdb.sycl/parallel-for-2D.exp: New file.
	* gdb.sycl/step-parallel-for.exp: New file.
	* gdb.sycl/work-item-index.exp: New file.

gdb/testsuite/ChangeLog:
2019-01-31  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.sycl/read.exp: New file.
	* gdb.sycl/step-into-function.exp: New file.
	* gdb.sycl/step.exp: New file.
	* gdb.sycl/write-data.exp: New file.
	* gdb.sycl/write-local.exp: New file.

gdb/testsuite/ChangeLog:
2019-10-17  Mihails Strasuns  <mihails.strasuns@intel.com>

	* gdb.sycl/multi-queue.cpp: New test.
	* gdb.sycl/multi-queue.exp: New file.

gdb/testsuite/ChangeLog:
2019-01-31  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.sycl/multi-kernel-async.cpp: New test.
	* gdb.sycl/multi-kernel-async.exp: New file.
	* gdb.sycl/multi-kernel-unnamed.cpp: New test.
	* gdb.sycl/multi-kernel-unnamed.exp: New file.
	* gdb.sycl/multi-kernel.cpp: New file.
	* gdb.sycl/multi-kernel.exp: New file.

gdb/testsuite/ChangeLog:
2019-01-31  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.sycl/delete-bp.exp: New file.
	* gdb.sycl/disable-bp.exp: New file.
	* gdb.sycl/temporary-bp.exp: New file.

gdb/testsuite/ChangeLog:
2018-11-15  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.sycl/call-stack.cpp: New file.
	* gdb.sycl/call-stack.exp: New file.

gdb/testsuite/ChangeLog:
2018-11-15  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* boards/sycl-inteloffload,exp: New file.
	* gdb.sycl/break-before-kernel.exp: New file.
	* gdb.sycl/break.exp: New file.
	* gdb.sycl/break2.exp: New file.
	* gdb.sycl/run-to-termination.exp: New file.
	* gdb.sycl/single-task.cpp: New file.
	* lib/sycl-hello.cpp: New file.
	* lib/sycl-util.cpp: New file.
	* lib/sycl.exp: New file.

gdb/ChangeLog:
2020-04-14  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* infrun.c (proceed): Remove the 'check_multi_target_resumption'
	call.
	(check_multi_target_resumption): Remove.

gdbserver/ChangeLog:
2020-04-29  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* configure.srv: Use $target for $gdbserver_host.

gdb/ChangeLog:
2019-01-03  Tim Wiederhake  <tim.wiederhake@intel.com>

	* python/python.c: Set Python Home.

gdb/ChangeLog:
2017-11-17  Tim Wiederhake  <tim.wiederhake@intel.com>

	* top.c: Add bug report url.

ChangeLog:
2020-03-26  Felix Willgerodt  <felix.willgerodt@intel.com>

	* Makefile.in: Add Windows properties.

gdb/ChangeLog:
2020-03-26  Felix Willgerodt  <felix.willgerodt@intel.com>

	* Makefile.in: Add Windows properties.
	* configure.ac: Ditto
	* configure: Regenerate.
	* gdb_exe_properties.rc: New file.

gdbserver/ChangeLog:
2020-03-26  Felix Willgerodt  <felix.willgerodt@intel.com>

	* Makefile.in: Add Windows properties.
	* configure.ac: Ditto.
	* configure: Regenerate.

gdb/testsuite/ChangeLog:
2020-05-07  Felix Willgerodt  <felix.willgerodt@intel.com>

	* boards/testgdb-native.exp: New file.
	* boards/testgdbserver-native.exp: New file.

gdb/ChangeLog:
2019-12-04  Felix Willgerodt  <felix.willgerodt@intel.com>

	* gdb.c (__declspec): New windows keyword.

gdb/gdbserver/ChangeLog:
2019-12-04  Felix Willgerodt  <felix.willgerodt@intel.com>

	* server.c (__declspec): New windows keyword.

gdb/ChangeLog:
2022-09-01  Thomas Bininda  <thomas.bininda@intel.com>
	    Felix Willgerodt  <felix.willgerodt@intel.com>
	    Christina Schimpe  <christina.schimpe@inte.com>

	* x86-cet-cmds.c: Undef getline.

gdbsupport/ChangeLog:
2022-09-01  Thomas Bininda  <thomas.bininda@intel.com>
	    Felix Willgerodt  <felix.willgerodt@intel.com>
	    Christina Schimpe  <christina.schimpe@intel.com>

	* ptid.h: Undef getline.

gas/ChangeLog:

        * config/tc-i386.c (build_apx_evex_prefix): Handle ZU.
        * testsuite/gas/i386/x86-64.exp: Added new tests for ZU.
        * testsuite/gas/i386/x86-64.exp: Added new tests for ZU.
        * testsuite/gas/i386/x86-64-apx-zu-intel.d: New test.
        * testsuite/gas/i386/x86-64-apx-zu-inval.l: Ditto.
        * testsuite/gas/i386/x86-64-apx-zu-inval.s: Ditto.
        * testsuite/gas/i386/x86-64-apx-zu.d: Ditto.
        * testsuite/gas/i386/x86-64-apx-zu.s: Ditto.

opcodes/ChangeLog:

        * i386-dis-evex-prefix.h: Handle PREFIX_EVEX_MAP4_40 ~
        PREFIX_EVEX_MAP4_4F.
        * i386-dis-evex.h: Ditto.
        * i386-dis.c (struct dis386): Add new micro 'ZU'.
        (putop): Handle %ZU.
        * i386-gen.c: Added ZU.
        * i386-opc.h: Ditto.
        * i386-opc.tbl: Added new templates to support ZU.

gas/ChangeLog:

        * config/tc-i386.c (establish_rex): Remove i.rex.

gas/ChangeLog:

        * config/tc-i386.c (md_assemble): Add invalid check for old byte
        registers in EVEX format.
        * testsuite/gas/i386/x86-64-apx-inval.l: Add new test.
        * testsuite/gas/i386/x86-64-apx-inval.s: Ditto.

gas/ChangeLog:

        * config/tc-i386.c (establish_rex): Split the judgments.

opcodes/ChangeLog:

	* riscv-dis.c (riscv_search_mapping_symbol): Use last mapping
	symbol if it exists.

gas/ChangeLog:

        * config/tc-i386.c (build_modrm_byte): Dropped the use of
        extension_opcode to encode the vvvv register.
        * testsuite/gas/i386/x86-64-sse2avx.d: Added new testcases.
        * testsuite/gas/i386/x86-64-sse2avx.s: Diito.

opcodes/ChangeLog:

        * i386-opc.tbl: Added DstVVVV to some extension_opcode instructions.
	* i386-tbl.h: Regenerated.

gas/ChangeLog:

        * config/tc-i386.c (build_modrm_byte): Dropped the use of
	SWAP_SOURCES to encode the vvvv register.

opcodes/ChangeLog:

        * i386-opc.h (SWAP_SOURCES): Dropped.
        (NO_DEFAULT_MASK): Adjusted the value.
        (ADDR_PREFIX_OP_REG): Ditto.
        (DISTINCT_DEST): Ditto.
        (IMPLICIT_STACK_OP): Ditto.
        (VexVVVV_SRC2): New.
        * i386-opc.tbl: Dropped SwapSources and replaced its VexVVVV
	with Src1VVVV.
	* i386-tbl.h: Regenerated.

gas/ChangeLog:

        * config/tc-i386.c (optimize_encoding): Replaced 1 with Src1VVVV.
        (build_modrm_byte): Used vexvvvv to encode the vvvv register.
        (s_insn): Replaced 1 with Src1VVVV.

opcodes/ChangeLog:

        * i386-opc.h (VexVVVV_DST): Adjusted the value.
        (Src1VVVV): New.
        * i386-opc.tbl: Replaced part VexVVVV with Src1VVVV.
	* i386-tbl.h: Regenerated.

gas/ChangeLog:

        * config/tc-i386.c (build_apx_evex_prefix): Added invalid check for APX
        X4.
        * testsuite/gas/i386/x86-64-apx-evex-promoted-bad.d: Added invalid
        testcase.
        * testsuite/gas/i386/x86-64-apx-evex-promoted-bad.s: Ditto.

opcodes/ChangeLog:

        * i386-dis.c (get_valid_dis386): Added invalid check for APX X4.

libctf/ChangeLog:

	* ctf-archive.c (ctf_arc_flush_caches): Fix leak.

opcodes/ChangeLog:

	* i386-dis-evex-mod.h: Modify MOD_EVEX_MAP4_F8_P1,
	MOD_EVEX_MAP4_F8_P3.
	* i386-dis-evex-w.h (EVEX_W_MAP4_F8_P1_M_1): New.
	(EVEX_W_MAP4_F8_P3_M_1): Ditto.
	* i386-dis.c (vex_w_table): Add EVEX_W_MAP4_F8_P1_M_1,
	EVEX_W_MAP4_F8_P3_M_1.
	* i386-opc.tbl: Remove redundant '|'.

bfd/ChangeLog:

        * elfxx-riscv.c (riscv_implicit_subset): Imply zca for zcmp.
	(riscv_supported_std_z_ext): Added zcmp with version 1.0.
	(riscv_parse_check_conflicts): Zcmp conflicts with d/zcd.
        (riscv_multi_subset_supports): Handle zcmp.
        (riscv_multi_subset_supports_ext): Ditto.

gas/ChangeLog:

	* NEWS: Updated.
        * config/tc-riscv.c (regno_to_reg_list): New function, used to map
	register to reg_list number.
        (reglist_lookup): Called reglist_lookup_internal.  Return false if
	reg_list number is zero, which is an invalid value.
	(reglist_lookup_internal): Parse register list, and return the last
	register by regno_to_reg_list.
        (validate_riscv_insn):  New operators.
        (riscv_ip): Ditto.
	* testsuite/gas/riscv/march-help.l: Updated.
        * testsuite/gas/riscv/zcmp-push-pop-fail.d: New test.
        * testsuite/gas/riscv/zcmp-push-pop-fail.l: New test.
        * testsuite/gas/riscv/zcmp-push-pop-fail.s: New test.
        * testsuite/gas/riscv/zcmp-push-pop.d: New test.
        * testsuite/gas/riscv/zcmp-push-pop.s: New test.

include/ChangeLog:

        * opcode/riscv-opc.h (MATCH/MASK_CM_PUSH): New macros for zcmp.
        (MATCH/MASK_CM_POP): Ditto.
        (MATCH/MASK_CM_POPRET): Ditto.
        (MATCH/MASK_CM_POPRETZ): Ditto.
        (DECLARE_INSN): New declarations for zcmp.
        * opcode/riscv.h (EXTRACT/ENCODE/VALID_ZCMP_SPIMM): Handle spimm
	operand for zcmp.
        (OP_MASK_REG_LIST): Handle operand for zcmp register list.
        (OP_SH_REG_LIST): Ditto.
        (ZCMP_SP_ALIGNMENT): New argument, used in riscv_get_sp_base.
        (X_S0, X_S1, X_S2, X_S10, X_S11): New register numbers.
        (enum riscv_insn_class): Added INSN_CLASS_ZCMP.
        (extern riscv_get_sp_base): Added.

opcodes/ChangeLog:

        * riscv-dis.c (print_reg_list): New function, used to get zcmp
	reg_list field.
        (riscv_get_spimm): New function, used to get zcmp sp adjustment
	immediate.
        (print_insn_args): Handle new operands for zcmp.
        * riscv-opc.c (riscv_get_sp_base): New function, used by gas and
	objdump.  Get sp base adjustment.
	(riscv_opcodes): Added zcmp instructions.

gas/ChangeLog:

        * testsuite/gas/i386/x86-64-apx-evex-promoted-intel.d: Added no-egpr testcases for movbe.
        * testsuite/gas/i386/x86-64-apx-evex-promoted-wig.d: Ditto.
        * testsuite/gas/i386/x86-64-apx-evex-promoted.d: Ditto.
        * testsuite/gas/i386/x86-64-apx-evex-promoted.s: Ditto.
        * testsuite/gas/i386/x86-64.exp: Added tests.
        * testsuite/gas/i386/noreg64-evex.d: New test.
        * testsuite/gas/i386/noreg64-evex.e: Ditto.
        * testsuite/gas/i386/noreg64-evex.s: Ditto.
        * testsuite/gas/i386/x86-64-apx_f-evex.d: Ditto.
        * testsuite/gas/i386/x86-64-apx_f-evex.s: Ditto.

opcodes/ChangeLog:

        * i386-dis-evex.h: Added %ME to movbe.
        * i386-dis.c : Added %XE to evex_from_vex instructions to output {evex}.
        (struct dis386): New %ME.
        (putop): Handle %ME and output {evex} for evex_from_legacy instructions.
        * Return early when the instruction name is (bad).

include/ChangeLog:

	* diagnostics.h (DIAGNOSTIC_IGNORE_DEPRECATED_REGISTER): Rename
	to...
	(DIAGNOSTIC_IGNORE_REGISTER): ... this.  Ignore `-Wregister`
	instead of `-Wdeprecated-register`.

gas/ChangeLog:

       * NEWS: Support Intel APX NF.
       * config/tc-i386.c (enum i386_error): Add unsupported_nf.
       (struct _i386_insn): Add has_nf.
       (is_apx_evex_encoding): Ditto.
       (build_apx_evex_prefix): Encode the NF bit.
       (md_assemble): Handle unsupported_nf.
       (parse_insn): Handle Prefix_NF and report bad for illegal combination.
       (can_convert_NDD_to_legacy): Replace i.tm.opcode_modifier.nf with i.has_nf.
       (match_template): Support D for APX_F insns and check NF support.
       * testsuite/gas/i386/x86-64-apx-evex-promoted-bad.d: Add bad test for NF bit.
       * testsuite/gas/i386/x86-64-apx-evex-promoted-bad.s: Ditto.
       * testsuite/gas/i386/x86-64-apx-inval.l: Ditto.
       * testsuite/gas/i386/x86-64-apx-inval.s: Ditto.
       * testsuite/gas/i386/x86-64.exp: Add apx nf tests.
       * testsuite/gas/i386/x86-64-apx-nf-intel.d: New test.
       * testsuite/gas/i386/x86-64-apx-nf.d: Ditto.
       * testsuite/gas/i386/x86-64-apx-nf.s: Ditto.

opcodes/ChangeLog:

       * i386-dis-evex.h: Add %NF to the instructions that support APX NF and
       add new instruction imul, popcnt, tzcnt and lzcnt to EVEX table.
       * i386-dis-evex-reg.h: Ditto.
       * i386-dis.c (struct instr_info): Add nf.
       (struct dis386): Add "NF" for EVEX.NF.
       (get_valid_dis386): Set ins->vex.nf and report bad-nf for illegal case.
       (print_insn): Handle ins.vex.nf.
       (putop): Handle "%NF".
       * i386-opc.h (Prefix_NF): New.
       * i386-opc.tbl: Added new entries to support full APX NF instructions.
       * i386-mnem.h: Regenerated.
       * i386-tbl.h: Regenerated.

gas/ChangeLog:

        * NEWS: Mention that remove KEYLOCKER and SHA promotions from EVEX
	* MAP4.
        * config/tc-i386.c (process_operands): Removed special handling of
	* KEYLOCKER and SHA.
        * testsuite/gas/i386/x86-64-apx-egpr-promote-inval.l: Removed KEYLOCKER
        * and SHA instructions.
        * testsuite/gas/i386/x86-64-apx-egpr-promote-inval.s: Ditto.
        * testsuite/gas/i386/x86-64-apx-evex-promoted-bad.d: Ditto.
        * testsuite/gas/i386/x86-64-apx-evex-promoted-bad.s: Ditto.
        * testsuite/gas/i386/x86-64-apx-evex-promoted-intel.d: Ditto.
        * testsuite/gas/i386/x86-64-apx-evex-promoted-wig.d: Ditto.
        * testsuite/gas/i386/x86-64-apx-evex-promoted.d: Ditto.
        * testsuite/gas/i386/x86-64-apx-evex-promoted.s: Ditto.

opcodes/ChangeLog:

        * i386-dis-evex-prefix.h: Removed KEYLOCKER and SHA instructions.
        * i386-dis-evex.h: Ditto.
        * i386-opc.tbl: Ditto.
        * i386-dis.c (print_vector_reg): Removed special handling of KEYLOCKER
	*  and SHA.

bfd/ChangeLog:

	* elf32-hppa.c (final_link_relocate): Output

ld/ChangeLog:

	* emulparams/hppalinux.sh (DATA_SECTION_ALIGNMENT): Define.
	* scripttempl/elf.sc: Align .data section to DATA_SECTION_ALIGNMENT
	when relocating.

ChangeLog:

	* .pre-commit-config.yaml: Bump black hook to 24.3.0

ChangeLog:

	* Makefile.def: Add configure-gdbserver and all-gdbserver
	dependencies on all-libiconv.
	* Makefile.in: Re-generate.

Approved-By: Tom Tromey <tom@tromey.com>

contrib/ChangeLog:
	* dg-extract-results.sh: Sync with GCC.

Approved-By: Tom Tromey <tom@tromey.com>

contrib/ChangeLog:
        * dg-extract-results.py: Sync with GCC.

Approved-By: Tom Tromey <tom@tromey.com>

libctf/ChangeLog:

	* testsuite/libctf-writable/libctf-errors.c: Initialize variables.

bfd/ChangeLog:

        * elfxx-riscv.c (riscv_implicit_subsets): New imply.
        (riscv_multi_subset_supports): New extension.
        (riscv_multi_subset_supports_ext): Ditto.

gas/ChangeLog:

        * testsuite/gas/riscv/zabha-32.d: New test.
        * testsuite/gas/riscv/zabha.d: New test.
        * testsuite/gas/riscv/zabha.s: New test.

include/ChangeLog:

        * opcode/riscv-opc.h (MATCH_AMOADD_B): New opcodes.
        (MASK_AMOADD_B): Ditto.
        (MATCH_AMOXOR_B): Ditto.
        (MASK_AMOXOR_B): Ditto.
        (MATCH_AMOOR_B): Ditto.
        (MASK_AMOOR_B): Ditto.
        (MATCH_AMOAND_B): Ditto.
        (MASK_AMOAND_B): Ditto.
        (MATCH_AMOMIN_B): Ditto.
        (MASK_AMOMIN_B): Ditto.
        (MATCH_AMOMAX_B): Ditto.
        (MASK_AMOMAX_B): Ditto.
        (MATCH_AMOMINU_B): Ditto.
        (MASK_AMOMINU_B): Ditto.
        (MATCH_AMOMAXU_B): Ditto.
        (MASK_AMOMAXU_B): Ditto.
        (MATCH_AMOSWAP_B): Ditto.
        (MASK_AMOSWAP_B): Ditto.
        (MATCH_AMOADD_H): Ditto.
        (MASK_AMOADD_H): Ditto.
        (MATCH_AMOXOR_H): Ditto.
        (MASK_AMOXOR_H): Ditto.
        (MATCH_AMOOR_H): Ditto.
        (MASK_AMOOR_H): Ditto.
        (MATCH_AMOAND_H): Ditto.
        (MASK_AMOAND_H): Ditto.
        (MATCH_AMOMIN_H): Ditto.
        (MASK_AMOMIN_H): Ditto.
        (MATCH_AMOMAX_H): Ditto.
        (MASK_AMOMAX_H): Ditto.
        (MATCH_AMOMINU_H): Ditto.
        (MASK_AMOMINU_H): Ditto.
        (MATCH_AMOMAXU_H): Ditto.
        (MASK_AMOMAXU_H): Ditto.
        (MATCH_AMOSWAP_H): Ditto.
        (MASK_AMOSWAP_H): Ditto.
        (DECLARE_INSN): New declare.
        * opcode/riscv.h (enum riscv_insn_class): New class.

opcodes/ChangeLog:

        * riscv-opc.c: New instructions.

ChangeLog:

	* gdb/jit.c: Fix missing word in code comment.

ChangeLog:

	* bfd/elf64-s390.c (elf_s390_relocate_section): Make sure
	rel->r_offset is large enough.

bfd/ChangeLog:

	* bfd/elf64-s390.c (elf_s390_relocate_section): Replace
	instructions using undefined weak symbols with relative addressing
	to avoid relocation overflows.

ld/ChangeLog:
	* ld/testsuite/ld-s390/s390.exp:
	* ld/testsuite/ld-s390/8GB.ld: New test.
	* ld/testsuite/ld-s390/weakundef-1.dd: New test.
	* ld/testsuite/ld-s390/weakundef-1.s: New test.

bfd/ChangeLog:

	* bfd/elfnn-loongarch.c: (allocate_dynrelocs): Do not increase
	sreloc size when discarded_section.

ld/ChangeLog:

	* ld/testsuite/ld-loongarch-elf/ld-loongarch-elf.exp: Add test.
	* ld/testsuite/ld-loongarch-elf/pie_discard.d: New test.
	* ld/testsuite/ld-loongarch-elf/pie_discard.s: New test.
	* ld/testsuite/ld-loongarch-elf/pie_discard.t: New test.

bfd/ChangeLog:

	* bfd/elfxx-loongarch.c: Add reloc_unsign_bits().

ld/ChangeLog:

	* ld/testsuite/ld-loongarch-elf/ld-loongarch-elf.exp: Add tests.
	* ld/testsuite/ld-loongarch-elf/abi1_max_imm.dd: New test.
	* ld/testsuite/ld-loongarch-elf/abi1_max_imm.s: New test.
	* ld/testsuite/ld-loongarch-elf/abi1_sops.s: New test.
	* ld/testsuite/ld-loongarch-elf/abi2_max_imm.s: New test.
	* ld/testsuite/ld-loongarch-elf/abi2_overflows.s: New test.
	* ld/testsuite/ld-loongarch-elf/max_imm_b16.d: New test.
	* ld/testsuite/ld-loongarch-elf/max_imm_b21.d: New test.
	* ld/testsuite/ld-loongarch-elf/max_imm_b26.d: New test.
	* ld/testsuite/ld-loongarch-elf/max_imm_pcrel20.d: New test.
	* ld/testsuite/ld-loongarch-elf/overflow_b16.d: New test.
	* ld/testsuite/ld-loongarch-elf/overflow_b21.d: New test.
	* ld/testsuite/ld-loongarch-elf/overflow_b26.d: New test.
	* ld/testsuite/ld-loongarch-elf/overflow_pcrel20.d: New test.
	* ld/testsuite/ld-loongarch-elf/overflow_s_0_10_10_16_s2.d: New test.
	* ld/testsuite/ld-loongarch-elf/overflow_s_0_5_10_16_s2.d: New test.
	* ld/testsuite/ld-loongarch-elf/overflow_s_10_12.d: New test.
	* ld/testsuite/ld-loongarch-elf/overflow_s_10_16.d: New test.
	* ld/testsuite/ld-loongarch-elf/overflow_s_10_16_s2.d: New test.
	* ld/testsuite/ld-loongarch-elf/overflow_s_10_5.d: New test.
	* ld/testsuite/ld-loongarch-elf/overflow_s_5_20.d: New test.
	* ld/testsuite/ld-loongarch-elf/overflow_u.d: New test.
	* ld/testsuite/ld-loongarch-elf/overflow_u_10_12.d: New test.
	* ld/testsuite/ld-loongarch-elf/underflow_b16.d: New test.
	* ld/testsuite/ld-loongarch-elf/underflow_b21.d: New test.
	* ld/testsuite/ld-loongarch-elf/underflow_b26.d: New test.
	* ld/testsuite/ld-loongarch-elf/underflow_pcrel20.d: New test.
	* ld/testsuite/ld-loongarch-elf/underflow_s_0_10_10_16_s2.d: New test.
	* ld/testsuite/ld-loongarch-elf/underflow_s_0_5_10_16_s2.d: New test.
	* ld/testsuite/ld-loongarch-elf/underflow_s_10_12.d: New test.
	* ld/testsuite/ld-loongarch-elf/underflow_s_10_16.d: New test.
	* ld/testsuite/ld-loongarch-elf/underflow_s_10_16_s2.d: New test.
	* ld/testsuite/ld-loongarch-elf/underflow_s_10_5.d: New test.
	* ld/testsuite/ld-loongarch-elf/underflow_s_5_20.d: New test.

opcodes/ChangeLog:

	* kvx-opc.c: Regenerate.

gas/ChangeLog:

	* config/kvx-parse.h: Regenerate.

opcodes/ChangeLog:

	* kvx-opc.c (struct kvxopc): Regenerate.

gas/ChangeLog:

	* config/kvx-parse.h: Regenerate.

opcodes/ChangeLog:

	* kvx-opc.c: Regenerate.

include/ChangeLog:

	* opcode/kvx.h: Regenerate.

gas/ChangeLog:

	* config/kvx-parse.h: Regenerate.
	* testsuite/gas/kvx/kv3-1-insns-32.d: Regenerate.
	* testsuite/gas/kvx/kv3-1-insns-32.s: Regenerate.
	* testsuite/gas/kvx/kv3-1-insns-64.d: Regenerate.
	* testsuite/gas/kvx/kv3-1-insns-64.s: Regenerate.
	* testsuite/gas/kvx/kv3-2-insns-32.d: Regenerate.
	* testsuite/gas/kvx/kv3-2-insns-32.s: Regenerate.
	* testsuite/gas/kvx/kv3-2-insns-64.d: Regenerate.
	* testsuite/gas/kvx/kv3-2-insns-64.s: Regenerate.
	* testsuite/gas/kvx/kv4-1-insns-32.d: Regenerate.
	* testsuite/gas/kvx/kv4-1-insns-32.s: Regenerate.
	* testsuite/gas/kvx/kv4-1-insns-64.d: Regenerate.
	* testsuite/gas/kvx/kv4-1-insns-64.s: Regenerate.

opcodes/ChangeLog:

	* kvx-opc.c: Regenerate.

include/ChangeLog:

	* opcode/kvx.h: Regenerate.

gas/ChangeLog:

	* config/kvx-parse.h: Regenerate.
	* testsuite/gas/kvx/kv3-1-insns-32.d: Regenerate.
	* testsuite/gas/kvx/kv3-1-insns-32.s: Regenerate.
	* testsuite/gas/kvx/kv3-1-insns-64.d: Regenerate.
	* testsuite/gas/kvx/kv3-1-insns-64.s: Regenerate.
	* testsuite/gas/kvx/kv3-2-insns-32.d: Regenerate.
	* testsuite/gas/kvx/kv3-2-insns-32.s: Regenerate.
	* testsuite/gas/kvx/kv3-2-insns-64.d: Regenerate.
	* testsuite/gas/kvx/kv3-2-insns-64.s: Regenerate.
	* testsuite/gas/kvx/kv4-1-insns-32.d: Regenerate.
	* testsuite/gas/kvx/kv4-1-insns-32.s: Regenerate.
	* testsuite/gas/kvx/kv4-1-insns-64.d: Regenerate.
	* testsuite/gas/kvx/kv4-1-insns-64.s: Regenerate.

gas/ChangeLog:

	* config/tc-kvx.c (md_apply_fix): Free memory at this end.

gas/ChangeLog:

	* config/kvx-parse.c (promote_token): Do not rely on
	  env.promote_immediate anymore.
	(get_token_class): Do not ignore trailing characters after a
	number.
	(read_token): Likewise.
	(print_token_list): THIS SHOULD NOT BE HERE.

gas/ChangeLog:

	* config/kvx-parse.c (get_token_class): Use the signed value.
	* testsuite/gas/kvx/np2-detection.d: New test.
	* testsuite/gas/kvx/np2-detection.s: New test.

gas/ChangeLog:

	* config/tc-bpf.c (parse_expression): Change switch to if so that error
	* condition is handled.
	* testsuite/gas/bpf/bpf.exp: Invoke new test.
	* testsuite/gas/bpf/indcall-badoperand.d: New test.
	* testsuite/gas/bpf/indcall-badoperand.l: New test.
	* testsuite/gas/bpf/indcall-badoperand.s: New test.

gas/ChangeLog:

	* config/tc-bpf.c (md_assemble): Fix to take into account that
	parse_expression can return NULL.
	(PARSE_ERROR): Avoid passing invalid length to parse_error.

ChangeLog:

	* bfd/coff-aarch64.c (coff_aarch64_reloc_type_lookup): Add
	BFD_RELOC_AARCH64_ADR_GOT_PAGE,
	BFD_RELOC_AARCH64_LD64_GOT_LO12_NC and IMAGE_REL_ARM64_REL32
	relocations.
	(coff_pe_aarch64_relocate_section): Likewise.
	* gas/write.c (adjust_reloc_syms): COFF AArch64 relocation
	offsets need to be limited to 21bits
	(defined): Likewise.

include/ChangeLog:

2024-02-14  Yuriy Kolerov  <ykolerov@synopsys.com>

	* opcode/arc.h (enum insn_class_t): Add DBNZ class.

opcodes/ChangeLog:

2024-02-14  Yuriy Kolerov  <ykolerov@synopsys.com>

	* arc-tbl.h (dbnz): Use "DBNZ" class.
	* arc-dis.c (arc_opcode_to_insn_type): Handle "DBNZ" class.

gas/ChangeLog:

2024-02-14  Yuriy Kolerov  <ykolerov@synopsys.com>

	* config/tc-arc.c (is_br_jmp_insn_p): Add check against "DBNZ".

include/ChangeLog:

2024-01-29  Jose E. Marchesi  <jose.marchesi@oracle.com>

	* opcode/bpf.h (enum bpf_insn_id): Remove BPF_INSN_LDINDDW and
	BPF_INSN_LDABSDW instructions.

opcodes/ChangeLog:

2024-01-29  Jose E. Marchesi  <jose.marchesi@oracle.com>

	* bpf-opc.c (bpf_opcodes): Remove BPF_INSN_LDINDDW and
	BPF_INSN_LDABSDW instructions.

gas/ChangeLog:

2024-01-29  Jose E. Marchesi  <jose.marchesi@oracle.com>

	* doc/c-bpf.texi (BPF Instructions): There is no indirect 64-bit
	load instruction.
	(BPF Instructions): There is no absolute 64-bit load instruction.
	* testsuite/gas/bpf/mem.s: Update test accordingly.
	* testsuite/gas/bpf/mem-be-pseudoc.d: Likewise.
	* testsuite/gas/bpf/mem-be.d: Likewise.
	* testsuite/gas/bpf/mem-pseudoc.d: Likewise.
	* testsuite/gas/bpf/mem-pseudoc.s: Likewise.
	* testsuite/gas/bpf/mem.d: Likewise.
	* testsuite/gas/bpf/mem.s: Likewise.

binutils/ChangeLog:

	* MAINTAINERS: Add myself as the KVX port maintainer.

opcodes/ChangeLog:

	* /tic4x-dis.c (tic4x_disassemble): Swap size and count xcalloc
	arguments.

bfd/ChangeLog:

* elfnn-riscv.c (riscv_maybe_function_sym): Also check
	_bfd_elf_is_local_label_name.

ChangeLog:
	* gas/config/tc-i386.c (is_apx_rex2_encoding): Update the check.
	* opcodes/i386-gen.c: Add a new BITFIELD for Rex2.
	* opcodes/i386-opc.h (REX2_REQUIRED): Remove.
	* opcodes/i386-opc.tbl: Remove Rex2 operand constraint.
	* opcodes/i386-tbl.h: Regenerated.

gas/ChangeLog:

        * config/tc-i386.c (establish_rex): Fix indentation.
        (check_EgprOperands): Use true/false instead of 1/0.

	ld/testsuite/ChangeLog:

	* ld/testsuite/ld-loongarch-elf/relax.exp: Modify test.

gas/ChangeLog:

	* testsuite/gas/i386/x86-64-apx-jmpabs-inval.s: Use .insn instead
	of .byte to describe test cases.

gas/ChangeLog:

	* config/tc-riscv.c (validate_riscv_insn): Add handling for
	th.vsetvli.
	(my_getThVsetvliExpression): New function.
	(riscv_ip): Likewise.
	* testsuite/gas/riscv/x-thead-vector.d: Likewise.
	* testsuite/gas/riscv/x-thead-vector.s: Likewise.

include/ChangeLog:

	* opcode/riscv.h (OP_MASK_XTHEADVLMUL): New macro.
	(OP_SH_XTHEADVLMUL): Likewise.
	(OP_MASK_XTHEADVSEW): Likewise.
	(OP_SH_XTHEADVSEW): Likewise.
	(OP_MASK_XTHEADVEDIV): Likewise.
	(OP_SH_XTHEADVEDIV): Likewise.
	(OP_MASK_XTHEADVTYPE_RES): Likewise.
	(OP_SH_XTHEADVTYPE_RES): Likewise.

opcodes/ChangeLog:

	* riscv-dis.c (print_insn_args): Likewise.
	* riscv-opc.c: Likewise.

ld/testsuite/ChangeLog:

	* ld/testsuite/ld-loongarch-elf/relax.exp: Modify test.
	* ld/testsuite/ld-loongarch-elf/old-tls-le.s: New test.
	* ld/testsuite/ld-loongarch-elf/relax-bound-check-tls-le.s: Likewise.
	* ld/testsuite/ld-loongarch-elf/tls-relax-compatible-check-new.s: Likewise.
	* ld/testsuite/ld-loongarch-elf/relax-tls-le.s: Likewise.
	* ld/testsuite/ld-loongarch-elf/tls-relax-compatible-check-old.s: Likewise.

gas/ChangeLog:

	* config/tc-loongarch.c:
	(loongarch_args_parser_can_match_arg_helper): Add support for relax.
	* gas/testsuite/gas/loongarch/reloc.d: Likewise.
	* gas/testsuite/gas/loongarch/reloc.s: Likewise.
	* gas/testsuite/gas/loongarch/loongarch.exp: Likewise.
	* gas/testsuite/gas/loongarch/tls_le_insn_format_check.s: New test.

	opcode/ChangeLog:

	* loongarch-opc.c: Add new loongarch opcode.

include/ChangeLog:

	* elf/loongarch.h:
	(RELOC_NUMBER (R_LARCH_TLS_LE_HI20_R, 121)): New relocs number.
	(RELOC_NUMBER (R_LARCH_TLS_LE_ADD_R, 122)): Likewise.
	(RELOC_NUMBER (R_LARCH_TLS_LE_LO12_R, 123)): Likewise.

bfd/ChangeLog:

	* bfd-in2.h: Add relocs related to tls le relax.
	* elfnn-loongarch.c:
	(loongarch_relax_tls_le): New function.
	(RELOCATE_TLS_TP32_HI20): New macro.
	(loongarch_elf_check_relocs): Add new reloc support.
	(perform_relocation): Likewise.
	(loongarch_elf_relocate_section): Handle new relocs related to relax.
	(loongarch_elf_relax_section): Likewise.
	* elfxx-loongarch.c:
	(LOONGARCH_HOWTO (R_LARCH_TLS_LE_ADD_R)): New reloc how to type.
	(LOONGARCH_HOWTO (R_LARCH_TLS_LE_HI20_R)): Likewise.
	(LOONGARCH_HOWTO (R_LARCH_TLS_LE_LO12_R)): Likewise.
	* libbfd.h: Add relocs related to tls le relax.
	* reloc.c: Likewise.

gas/ChangeLog:

	* testsuite/gas/riscv/x-thead-vector.d: Add tests for new
	pseudoinstructions.
	* testsuite/gas/riscv/x-thead-vector.s: Likewise.

opcodes/ChangeLog:

	* riscv-opc.c: Add new pseudoinstructions.

gas/ChangeLog:

	* testsuite/gas/i386/x86-64.exp: Ditto.
	* testsuite/gas/i386/x86-64-apx-jmpabs-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-apx-jmpabs-inval.d: Ditto.
	* testsuite/gas/i386/x86-64-apx-jmpabs-inval.s: Ditto.
	* testsuite/gas/i386/x86-64-apx-jmpabs.d: Ditto.
	* testsuite/gas/i386/x86-64-apx-jmpabs.s: Ditto.

opcodes/ChangeLog:

	* i386-dis.c (JMPABS_Fixup): New Fixup function to disassemble jmpabs.
	(print_insn): Add #UD exception for jmpabs.
	(dis386): Modify a1 unit for support jmpabs.
	* i386-mnem.h: Regenerated.
	* i386-opc.tbl: New insns.
	* i386-tbl.h: Regenerated.

gas/ChangeLog:

	* config/tc-i386.c (check_Rex_required): New function.
	(can_convert_NDD_to_legacy): Ditto.
	(match_template): If we can optimzie APX NDD insns, so rematch
	template.
	* testsuite/gas/i386/x86-64.exp: Add test.
	* testsuite/gas/i386/x86-64-apx-ndd-optimize.d: New test.
	* testsuite/gas/i386/x86-64-apx-ndd-optimize.s: Ditto.

gas/ChangeLog:

	* config/tc-i386.c (process_operands): Handle "PUSHP/POPP requires
	rex2.w == 1."
	* testsuite/gas/i386/x86-64.exp: Add new test for PUSHP/POPP.
	* testsuite/gas/i386/x86-64-apx-pushp-popp-intel.d: New test.
	* testsuite/gas/i386/x86-64-apx-pushp-popp-inval.l: Ditto.
	* testsuite/gas/i386/x86-64-apx-pushp-popp-inval.s: Ditto.
	* testsuite/gas/i386/x86-64-apx-pushp-popp.d: Ditto.
	* testsuite/gas/i386/x86-64-apx-pushp-popp.s: Ditto.

opcodes/ChangeLog:

	* i386-dis.c (putop): print pushp and popp.
	* i386-opc.tbl: Added new insns.
	* i386-init.h : Regenerated.
	* i386-mnem.h : Regenerated.
	* i386-tbl.h: Regenerated.

gas/ChangeLog:

2023-12-28  Zewei Mo <zewei.mo@intel.com>
            H.J. Lu  <hongjiu.lu@intel.com>
            Lili Cui <lili.cui@intel.com>

	* config/tc-i386.c: (enum i386_error):
	New unsupported_rsp_register and invalid_src_register_set.
	(md_assemble): Add handler for unsupported_rsp_register and
	invalid_src_register_set.
	(check_APX_operands): Add invalid check for push2/pop2.
	(match_template): Handle check_APX_operands.
	* testsuite/gas/i386/i386.exp: Add apx-push2pop2 tests.
	* testsuite/gas/i386/x86-64.exp: Ditto.
	* testsuite/gas/i386/x86-64-apx-push2pop2.d: New test.
	* testsuite/gas/i386/x86-64-apx-push2pop2.s: Ditto.
	* testsuite/gas/i386/x86-64-apx-push2pop2-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-apx-push2pop2-inval.l: Ditto.
	* testsuite/gas/i386/x86-64-apx-push2pop2-inval.s: Ditto.
	* testsuite/gas/i386/apx-push2pop2-inval.s: Ditto.
	* testsuite/gas/i386/apx-push2pop2-inval.d: Ditto.
	* testsuite/gas/i386/x86-64-apx-evex-promoted-bad.d: Added bad
	testcases for POP2.
	* testsuite/gas/i386/x86-64-apx-evex-promoted-bad.s: Ditto.

opcodes/ChangeLog:

	* i386-dis-evex-reg.h: Add REG_EVEX_MAP4_8F.
	* i386-dis-evex-w.h: Add EVEX_W_MAP4_8F_R_0 and EVEX_W_MAP4_FF_R_6
	* i386-dis-evex.h: Add REG_EVEX_MAP4_8F.
	* i386-dis.c (PUSH2_POP2_Fixup): Add special handling for PUSH2/POP2.
	(get_valid_dis386): Add handler for vector length and address_mode for
	APX-Push2/Pop2 insn.
	(nd): define nd as b for EVEX-promoted instrutions.
	(OP_VEX): Add handler of 64-bit vvvv register for APX-Push2/Pop2 insn.
	* i386-gen.c: Add Push2Pop2 bitfield.
	* i386-opc.h: Regenerated.
	* i386-opc.tbl: Regenerated.

opcodes/ChangeLog:

	* opcodes/i386-dis-evex-reg.h: Handle for REG_EVEX_MAP4_80,
	REG_EVEX_MAP4_81, REG_EVEX_MAP4_83,  REG_EVEX_MAP4_F6,
	REG_EVEX_MAP4_F7, REG_EVEX_MAP4_FE, REG_EVEX_MAP4_FF.
	* opcodes/i386-dis-evex.h: Add NDD insn.
	* opcodes/i386-dis.c (nd): New define.
	(VexGb): Ditto.
	(VexGv): Ditto.
	(get_valid_dis386): Change for NDD decode.
	(print_insn): Ditto.
	(putop): Ditto.
	(intel_operand_size): Ditto.
	(OP_E_memory): Ditto.
	(OP_VEX): Ditto.
	* opcodes/i386-opc.h (VexVVVV_DST): New.
	* opcodes/i386-opc.tbl: Add APX NDD instructions and adjust VexVVVV.
	* opcodes/i386-tbl.h: Regenerated.

gas/ChangeLog:

	* gas/config/tc-i386.c (operand_size_match):
	Support APX NDD that the number of operands is 3.
	(build_apx_evex_prefix): Change for ndd encode.
	(process_operands): Ditto.
	(build_modrm_byte): Ditto.
	(match_template): Support swap the first two operands for
	APX NDD.
	* testsuite/gas/i386/x86-64.exp: Add x86-64-apx-ndd.
	* testsuite/gas/i386/x86-64-apx-ndd.d: New test.
	* testsuite/gas/i386/x86-64-apx-ndd.s: Ditto.
	* testsuite/gas/i386/x86-64-pseudos.d: Add test.
	* testsuite/gas/i386/x86-64-pseudos.s: Ditto.
	* testsuite/gas/i386/x86-64-apx-evex-promoted-bad.d : Ditto.
	* testsuite/gas/i386/x86-64-apx-evex-promoted-bad.s : Ditto.

gas/ChangeLog:

2023-12-28 Lingling Kong <lingling.kong@intel.com>
	    H.J. Lu  <hongjiu.lu@intel.com>
	    Lili Cui <lili.cui@intel.com>
	    Lin Hu   <lin1.hu@intel.com>

	* testsuite/gas/i386/x86-64-apx-egpr-inval.l: Add some insn don't
	support gpr32.
	* testsuite/gas/i386/x86-64-apx-egpr-inval.s: Ditto.
	* testsuite/gas/i386/x86-64.exp: Add new test.
	* testsuite/gas/i386/x86-64-apx-egpr-promote-inval.l: New test.
	* testsuite/gas/i386/x86-64-apx-egpr-promote-inval.s: New test.
	* testsuite/gas/i386/x86-64-apx-evex-egpr.d: New test.
	* testsuite/gas/i386/x86-64-apx-evex-egpr.s: New test.
	* testsuite/gas/i386/x86-64-apx-evex-promoted-bad.d: New test.
	* testsuite/gas/i386/x86-64-apx-evex-promoted-bad.s: New test.
	* testsuite/gas/i386/x86-64-apx-evex-promoted-intel.d: New test.
	* testsuite/gas/i386/x86-64-apx-evex-promoted.d: New test.
	* testsuite/gas/i386/x86-64-apx-evex-promoted.s: New test.

  gas/ChangeLog:

  2023-12-28  Lingling Kong <lingling.kong@intel.com>
	      H.J. Lu  <hongjiu.lu@intel.com>
	      Lili Cui <lili.cui@intel.com>
	      Lin Hu   <lin1.hu@intel.com>

	* config/tc-i386.c (struct _i386_insn): Add has_egpr.
	(need_evex_encoding): Adjusted for apx.
	(cpu_flags_match): Ditto.
	(install_template): Handled APX combines.
	(is_apx_evex_encoding): Test apx evex encoding.
	(build_apx_evex_prefix): Enabe APX evex prefix.
	(md_assemble): Handle apx with evex encoding.
	(process_suffix): Handle apx map4 prefix.
	(check_register): Assign i.vec_encoding for APX evex instructions.
	* testsuite/gas/i386/x86-64-evex.d: Adjust test cases.
	* testsuite/gas/i386/x86-64.exp: Adjust x86-64-inval-movbe.

opcodes/ChangeLog:

	* i386-dis-evex-len.h: Handle EVEX_LEN_0F38F2, EVEX_LEN_0F38F3.
	* i386-dis-evex-prefix.h: Handle PREFIX_EVEX_0F38F2_L_0,
	PREFIX_EVEX_0F38F3_L_0, PREFIX_EVEX_MAP4_D8,
	PREFIX_EVEX_MAP4_DA, PREFIX_EVEX_MAP4_DB,
	PREFIX_EVEX_MAP4_DC, PREFIX_EVEX_MAP4_DD,
	PREFIX_EVEX_MAP4_DE, PREFIX_EVEX_MAP4_DF,
	PREFIX_EVEX_MAP4_F0, PREFIX_EVEX_MAP4_F1,
	PREFIX_EVEX_MAP4_F2, PREFIX_EVEX_MAP4_F8.
	* i386-dis-evex-reg.h: Handle REG_EVEX_0F38F3_L_0_P_0.
	* i386-dis-evex.h: Add EVEX_MAP4_ for legacy insn
	promote to apx to use gpr32
	* opcodes/i386-dis-evex-x86-64.h: Handle Add X86_64_EVEX_0F90,
	X86_64_EVEX_0F92, X86_64_EVEX_0F93, X86_64_EVEX_0F38F2,
	X86_64_EVEX_0F38F3, X86_64_EVEX_0F38F5, X86_64_EVEX_0F38F6,
	X86_64_EVEX_0F38F7, X86_64_EVEX_0F3AF0, X86_64_EVEX_0F91.
	* i386-dis.c
	(struct instr_info): Deleted bool r.
	(PREFIX_NP_OR_DATA): New.
	(NO_PREFIX): New.
	(putop): Ditto.
	(X86_64_EVEX_FROM_VEX_TABLE): Diito.
	(get_valid_dis386): Decode insn erex in extend evex prefix.
	Handle EVEX_MAP4
	(print_insn): Handle PREFIX_DATA_AND_NP_ONLY.
	(print_register): Handle apx instructions decode.
	(OP_E_memory): Diito.
	(OP_G): Diito.
	(OP_XMM): Diito.
	(DistinctDest_Fixup): Diito.
	* i386-gen.c (process_i386_opcode_modifier): Add EVEXMAP4.
	* i386-opc.h (SPACE_EVEXMAP4): Add legacy insn
	promote to evex.
	* i386-opc.tbl: Handle some legacy and vex insns don't
	support gpr32. And add some legacy insn (map2 / 3) promote
	to evex.

opcode/ChangeLog:

	* i386-dis-evex.hi: Added an empty EVEX_MAP4_ sub-table for
	legacy insn promote to EVEX insn.
	* opcodes/i386-dis-evex.h: Add EVEX_MAP4.

gas/ChangeLog:

2023-12-28  Lingling Kong <lingling.kong@intel.com>
	    H.J. Lu  <hongjiu.lu@intel.com>
	    Lili Cui <lili.cui@intel.com>
	    Lin Hu   <lin1.hu@intel.com>

	* config/tc-i386.c
	(enum i386_error): Add unsupported_EGPR_for_addressing
	and invalid_pseudo_prefix.
	(struct _i386_insn): Add rex2 and rex2_encoding for
	gpr32.
	(cpu_arch): Add apx_f.
	(is_cpu): Ditto.
	(register_number): Handle RegRex2 for gpr32.
	(is_apx_rex2_encoding): New func. Test rex2 prefix encoding.
	(build_rex2_prefix): New func. Build legacy insn in
	opcode 0/1 use gpr32 with rex2 prefix.
	(establish_rex): Handle rex2 and rex2_encoding.
	(optimize_encoding): Handel add r16-r31 for registers.
	(md_assemble): Handle apx encoding.
	(parse_insn): Handle Prefix_REX2.
	(check_EgprOperands): New func. Check if Egprs operands
	are valid for the instruction
	(match_template):  Handle Egpr operands check.
	(set_rex_rex2):  New func. set i.rex and i.rex2.
	(build_modrm_byte): Ditto.
	(output_insn): Handle rex2 2-byte prefix output.
	(check_register): Handle check egpr illegal without
	target apx, 64-bit mode and with rex_prefix.
	* doc/c-i386.texi: Document .apx.
	* testsuite/gas/i386/ilp32/x86-64-opcode-inval-intel.d: D5 valid
	in 64-bit mode.
	* testsuite/gas/i386/ilp32/x86-64-opcode-inval.d: Ditto.
	* testsuite/gas/i386/rex-bad: Adjust rex testcase.
	* testsuite/gas/i386/x86-64-opcode-inval-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-opcode-inval.d: Ditto.
	* testsuite/gas/i386/x86-64-opcode-inval.s: Ditto.
	* testsuite/gas/i386/x86-64-pseudos-bad.l: Add illegal rex2 test.
	* testsuite/gas/i386/x86-64-pseudos-bad.s: Ditto.
	* testsuite/gas/i386/x86-64-pseudos.d: Add rex2 test.
	* testsuite/gas/i386/x86-64-pseudos.s: Ditto.
	* testsuite/gas/i386/x86-64.exp: Run APX tests.
	* testsuite/gas/i386/x86-64-apx-egpr-inval.l: New test.
	* testsuite/gas/i386/x86-64-apx-egpr-inval.s: New test.
	* testsuite/gas/i386/x86-64-apx-rex2.d: New test.
	* testsuite/gas/i386/x86-64-apx-rex2.s: New test.

include/ChangeLog:

	* opcode/i386.h (REX2_OPCODE): New.
	(REX2_M): Ditto.

opcodes/ChangeLog:

	* i386-dis.c (struct instr_info): Add erex for gpr32.
	Add last_erex_prefix for rex2 prefix.
	(REX2_M): Extend for gpr32.
	(PREFIX_REX2): Ditto.
	(PREFIX_REX2_ILLEGAL): Ditto.
	(ckprefix): Ditto.
	(prefix_name): Ditto.
	(print_insn): Ditto.
	(print_register): Ditto.
	(OP_E_memory): Ditto.
	(OP_REG): Ditto.
	(OP_EX): Ditto.
	* i386-gen.c (rex2_disallowed): Some instructions are not allowed rex2 prefix.
	(process_i386_opcode_modifier): Set NoEgpr for VEX and some special instructions.
	(output_i386_opcode): Handle if_entry_needs_special_handle.
	* i386-init.h : Regenerated.
	* i386-mnem.h : Regenerated.
	* i386-opc.h (enum i386_cpu): Add CpuAPX_F.
	(NoEgpr): New.
	(Prefix_NoOptimize): Ditto.
	(Prefix_REX2): Ditto.
	(RegRex2): Ditto.
	* i386-opc.tbl: Add rex2 prefix.
	* i386-reg.tbl: Add egprs (r16-r31).
	* i386-tbl.h: Regenerated.

gas/ChangeLog:

	* config/tc-i386.c (VSZ128, VSZ256, VSZ512): New.
	(VEX_check_encoding): Remove opcode_modifier check for vsz.
	* testsuite/gas/i386/avx10-vsz.l: Remove testcases for mask
	registers since they are not needed.
	* testsuite/gas/i386/avx10-vsz.s: Ditto.

opcodes/ChangeLog:

	* i386-gen.c: Remove Vsz.
	* i386-opc.h: Ditto.
	* i386-opc.tbl: Remove kvsz.
	* i386-tbl.h: Regenerated.

ChangeLog:

	* Makefile.def (gettext): Disable (via missing)
	{install-,}{pdf,html,info,dvi} and TAGS targets.  Set no_install
	to true.  Add --disable-threads --disable-libasprintf.
	* Makefile.in: Regenerate.

bfd/ChangeLog:

	* elf32-hppa.c (elf32_hppa_finish_dynamic_symbol): Output
	relative reloc only when eh->root.type is bfd_link_hash_defined
	or bfd_link_hash_defweak.

bfd/ChangeLog:

	* elfxx-riscv.c:  Add 'Zicntr' and 'Zihpm' -> 'Zicsr'.
        (riscv_supported_std_z_ext) Add 'Zicntr' and 'Zihpm' to the list.

gas/ChangeLog:

	* testsuite/gas/riscv/x-thead-fmv.d: Correct test.
	* testsuite/gas/riscv/x-thead-fmv.s: Likewise.

include/ChangeLog:

	* opcode/riscv-opc.h (MATCH_TH_FMV_HW_X): Correct coding.
	(MASK_TH_FMV_HW_X): Likewise.
	(MATCH_TH_FMV_X_HW): Likewise.
	(MASK_TH_FMV_X_HW): Likewise.

opcodes/ChangeLog:

	* riscv-opc.c: Correct operands.

opcodes/ChangeLog:

	* i386-opc.tbl: Remove redundant Byte, Word, Dword and Qword.

gas/ChangeLog:

        * testsuite/gas/i386/intel.d: Adjust testcase.
        * testsuite/gas/i386/lfence-load.d: Ditto.
        * testsuite/gas/i386/noreg16-data32.d: Ditto.
        * testsuite/gas/i386/noreg16.d: Ditto.
        * testsuite/gas/i386/noreg32-data16.d: Ditto.
        * testsuite/gas/i386/noreg32.d: Ditto.
        * testsuite/gas/i386/noreg64-data16.d: Ditto.
        * testsuite/gas/i386/noreg64-rex64.d: Ditto.
        * testsuite/gas/i386/noreg64.d: Ditto.
        * testsuite/gas/i386/opcode-suffix.d: Ditto.
        * testsuite/gas/i386/opcode.d: Ditto.
        * testsuite/gas/i386/x86-64-lfence-load.d: Ditto.
        * testsuite/gas/i386/x86-64-opcode.d: Ditto.

opcodes/ChangeLog:

        * i386-dis.c (OP_I): Make const_1_mode print $1 in AT&T syntax.

gas/ChangeLog:

	* config/tc-i386.c (i386_att_operand): Assign values to regs and
	clean i.base_reg for input output operand (%dx).

ChangeLog:

	* bfd/cpu-riscv.c (riscv_elf_is_mapping_symbols): Match only
	strings that are exactly $x, $d, or $xrv.
	* opcodes/riscv-dis.c (riscv_is_valid_mapping_symbol): Use
	riscv_elf_is_mapping_symbols.

opcodes/ChangeLog:

	* riscv-dis.c (riscv_get_map_state): Remove state updating logic
	and rename to riscv_is_valid_mapping_symbol.
	(riscv_update_map_state): Add state updating logic to seperate function.
	(riscv_search_mapping_symbol): Use new riscv_update_map_state.
	(riscv_data_length): Ditto.

gas/ChangeLog:

	* testsuite/gas/i386/adx.s: Remove .allow_index_reg.
	* testsuite/gas/i386/amx-complex-inval.l: Ditto.
	* testsuite/gas/i386/amx-complex-inval.s: Ditto.
	* testsuite/gas/i386/avx-ifma.s: Ditto.
	* testsuite/gas/i386/avx-ne-convert.s: Ditto.
	* testsuite/gas/i386/avx-scalar-2.s: Ditto.
	* testsuite/gas/i386/avx-vnni-int8.s: Ditto.
	* testsuite/gas/i386/avx-vnni.s: Ditto.
	* testsuite/gas/i386/avx-wig.s: Ditto.
	* testsuite/gas/i386/avx2-wig.s: Ditto.
	* testsuite/gas/i386/avx2.s: Ditto.
	* testsuite/gas/i386/avx256int.s: Ditto.
	* testsuite/gas/i386/avx512_4fmaps.s: Ditto.
	* testsuite/gas/i386/avx512_4vnniw.s: Ditto.
	* testsuite/gas/i386/avx512_bf16.s: Ditto.
	* testsuite/gas/i386/avx512_bf16_vl-inval.l: Ditto.
	* testsuite/gas/i386/avx512_bf16_vl-inval.s: Ditto.
	* testsuite/gas/i386/avx512_bf16_vl.s: Ditto.
	* testsuite/gas/i386/avx512_fp16-inval-bcast.l: Ditto.
	* testsuite/gas/i386/avx512_fp16-inval-bcast.s: Ditto.
	* testsuite/gas/i386/avx512_fp16.s: Ditto.
	* testsuite/gas/i386/avx512_fp16_pseudo_ops.s: Ditto.
	* testsuite/gas/i386/avx512_fp16_vl.s: Ditto.
	* testsuite/gas/i386/avx512_vpopcntdq.s: Ditto.
	* testsuite/gas/i386/avx512bitalg.s: Ditto.
	* testsuite/gas/i386/avx512bitalg_vl.s: Ditto.
	* testsuite/gas/i386/avx512bw-opts.s: Ditto.
	* testsuite/gas/i386/avx512bw-wig.s: Ditto.
	* testsuite/gas/i386/avx512bw.s: Ditto.
	* testsuite/gas/i386/avx512bw_vl-opts.s: Ditto.
	* testsuite/gas/i386/avx512bw_vl-wig.s: Ditto.
	* testsuite/gas/i386/avx512bw_vl.s: Ditto.
	* testsuite/gas/i386/avx512cd.s: Ditto.
	* testsuite/gas/i386/avx512cd_vl.s: Ditto.
	* testsuite/gas/i386/avx512dq-rcig.s: Ditto.
	* testsuite/gas/i386/avx512dq.s: Ditto.
	* testsuite/gas/i386/avx512dq_vl.s: Ditto.
	* testsuite/gas/i386/avx512er-rcig.s: Ditto.
	* testsuite/gas/i386/avx512er.s: Ditto.
	* testsuite/gas/i386/avx512f-opts.s: Ditto.
	* testsuite/gas/i386/avx512f-rcig.s: Ditto.
	* testsuite/gas/i386/avx512f.s: Ditto.
	* testsuite/gas/i386/avx512f_gfni.s: Ditto.
	* testsuite/gas/i386/avx512f_vaes.s: Ditto.
	* testsuite/gas/i386/avx512f_vl-opts.s: Ditto.
	* testsuite/gas/i386/avx512f_vl-wig.s: Ditto.
	* testsuite/gas/i386/avx512f_vl.s: Ditto.
	* testsuite/gas/i386/avx512f_vpclmulqdq.s: Ditto.
	* testsuite/gas/i386/avx512ifma.s: Ditto.
	* testsuite/gas/i386/avx512ifma_vl.s: Ditto.
	* testsuite/gas/i386/avx512pf.s: Ditto.
	* testsuite/gas/i386/avx512vbmi.s: Ditto.
	* testsuite/gas/i386/avx512vbmi2.s: Ditto.
	* testsuite/gas/i386/avx512vbmi2_vl.s: Ditto.
	* testsuite/gas/i386/avx512vbmi_vl.s: Ditto.
	* testsuite/gas/i386/avx512vl_gfni.s: Ditto.
	* testsuite/gas/i386/avx512vl_vaes.s: Ditto.
	* testsuite/gas/i386/avx512vl_vpclmulqdq.s: Ditto.
	* testsuite/gas/i386/avx512vnni.s: Ditto.
	* testsuite/gas/i386/avx512vnni_vl.s: Ditto.
	* testsuite/gas/i386/bmi.s: Ditto.
	* testsuite/gas/i386/bmi2.s: Ditto.
	* testsuite/gas/i386/cldemote.s: Ditto.
	* testsuite/gas/i386/clflushopt.s: Ditto.
	* testsuite/gas/i386/clwb.s: Ditto.
	* testsuite/gas/i386/cmpccxadd-inval.l: Ditto.
	* testsuite/gas/i386/cmpccxadd-inval.s: Ditto.
	* testsuite/gas/i386/enqcmd-inval.l: Ditto.
	* testsuite/gas/i386/enqcmd-inval.s: Ditto.
	* testsuite/gas/i386/enqcmd.s: Ditto.
	* testsuite/gas/i386/evex-lig-2.s: Ditto.
	* testsuite/gas/i386/evex-lig.s: Ditto.
	* testsuite/gas/i386/evex-wig.s: Ditto.
	* testsuite/gas/i386/evex.s: Ditto.
	* testsuite/gas/i386/fma-scalar.s: Ditto.
	* testsuite/gas/i386/fma.s: Ditto.
	* testsuite/gas/i386/fma4.s: Ditto.
	* testsuite/gas/i386/gfni.s: Ditto.
	* testsuite/gas/i386/hle.s: Ditto.
	* testsuite/gas/i386/ilp32/enqcmd.s: Ditto.
	* testsuite/gas/i386/ilp32/movdir.s: Ditto.
	* testsuite/gas/i386/lwp.s: Ditto.
	* testsuite/gas/i386/movdir.s: Ditto.
	* testsuite/gas/i386/movdir64b-reg.l: Ditto.
	* testsuite/gas/i386/movdir64b-reg.s: Ditto.
	* testsuite/gas/i386/mpx-inval-1.l: Ditto.
	* testsuite/gas/i386/mpx-inval-1.s: Ditto.
	* testsuite/gas/i386/mpx.s: Ditto.
	* testsuite/gas/i386/msrlist-inval.l: Ditto.
	* testsuite/gas/i386/msrlist-inval.s: Ditto.
	* testsuite/gas/i386/notrack.s: Ditto.
	* testsuite/gas/i386/notrackbad.l: Ditto.
	* testsuite/gas/i386/notrackbad.s: Ditto.
	* testsuite/gas/i386/optimize-1.s: Ditto.
	* testsuite/gas/i386/optimize-2.s: Ditto.
	* testsuite/gas/i386/optimize-3.s: Ditto.
	* testsuite/gas/i386/optimize-6.s: Ditto.
	* testsuite/gas/i386/optimize-6a.l: Ditto.
	* testsuite/gas/i386/optimize-7.l: Ditto.
	* testsuite/gas/i386/optimize-7.s: Ditto.
	* testsuite/gas/i386/opts.s: Ditto.
	* testsuite/gas/i386/prefetchwt1.s: Ditto.
	* testsuite/gas/i386/raoint.s: Ditto.
	* testsuite/gas/i386/sha.s: Ditto.
	* testsuite/gas/i386/sse2avx.s: Ditto.
	* testsuite/gas/i386/tbm.s: Ditto.
	* testsuite/gas/i386/vaes.s: Ditto.
	* testsuite/gas/i386/vex-lig-2.s: Ditto.
	* testsuite/gas/i386/vp2intersect-inval-bcast.l: Ditto.
	* testsuite/gas/i386/vp2intersect-inval-bcast.s: Ditto.
	* testsuite/gas/i386/vpclmulqdq.s: Ditto.
	* testsuite/gas/i386/x86-64-adx.s: Ditto.
	* testsuite/gas/i386/x86-64-amx-complex.s: Ditto.
	* testsuite/gas/i386/x86-64-amx-fp16.s: Ditto.
	* testsuite/gas/i386/x86-64-avx-ifma.s: Ditto.
	* testsuite/gas/i386/x86-64-avx-ne-convert.s: Ditto.
	* testsuite/gas/i386/x86-64-avx-scalar-2.s: Ditto.
	* testsuite/gas/i386/x86-64-avx-swap.s: Ditto.
	* testsuite/gas/i386/x86-64-avx-vnni-int8.s: Ditto.
	* testsuite/gas/i386/x86-64-avx-vnni.s: Ditto.
	* testsuite/gas/i386/x86-64-avx-wig.s: Ditto.
	* testsuite/gas/i386/x86-64-avx2-wig.s: Ditto.
	* testsuite/gas/i386/x86-64-avx2.s: Ditto.
	* testsuite/gas/i386/x86-64-avx256int.s: Ditto.
	* testsuite/gas/i386/x86-64-avx512_4fmaps.s: Ditto.
	* testsuite/gas/i386/x86-64-avx512_4vnniw.s: Ditto.
	* testsuite/gas/i386/x86-64-avx512_bf16.s: Ditto.
	* testsuite/gas/i386/x86-64-avx512_bf16_vl-inval.l: Ditto.
	* testsuite/gas/i386/x86-64-avx512_bf16_vl-inval.s: Ditto.
	* testsuite/gas/i386/x86-64-avx512_bf16_vl.s: Ditto.
	* testsuite/gas/i386/x86-64-avx512_fp16-inval-bcast.l: Ditto.
	* testsuite/gas/i386/x86-64-avx512_fp16-inval-bcast.s: Ditto.
	* testsuite/gas/i386/x86-64-avx512_fp16-inval-register.l: Ditto.
	* testsuite/gas/i386/x86-64-avx512_fp16-inval-register.s: Ditto.
	* testsuite/gas/i386/x86-64-avx512_fp16.s: Ditto.
	* testsuite/gas/i386/x86-64-avx512_fp16_pseudo_ops.s: Ditto.
	* testsuite/gas/i386/x86-64-avx512_fp16_vl.s: Ditto.
	* testsuite/gas/i386/x86-64-avx512_vpopcntdq.s: Ditto.
	* testsuite/gas/i386/x86-64-avx512bitalg.s: Ditto.
	* testsuite/gas/i386/x86-64-avx512bitalg_vl.s: Ditto.
	* testsuite/gas/i386/x86-64-avx512bw-opts.s: Ditto.
	* testsuite/gas/i386/x86-64-avx512bw-wig.s: Ditto.
	* testsuite/gas/i386/x86-64-avx512bw.s: Ditto.
	* testsuite/gas/i386/x86-64-avx512bw_vl-opts.s: Ditto.
	* testsuite/gas/i386/x86-64-avx512bw_vl-wig.s: Ditto.
	* testsuite/gas/i386/x86-64-avx512bw_vl.s: Ditto.
	* testsuite/gas/i386/x86-64-avx512cd.s: Ditto.
	* testsuite/gas/i386/x86-64-avx512cd_vl.s: Ditto.
	* testsuite/gas/i386/x86-64-avx512dq-rcig.s: Ditto.
	* testsuite/gas/i386/x86-64-avx512dq.s: Ditto.
	* testsuite/gas/i386/x86-64-avx512dq_vl.s: Ditto.
	* testsuite/gas/i386/x86-64-avx512er-rcig.s: Ditto.
	* testsuite/gas/i386/x86-64-avx512er.s: Ditto.
	* testsuite/gas/i386/x86-64-avx512f-opts.s: Ditto.
	* testsuite/gas/i386/x86-64-avx512f-rcig.s: Ditto.
	* testsuite/gas/i386/x86-64-avx512f.s: Ditto.
	* testsuite/gas/i386/x86-64-avx512f_gfni.s: Ditto.
	* testsuite/gas/i386/x86-64-avx512f_vaes.s: Ditto.
	* testsuite/gas/i386/x86-64-avx512f_vl-opts.s: Ditto.
	* testsuite/gas/i386/x86-64-avx512f_vl-wig.s: Ditto.
	* testsuite/gas/i386/x86-64-avx512f_vl.s: Ditto.
	* testsuite/gas/i386/x86-64-avx512f_vpclmulqdq.s: Ditto.
	* testsuite/gas/i386/x86-64-avx512ifma.s: Ditto.
	* testsuite/gas/i386/x86-64-avx512ifma_vl.s: Ditto.
	* testsuite/gas/i386/x86-64-avx512pf.s: Ditto.
	* testsuite/gas/i386/x86-64-avx512vbmi.s: Ditto.
	* testsuite/gas/i386/x86-64-avx512vbmi2.s: Ditto.
	* testsuite/gas/i386/x86-64-avx512vbmi2_vl.s: Ditto.
	* testsuite/gas/i386/x86-64-avx512vbmi_vl.s: Ditto.
	* testsuite/gas/i386/x86-64-avx512vl_gfni.s: Ditto.
	* testsuite/gas/i386/x86-64-avx512vl_vaes.s: Ditto.
	* testsuite/gas/i386/x86-64-avx512vl_vpclmulqdq.s: Ditto.
	* testsuite/gas/i386/x86-64-avx512vnni.s: Ditto.
	* testsuite/gas/i386/x86-64-avx512vnni_vl.s: Ditto.
	* testsuite/gas/i386/x86-64-avx_gfni.s: Ditto.
	* testsuite/gas/i386/x86-64-bmi.s: Ditto.
	* testsuite/gas/i386/x86-64-bmi2.s: Ditto.
	* testsuite/gas/i386/x86-64-cldemote.s: Ditto.
	* testsuite/gas/i386/x86-64-clflushopt.s: Ditto.
	* testsuite/gas/i386/x86-64-clwb.s: Ditto.
	* testsuite/gas/i386/x86-64-cmpccxadd.s: Ditto.
	* testsuite/gas/i386/x86-64-enqcmd-inval.l: Ditto.
	* testsuite/gas/i386/x86-64-enqcmd-inval.s: Ditto.
	* testsuite/gas/i386/x86-64-enqcmd.s: Ditto.
	* testsuite/gas/i386/x86-64-evex-lig-2.s: Ditto.
	* testsuite/gas/i386/x86-64-evex-lig.s: Ditto.
	* testsuite/gas/i386/x86-64-evex-wig.s: Ditto.
	* testsuite/gas/i386/x86-64-evex-wig2.s: Ditto.
	* testsuite/gas/i386/x86-64-fma-scalar.s: Ditto.
	* testsuite/gas/i386/x86-64-fma.s: Ditto.
	* testsuite/gas/i386/x86-64-fma4.s: Ditto.
	* testsuite/gas/i386/x86-64-fred.s: Ditto.
	* testsuite/gas/i386/x86-64-gfni.s: Ditto.
	* testsuite/gas/i386/x86-64-hle.s: Ditto.
	* testsuite/gas/i386/x86-64-lkgs.s: Ditto.
	* testsuite/gas/i386/x86-64-lwp.s: Ditto.
	* testsuite/gas/i386/x86-64-movdir.s: Ditto.
	* testsuite/gas/i386/x86-64-movdir64b-reg.l: Ditto.
	* testsuite/gas/i386/x86-64-movdir64b-reg.s: Ditto.
	* testsuite/gas/i386/x86-64-mpx-inval-1.l: Ditto.
	* testsuite/gas/i386/x86-64-mpx-inval-1.s: Ditto.
	* testsuite/gas/i386/x86-64-mpx-inval-2.l: Ditto.
	* testsuite/gas/i386/x86-64-mpx-inval-2.s: Ditto.
	* testsuite/gas/i386/x86-64-mpx.s: Ditto.
	* testsuite/gas/i386/x86-64-notrack.s: Ditto.
	* testsuite/gas/i386/x86-64-notrackbad.l: Ditto.
	* testsuite/gas/i386/x86-64-notrackbad.s: Ditto.
	* testsuite/gas/i386/x86-64-optimize-1.s: Ditto.
	* testsuite/gas/i386/x86-64-optimize-2.s: Ditto.
	* testsuite/gas/i386/x86-64-optimize-3.s: Ditto.
	* testsuite/gas/i386/x86-64-optimize-4.s: Ditto.
	* testsuite/gas/i386/x86-64-optimize-7.s: Ditto.
	* testsuite/gas/i386/x86-64-optimize-7a.l: Ditto.
	* testsuite/gas/i386/x86-64-optimize-8.l: Ditto.
	* testsuite/gas/i386/x86-64-optimize-8.s: Ditto.
	* testsuite/gas/i386/x86-64-opts.s: Ditto.
	* testsuite/gas/i386/x86-64-prefetchi-warn.s: Ditto.
	* testsuite/gas/i386/x86-64-prefetchi.s: Ditto.
	* testsuite/gas/i386/x86-64-prefetchwt1.s: Ditto.
	* testsuite/gas/i386/x86-64-raoint.s: Ditto.
	* testsuite/gas/i386/x86-64-sha.s: Ditto.
	* testsuite/gas/i386/x86-64-sse2avx.s: Ditto.
	* testsuite/gas/i386/x86-64-tbm.s: Ditto.
	* testsuite/gas/i386/x86-64-vaes.s: Ditto.
	* testsuite/gas/i386/x86-64-vex-lig-2.s: Ditto.
	* testsuite/gas/i386/x86-64-vp2intersect-inval-bcast.l: Ditto.
	* testsuite/gas/i386/x86-64-vp2intersect-inval-bcast.s: Ditto.
	* testsuite/gas/i386/x86-64-vpclmulqdq.s: Ditto.
	* testsuite/gas/i386/x86-64-xop.s: Ditto.
	* testsuite/gas/i386/x86-64-xsavec.s: Ditto.
	* testsuite/gas/i386/x86-64-xsaves.s: Ditto.
	* testsuite/gas/i386/xop.s: Ditto.
	* testsuite/gas/i386/xsavec.s: Ditto.
	* testsuite/gas/i386/xsaves.s: Ditto.

gas/ChangeLog:

	* testsuite/gas/i386/avx-gather-intel.d: Remove unused #as.
	* testsuite/gas/i386/avx-gather.d: Ditto.
	* testsuite/gas/i386/avx-ifma-intel.d: Ditto.
	* testsuite/gas/i386/avx-ifma.d: Ditto.
	* testsuite/gas/i386/avx-ne-convert-intel.d: Ditto.
	* testsuite/gas/i386/avx-ne-convert.d: Ditto.
	* testsuite/gas/i386/avx-vnni-int8-intel.d: Ditto.
	* testsuite/gas/i386/avx-vnni-int8.d: Ditto.
	* testsuite/gas/i386/avx512_bf16.d: Ditto.
	* testsuite/gas/i386/avx512_bf16_vl.d: Ditto.
	* testsuite/gas/i386/avx512_fp16-intel.d: Ditto.
	* testsuite/gas/i386/avx512_fp16.d: Ditto.
	* testsuite/gas/i386/avx512_fp16_pseudo_ops.d: Ditto.
	* testsuite/gas/i386/avx512_fp16_vl-intel.d: Ditto.
	* testsuite/gas/i386/avx512_fp16_vl.d: Ditto.
	* testsuite/gas/i386/avx512_vpopcntdq-intel.d: Ditto.
	* testsuite/gas/i386/avx512_vpopcntdq.d: Ditto.
	* testsuite/gas/i386/avx512bitalg-intel.d: Ditto.
	* testsuite/gas/i386/avx512bitalg.d: Ditto.
	* testsuite/gas/i386/avx512bitalg_vl-intel.d: Ditto.
	* testsuite/gas/i386/avx512bitalg_vl.d: Ditto.
	* testsuite/gas/i386/avx512bw-opts-intel.d: Ditto.
	* testsuite/gas/i386/avx512bw-opts.d: Ditto.
	* testsuite/gas/i386/avx512bw_vl-intel.d: Ditto.
	* testsuite/gas/i386/avx512bw_vl-opts-intel.d: Ditto.
	* testsuite/gas/i386/avx512bw_vl-opts.d: Ditto.
	* testsuite/gas/i386/avx512bw_vl.d: Ditto.
	* testsuite/gas/i386/avx512cd-intel.d: Ditto.
	* testsuite/gas/i386/avx512cd.d: Ditto.
	* testsuite/gas/i386/avx512cd_vl-intel.d: Ditto.
	* testsuite/gas/i386/avx512cd_vl.d: Ditto.
	* testsuite/gas/i386/avx512dq-intel.d: Ditto.
	* testsuite/gas/i386/avx512dq.d: Ditto.
	* testsuite/gas/i386/avx512dq_vl-intel.d: Ditto.
	* testsuite/gas/i386/avx512dq_vl.d: Ditto.
	* testsuite/gas/i386/avx512er-intel.d: Ditto.
	* testsuite/gas/i386/avx512er.d: Ditto.
	* testsuite/gas/i386/avx512f-nondef.d: Ditto.
	* testsuite/gas/i386/avx512f-opts-intel.d: Ditto.
	* testsuite/gas/i386/avx512f-opts.d: Ditto.
	* testsuite/gas/i386/avx512f_gfni-intel.d: Ditto.
	* testsuite/gas/i386/avx512f_gfni.d: Ditto.
	* testsuite/gas/i386/avx512f_vaes-intel.d: Ditto.
	* testsuite/gas/i386/avx512f_vaes.d: Ditto.
	* testsuite/gas/i386/avx512f_vl-intel.d: Ditto.
	* testsuite/gas/i386/avx512f_vl-opts-intel.d: Ditto.
	* testsuite/gas/i386/avx512f_vl-opts.d: Ditto.
	* testsuite/gas/i386/avx512f_vl.d: Ditto.
	* testsuite/gas/i386/avx512f_vpclmulqdq-intel.d: Ditto.
	* testsuite/gas/i386/avx512f_vpclmulqdq.d: Ditto.
	* testsuite/gas/i386/avx512ifma-intel.d: Ditto.
	* testsuite/gas/i386/avx512ifma.d: Ditto.
	* testsuite/gas/i386/avx512ifma_vl-intel.d: Ditto.
	* testsuite/gas/i386/avx512ifma_vl.d: Ditto.
	* testsuite/gas/i386/avx512pf-intel.d: Ditto.
	* testsuite/gas/i386/avx512pf.d: Ditto.
	* testsuite/gas/i386/avx512vbmi-intel.d: Ditto.
	* testsuite/gas/i386/avx512vbmi.d: Ditto.
	* testsuite/gas/i386/avx512vbmi2-intel.d: Ditto.
	* testsuite/gas/i386/avx512vbmi2.d: Ditto.
	* testsuite/gas/i386/avx512vbmi2_vl-intel.d: Ditto.
	* testsuite/gas/i386/avx512vbmi2_vl.d: Ditto.
	* testsuite/gas/i386/avx512vbmi_vl-intel.d: Ditto.
	* testsuite/gas/i386/avx512vbmi_vl.d: Ditto.
	* testsuite/gas/i386/avx512vl_gfni-intel.d: Ditto.
	* testsuite/gas/i386/avx512vl_gfni.d: Ditto.
	* testsuite/gas/i386/avx512vl_vaes-intel.d: Ditto.
	* testsuite/gas/i386/avx512vl_vaes.d: Ditto.
	* testsuite/gas/i386/avx512vl_vpclmulqdq-intel.d: Ditto.
	* testsuite/gas/i386/avx512vl_vpclmulqdq.d: Ditto.
	* testsuite/gas/i386/avx512vnni-intel.d: Ditto.
	* testsuite/gas/i386/avx512vnni.d: Ditto.
	* testsuite/gas/i386/avx512vnni_vl-intel.d: Ditto.
	* testsuite/gas/i386/avx512vnni_vl.d: Ditto.
	* testsuite/gas/i386/bmi-intel.d: Ditto.
	* testsuite/gas/i386/bmi.d: Ditto.
	* testsuite/gas/i386/bmi2-intel.d: Ditto.
	* testsuite/gas/i386/bmi2.d: Ditto.
	* testsuite/gas/i386/cldemote-intel.d: Ditto.
	* testsuite/gas/i386/cldemote.d: Ditto.
	* testsuite/gas/i386/clflushopt-intel.d: Ditto.
	* testsuite/gas/i386/clflushopt.d: Ditto.
	* testsuite/gas/i386/clwb-intel.d: Ditto.
	* testsuite/gas/i386/clwb.d: Ditto.
	* testsuite/gas/i386/enqcmd-intel.d: Ditto.
	* testsuite/gas/i386/enqcmd.d: Ditto.
	* testsuite/gas/i386/gfni-intel.d: Ditto.
	* testsuite/gas/i386/gfni.d: Ditto.
	* testsuite/gas/i386/hreset.d: Ditto.
	* testsuite/gas/i386/invpcid-intel.d: Ditto.
	* testsuite/gas/i386/invpcid.d: Ditto.
	* testsuite/gas/i386/keylocker-intel.d: Ditto.
	* testsuite/gas/i386/keylocker.d: Ditto.
	* testsuite/gas/i386/movdir-intel.d: Ditto.
	* testsuite/gas/i386/movdir.d: Ditto.
	* testsuite/gas/i386/pr27198.d: Ditto.
	* testsuite/gas/i386/pr30248.d: Ditto.
	* testsuite/gas/i386/prefetchwt1-intel.d: Ditto.
	* testsuite/gas/i386/prefetchwt1.d: Ditto.
	* testsuite/gas/i386/ptwrite-intel.d: Ditto.
	* testsuite/gas/i386/ptwrite.d: Ditto.
	* testsuite/gas/i386/raoint-intel.d: Ditto.
	* testsuite/gas/i386/raoint.d: Ditto.
	* testsuite/gas/i386/serialize.d: Ditto.
	* testsuite/gas/i386/tbm-intel.d: Ditto.
	* testsuite/gas/i386/tdx.d: Ditto.
	* testsuite/gas/i386/tsxldtrk.d: Ditto.
	* testsuite/gas/i386/vp2intersect-intel.d: Ditto.
	* testsuite/gas/i386/vp2intersect.d: Ditto.
	* testsuite/gas/i386/vpclmulqdq-intel.d: Ditto.
	* testsuite/gas/i386/vpclmulqdq.d: Ditto.
	* testsuite/gas/i386/waitpkg-intel.d: Ditto.
	* testsuite/gas/i386/waitpkg.d: Ditto.
	* testsuite/gas/i386/wrmsrns-intel.d: Ditto.
	* testsuite/gas/i386/wrmsrns.d: Ditto.
	* testsuite/gas/i386/x86-64-amx-bad.d: Ditto.
	* testsuite/gas/i386/x86-64-amx-complex-bad.d: Ditto.
	* testsuite/gas/i386/x86-64-amx-complex-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-amx-complex.d: Ditto.
	* testsuite/gas/i386/x86-64-amx-fp16-bad.d: Ditto.
	* testsuite/gas/i386/x86-64-amx-fp16-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-amx-fp16.d: Ditto.
	* testsuite/gas/i386/x86-64-amx-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-amx.d: Ditto.
	* testsuite/gas/i386/x86-64-avx-gather-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-avx-gather.d: Ditto.
	* testsuite/gas/i386/x86-64-avx-ifma-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-avx-ifma.d: Ditto.
	* testsuite/gas/i386/x86-64-avx-ne-convert-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-avx-ne-convert.d: Ditto.
	* testsuite/gas/i386/x86-64-avx-vnni-int8-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-avx-vnni-int8.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512_bf16.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512_bf16_vl.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512_fp16-bad.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512_fp16-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512_fp16.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512_fp16_pseudo_ops.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512_fp16_vl-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512_fp16_vl.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512_vpopcntdq-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512_vpopcntdq.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512bitalg-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512bitalg.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512bitalg_vl-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512bitalg_vl.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512bw-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512bw-opts-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512bw-opts.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512bw.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512bw_vl-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512bw_vl-opts-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512bw_vl-opts.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512bw_vl.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512cd-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512cd.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512cd_vl-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512cd_vl.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512dq-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512dq.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512dq_vl-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512dq_vl.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512er-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512er.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512f-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512f-nondef.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512f-opts-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512f-opts.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512f.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512f_gfni-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512f_gfni.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512f_vaes-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512f_vaes.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512f_vl-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512f_vl-opts-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512f_vl-opts.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512f_vl.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512f_vpclmulqdq-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512f_vpclmulqdq.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512ifma-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512ifma.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512ifma_vl-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512ifma_vl.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512pf-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512pf.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512vbmi-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512vbmi.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512vbmi2-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512vbmi2.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512vbmi2_vl-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512vbmi2_vl.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512vbmi_vl-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512vbmi_vl.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512vl_gfni-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512vl_gfni.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512vl_vaes-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512vl_vaes.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512vl_vpclmulqdq-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512vl_vpclmulqdq.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512vnni-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512vnni.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512vnni_vl-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512vnni_vl.d: Ditto.
	* testsuite/gas/i386/x86-64-avx_gfni-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-avx_gfni.d: Ditto.
	* testsuite/gas/i386/x86-64-bmi-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-bmi.d: Ditto.
	* testsuite/gas/i386/x86-64-bmi2-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-bmi2.d: Ditto.
	* testsuite/gas/i386/x86-64-cldemote-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-cldemote.d: Ditto.
	* testsuite/gas/i386/x86-64-clflushopt-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-clflushopt.d: Ditto.
	* testsuite/gas/i386/x86-64-clwb-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-clwb.d: Ditto.
	* testsuite/gas/i386/x86-64-cmpccxadd-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-cmpccxadd.d: Ditto.
	* testsuite/gas/i386/x86-64-fred-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-fred.d: Ditto.
	* testsuite/gas/i386/x86-64-gfni-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-gfni.d: Ditto.
	* testsuite/gas/i386/x86-64-hreset.d: Ditto.
	* testsuite/gas/i386/x86-64-invpcid-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-invpcid.d: Ditto.
	* testsuite/gas/i386/x86-64-keylocker-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-keylocker.d: Ditto.
	* testsuite/gas/i386/x86-64-lkgs-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-lkgs.d: Ditto.
	* testsuite/gas/i386/x86-64-movsxd-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-movsxd.d: Ditto.
	* testsuite/gas/i386/x86-64-msrlist-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-msrlist.d: Ditto.
	* testsuite/gas/i386/x86-64-prefetchi-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-prefetchi.d: Ditto.
	* testsuite/gas/i386/x86-64-prefetchwt1-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-prefetchwt1.d: Ditto.
	* testsuite/gas/i386/x86-64-ptwrite-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-ptwrite.d: Ditto.
	* testsuite/gas/i386/x86-64-raoint-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-raoint.d: Ditto.
	* testsuite/gas/i386/x86-64-serialize.d: Ditto.
	* testsuite/gas/i386/x86-64-sysenter.d: Ditto.
	* testsuite/gas/i386/x86-64-tbm-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-tdx.d: Ditto.
	* testsuite/gas/i386/x86-64-tsxldtrk.d: Ditto.
	* testsuite/gas/i386/x86-64-uintr.d: Ditto.
	* testsuite/gas/i386/x86-64-vp2intersect-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-vp2intersect.d: Ditto.
	* testsuite/gas/i386/x86-64-vpclmulqdq-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-vpclmulqdq.d: Ditto.
	* testsuite/gas/i386/x86-64-waitpkg-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-waitpkg.d: Ditto.
	* testsuite/gas/i386/x86-64-wrmsrns-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-wrmsrns.d: Ditto.
	* testsuite/gas/i386/x86-64-xsavec-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-xsavec.d: Ditto.
	* testsuite/gas/i386/x86-64-xsaves-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-xsaves.d: Ditto.
	* testsuite/gas/i386/xsavec-intel.d: Ditto.
	* testsuite/gas/i386/xsavec.d: Ditto.
	* testsuite/gas/i386/xsaves-intel.d: Ditto.
	* testsuite/gas/i386/xsaves.d: Ditto.

bfd/ChangeLog:

            * elfxx-riscv.c (riscv_supported_std_z_ext): Update the version
            number of the 'Zfa' extension since it's ratified.

gas/ChangeLog:

	* testsuite/gas/riscv/x-thead-vector.d: Add tests for
	permutation instructions.
	* testsuite/gas/riscv/x-thead-vector.s: Likewise.

include/ChangeLog:

	* opcode/riscv-opc.h (MATCH_TH_VMVXS): New.

opcodes/ChangeLog:

	* riscv-opc.c: Likewise.

gas/ChangeLog:

	* testsuite/gas/riscv/x-thead-vector.d: Add tests for
	mask instructions.
	* testsuite/gas/riscv/x-thead-vector.s: Likewise.

include/ChangeLog:

	* opcode/riscv-opc.h (MATCH_TH_VMPOPCM): New.

opcodes/ChangeLog:

	* riscv-opc.c: Likewise.

gas/ChangeLog:

	* testsuite/gas/riscv/x-thead-vector.d: Add tests for
	reductions instructions.
	* testsuite/gas/riscv/x-thead-vector.s: Likewise.

opcodes/ChangeLog:

	* riscv-opc.c: Likewise.

gas/ChangeLog:

	* testsuite/gas/riscv/x-thead-vector.d: Add tests for
	floating-point arithmetic instructions.
	* testsuite/gas/riscv/x-thead-vector.s: Likewise.

include/ChangeLog:

	* opcode/riscv-opc.h (MATCH_TH_VFSQRTV): New.

opcodes/ChangeLog:

	* riscv-opc.c: Likewise.

gas/ChangeLog:

	* testsuite/gas/riscv/x-thead-vector.d: Add tests for
	fixed-point arithmetic instructions.
	* testsuite/gas/riscv/x-thead-vector.s: Likewise.

include/ChangeLog:

	* opcode/riscv-opc.h (MATCH_TH_VAADDVV): New.

opcodes/ChangeLog:

	* riscv-opc.c: Likewise.

gas/ChangeLog:

	* testsuite/gas/riscv/x-thead-vector.d: Add tests for
	integer arithmetic instructions.
	* testsuite/gas/riscv/x-thead-vector.s: Likewise.

include/ChangeLog:

	* opcode/riscv-opc.h (MATCH_TH_VADCVVM): New.

opcodes/ChangeLog:

	* riscv-opc.c: Likewise.

bfd/ChangeLog:

	* elfxx-riscv.c (riscv_multi_subset_supports): Add support
	for "XTheadZvamo" extension.
	(riscv_multi_subset_supports_ext): Likewise.

gas/ChangeLog:

	* doc/c-riscv.texi:
	* testsuite/gas/riscv/x-thead-vector-zvamo.d: New test.
	* testsuite/gas/riscv/x-thead-vector-zvamo.s: New test.

include/ChangeLog:

	* opcode/riscv-opc.h (MATCH_TH_VAMOADDWV): New.
	* opcode/riscv.h (enum riscv_insn_class): Add insn class.

opcodes/ChangeLog:

	* riscv-opc.c: Likewise.

gas/ChangeLog:

	* testsuite/gas/riscv/x-thead-vector.d: Add test.
	* testsuite/gas/riscv/x-thead-vector.s: Likewise.

include/ChangeLog:

	* opcode/riscv-opc.h (MATCH_TH_VLSEG2BV): New.

opcodes/ChangeLog:

	* riscv-opc.c: Likewise.

gas/ChangeLog:

	* testsuite/gas/riscv/x-thead-vector.d: Add tests for
	load/store instructions.
	* testsuite/gas/riscv/x-thead-vector.s: Likewise.

include/ChangeLog:

	* opcode/riscv-opc.h (MATCH_TH_VLBV): New.

opcodes/ChangeLog:

	* riscv-opc.c: Likewise.

gas/ChangeLog:

	* testsuite/gas/riscv/x-thead-vector.d: New test.
	* testsuite/gas/riscv/x-thead-vector.s: New test.

opcodes/ChangeLog:

	* riscv-opc.c: Likewise..

gas/ChangeLog:

	* config/tc-riscv.c (enum riscv_csr_class): Add the class for
	the CSRs of the "XTheadVector" extension.
	(riscv_csr_address): Likewise.
	* testsuite/gas/riscv/x-thead-vector-csr-warn.d: New test.
	* testsuite/gas/riscv/x-thead-vector-csr-warn.l: New test.
	* testsuite/gas/riscv/x-thead-vector-csr.d: New test.
	* testsuite/gas/riscv/x-thead-vector-csr.s: New test.

include/ChangeLog:

	* opcode/riscv-opc.h (DECLARE_CSR_ALIAS): Likewise.

opcodes/ChangeLog:

	* riscv-dis.c (print_insn_args): Prefix the CSRs disassembly with 'th'.

bfd/ChangeLog:

	* elfxx-riscv.c (riscv_parse_check_conflicts): The
	"XTheadVector" extension and the 'V' extension are in conflict.
	(riscv_multi_subset_supports): Likewise..
	(riscv_multi_subset_supports_ext): Likewise.

gas/ChangeLog:

	* doc/c-riscv.texi:
	* testsuite/gas/riscv/x-thead-vector-fail.d: New test.
	* testsuite/gas/riscv/x-thead-vector-fail.l: New test.
	* testsuite/gas/riscv/x-thead-vector.s: New test.

include/ChangeLog:

	* opcode/riscv.h (enum riscv_insn_class):

opcodes/ChangeLog:

	* arc-dis.c (init_arc_disasm_info): Fix calloc() call.
	* ppc-dis.c (powerpc_init_dialect): Ditto.

libctf/ChangeLog:

	* ctf-link.c (ctf_create_per_cu): Note the behaviour of
	repeatedly adding FROMs.
	(ctf_link_add_cu_mapping): Implement that behavour.

bfd/ChangeLog:

	* archures.c (bfd_mach_amdgcn_gfx1100, bfd_mach_amdgcn_gfx1101,
	bfd_mach_amdgcn_gfx1102): New.
	* bfd-in2.h (bfd_mach_amdgcn_gfx1100, bfd_mach_amdgcn_gfx1101,
	bfd_mach_amdgcn_gfx1102): New.
	* cpu-amdgcn.c (arch_info_struct): Add entries for
	bfd_mach_amdgcn_gfx1100, bfd_mach_amdgcn_gfx1101,
	bfd_mach_amdgcn_gfx1102.

binutils/ChangeLog:

	* readelf.c (decode_AMDGPU_machine_flags): Handle gfx1100,
	gfx1101, gfx1102.

include/ChangeLog:

	* elf/amdgpu.h (EF_AMDGPU_MACH_AMDGCN_GFX1100,
	EF_AMDGPU_MACH_AMDGCN_GFX1101,
	EF_AMDGPU_MACH_AMDGCN_GFX1102): New.

Co-Authored-By: Laurent Morichetti <laurent.morichetti@amd.com>
Cc: Lancelot Six <lancelot.six@amd.com>

opcodes/ChangeLog:

	* aarch64-opc.c (aarch64_sys_ins_reg_supported_p): Fix typo.
	* aarch64-tbl.h (THE): Remove.
	 (aarch64_feature_set aarch64_feature_the): Likewise.

gas/ChangeLog:

	* testsuite/gas/aarch64/illegal-sysreg-8.l: Add tests for THE
	system registers.
	* testsuite/gas/aarch64/illegal-sysreg-8.s: Likewise.

bfd/ChangeLog:

	* elf32-ppc.c (ppc_elf_relax_section): Log branch fixups.

ld/ChangeLog:

	* ld.texi (--print-map): Add new item about fixups.

gas/ChangeLog:

	* testsuite/gas/aarch64/lse128-atomic.d: New.
	* testsuite/gas/aarch64/lse128-atomic.s: Likewise.

opcodes/ChangeLog:

	* aarch64-tbl.h (ldclrp): new _LSE128_INSN entry.
	(ldclrpa):  Likewise.
	(ldclrpal): Likewise.
	(ldclrpl): Likewise.
	(ldsetp): Likewise.
	(ldsetpa): Likewise.
	(ldsetpal): Likewise.
	(ldsetpl): Likewise.
	(swpp): Likewise.
	(swppa): Likewise.
	(swppal): Likewise.
	(swppl): Likewise.
	* aarch64-asm-2.c: Regenerate.
	* aarch64-dis-2.c: Likewise.
	* aarch64-opc-2.c: Likewise.

gas/ChangeLog:

	* config/tc-aarch64.c (aarch64_features): Add new "lse128"
	entry.

include/ChangeLog:

	* include/opcode/aarch64.h (enum aarch64_feature_bit): New
	AARCH64_FEATURE_LSE128 feature bit.
	(enum aarch64_insn_class): New lse128_atomic instruction class.

opcodes/ChangeLog:

	* opcodes/aarch64-tbl.h (aarch64_feature_lse128): New.
	(LSE128): Likewise.
	(_LSE128_INSN): Likewise.

gas/ChangeLog:

	* config/tc-aarch64.c (parse_operands):

include/ChangeLog:

	* opcode/aarch64.h (enum aarch64_opnd):

opcodes/ChangeLog:

	* aarch64-opc.c (fields):
	(aarch64_print_operand):
	* aarch64-opc.h (enum aarch64_field_kind):
	* aarch64-tbl.h (AARCH64_OPERANDS):

opcodes/ChangeLog:

	* aarch64-opc.h (F_REG_128):  New flag.
	* aarch64-sys-regs.def (par_el1): Add F_REG_128 flag.
	(rcwmask_el1): Likewise.
	(rcwsmask_el1): Likewise.
	(ttbr0_el1): Likewise.
	(ttbr0_el12): Likewise.
	(ttbr0_el2): Likewise.
	(ttbr1_el1): Likewise.
	(ttbr1_el12): Likewise.
	(ttbr1_el2): Likewise.
	(vttbr_el2): Likewise.

gas/ChangeLog:

	* config/tc-aarch64.c (aarch64_features): Add "+the" feature modifier.
	* doc/c-aarch64.texi (AArch64 Extensions): Update
	documentation for `the' option.
	* testsuite/gas/aarch64/sysreg-8.s: Add tests for `the'
	associated system registers.
	* testsuite/gas/aarch64/sysreg-8.d: Likewise.

include/ChangeLog:

	* opcode/aarch64.h (enum aarch64_feature_bit): Add
	AARCH64_FEATURE_THE.

opcode/ChangeLog:

	* aarch64-opc.c (aarch64_sys_ins_reg_supported_p): Add `the'
	system register check support.
	* aarch64-sys-regs.def: Add `rcwmask_el1' and `rcwsmask_el1'
	* aarch64-tbl.h: Define `THE' preprocessor macro.

bfd/ChangeLog:

	* elfxx-riscv.c (riscv_multi_subset_supports): Added `xcvalu`
          instruction class.
	(riscv_multi_subset_supports_ext): Likewise.

gas/ChangeLog:

	* config/tc-riscv.c (validate_riscv_insn): Added the necessary
          operands for the extension.
	(riscv_ip): Likewise.
	* doc/c-riscv.texi: Noted XCValu as an additional ISA extension
          for CORE-V.
	* testsuite/gas/riscv/cv-alu-boundaries.d: New test.
	* testsuite/gas/riscv/cv-alu-boundaries.l: New test.
	* testsuite/gas/riscv/cv-alu-boundaries.s: New test.
	* testsuite/gas/riscv/cv-alu-fail-march.d: New test.
	* testsuite/gas/riscv/cv-alu-fail-march.l: New test.
	* testsuite/gas/riscv/cv-alu-fail-march.s: New test.
	* testsuite/gas/riscv/cv-alu-fail-operand-01.d: New test.
	* testsuite/gas/riscv/cv-alu-fail-operand-01.l: New test.
	* testsuite/gas/riscv/cv-alu-fail-operand-01.s: New test.
	* testsuite/gas/riscv/cv-alu-fail-operand-02.d: New test.
	* testsuite/gas/riscv/cv-alu-fail-operand-02.l: New test.
	* testsuite/gas/riscv/cv-alu-fail-operand-02.s: New test.
	* testsuite/gas/riscv/cv-alu-fail-operand-03.d: New test.
	* testsuite/gas/riscv/cv-alu-fail-operand-03.l: New test.
	* testsuite/gas/riscv/cv-alu-fail-operand-03.s: New test.
	* testsuite/gas/riscv/cv-alu-fail-operand-04.d: New test.
	* testsuite/gas/riscv/cv-alu-fail-operand-04.l: New test.
	* testsuite/gas/riscv/cv-alu-fail-operand-04.s: New test.
	* testsuite/gas/riscv/cv-alu-fail-operand-05.d: New test.
	* testsuite/gas/riscv/cv-alu-fail-operand-05.l: New test.
	* testsuite/gas/riscv/cv-alu-fail-operand-05.s: New test.
	* testsuite/gas/riscv/cv-alu-fail-operand-06.d: New test.
	* testsuite/gas/riscv/cv-alu-fail-operand-06.l: New test.
	* testsuite/gas/riscv/cv-alu-fail-operand-06.s: New test.
	* testsuite/gas/riscv/cv-alu-fail-operand-07.d: New test.
	* testsuite/gas/riscv/cv-alu-fail-operand-07.l: New test.
	* testsuite/gas/riscv/cv-alu-fail-operand-07.s: New test.
	* testsuite/gas/riscv/cv-alu-insns.d: New test.
	* testsuite/gas/riscv/cv-alu-insns.s: New test.

opcodes/ChangeLog:

	* riscv-dis.c (print_insn_args): Disassemble xcb operand.
	* riscv-opc.c: Defined the MASK and added XCValu instructions.

include/ChangeLog:

	* opcode/riscv-opc.h: Added corresponding MATCH and MASK macros
          for XCValu.
	* opcode/riscv.h: Added corresponding EXTRACT and ENCODE macros
          for XCValu.
	(enum riscv_insn_class): Added the XCValu instruction class.

bfd/ChangeLog:

	* elfxx-riscv.c (riscv_multi_subset_supports): Added `xcvmac`
          instruction class.
	(riscv_multi_subset_supports_ext): Likewise.

gas/ChangeLog:

	* config/tc-riscv.c (validate_riscv_insn): Added the necessary
          operands for the extension.
	(riscv_ip): Likewise.
	* doc/c-riscv.texi: Noted XCVmac as an additional ISA extension
          for CORE-V.
	* testsuite/gas/riscv/cv-mac-fail-march.d: New test.
	* testsuite/gas/riscv/cv-mac-fail-march.l: New test.
	* testsuite/gas/riscv/cv-mac-fail-march.s: New test.
	* testsuite/gas/riscv/cv-mac-fail-operand.d: New test.
	* testsuite/gas/riscv/cv-mac-fail-operand.l: New test.
	* testsuite/gas/riscv/cv-mac-fail-operand.s: New test.
	* testsuite/gas/riscv/cv-mac-insns.d: New test.
	* testsuite/gas/riscv/cv-mac-insns.s: New test.

opcodes/ChangeLog:

	* riscv-dis.c (print_insn_args): Disassemble information with
          the EXTRACT macro implemented.
	* riscv-opc.c: Defined the MASK and added
          XCVmac instructions.

include/ChangeLog:

	* opcode/riscv-opc.h: Added corresponding MATCH and MASK macros
          for XCVmac.
	* opcode/riscv.h: Added corresponding EXTRACT and ENCODE macros
          for uimm.
	(enum riscv_insn_class): Added the XCVmac instruction class.

gas/ChangeLog:

	* NEWS: Support Intel USER_MSR.
	* config/tc-i386.c (smallest_imm_type): Reject imm32 in 64bit
	mode.
	(build_vex_prefix): Add VEXMAP7.
	(md_assemble): Handling the imm32 of USER_MSR.
	(match_template): Handling the unusual immediate.
	* doc/c-i386.texi: Document .user_msr.
	* testsuite/gas/i386/i386.exp: Run USER_MSR tests.
	* testsuite/gas/i386/x86-64.exp: Ditto.
	* testsuite/gas/i386/user_msr-inval.l: New test.
	* testsuite/gas/i386/user_msr-inval.s: Ditto.
	* testsuite/gas/i386/x86-64-user_msr-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-user_msr-inval.l: Ditto.
	* testsuite/gas/i386/x86-64-user_msr-inval.s: Ditto.
	* testsuite/gas/i386/x86-64-user_msr.d: Ditto.
	* testsuite/gas/i386/x86-64-user_msr.s: Ditto.

opcodes/ChangeLog:
	* i386-dis.c (struct instr_info): Add a new attribute
	has_skipped_modrm.
	(Gq): New.
	(Rq): Ditto.
	(q_mm_mode): Ditto.
	(Nq): Change mode from q_mode to q_mm_mode.
	(VEX_LEN_TABLE):
	(get_valid_dis386): Add VEX_MAP7 in VEX prefix.
	and handle the map7_f8 for save space.
	(OP_Skip_MODRM): Set has_skipped_modrm.
	(OP_E): Skip codep++ when has skipped modrm byte.
	(OP_R): Support q_mode and q_mm_mode.
	(REG_VEX_MAP7_F8_L_0_W_0): New.
	(PREFIX_VEX_MAP7_F8_L_0_W_0_R_0_X86_64): Ditto.
	(X86_64_VEX_MAP7_F8_L_0_W_0_R_0): Ditto.
	(VEX_LEN_MAP7_F8): Ditto.
	(VEX_W_MAP7_F8_L_0): Ditto.
	(MOD_0F38F8): Ditto.
	(PREFIX_0F38F8_M_0): Ditto.
	(PREFIX_0F38F8_M_1_X86_64): Ditto.
	(X86_64_0F38F8_M_1): Ditto.
	(PREFIX_0F38F8): Remove.
	(prefix_table): Add PREFIX_0F38F8_M_1_X86_64.
	Remove PREFIX_0F38F8.
	(reg_table): Add REG_VEX_MAP7_F8_L_0_W_0,
	PREFIX_VEX_MAP7_F8_L_0_W_0_R_0_X86_64.
	(x86_64_table): Add X86_64_0F38F8_PREFIX_3_M_1,
	X86_64_VEX_MAP7_F8_L_0_W_0_R_0 and X86_64_0F38F8_M_1.
	(vex_table): Add VEX_MAP7.
	(vex_len_table): Add VEX_LEN_MAP7_F8,
	VEX_W_MAP7_F8_L_0.
	(mod_table): New entry for USER_MSR and
	add MOD_0F38F8.
	* i386-gen.c (cpu_flag_init): Add CPU_USER_MSR_FLAGS and
	CPU_ANY_USER_MSR_FLAGS. Add add VEXMAP7.
	* i386-init.h: Regenerated.
	* i386-mnem.h: Ditto.
	* i386-opc.h (SPACE_VEXMAP7): New.
	(CPU_USER_MSR_FLAGS): Ditoo.
	(CPU_ANY_USER_MSR_FLAGS): Ditto.
	(i386_cpu_flags): Add cpuuser_msr.
	* i386-opc.tbl: Add USER_MSR instructions.
	* i386-tbl.h: Regenerated.

binutils/ChangeLog:

	* objcopy.c (copy_main): Set separator to "," between <reserve>
	and <commit> for --heap and --stack.
	* doc/binutils.texi: Add <commit> for --heap and --stack.

libctf/ChangeLog:

	PR libctf/30985
	* ctf-create.c (ctf_dtd_lookup): Traverse to parents if necessary.
	(ctf_set_array): Likewise.  Report errors on the child; require
	both parent and child to be writable.
	(ctf_add_enumerator): Likewise.
	(ctf_add_member_offset): Likewise.  Prohibit addition of child types
	to structs in the parent.
	(ctf_add_member_encoded): Do not dereference a NULL dtd: report
	ECTF_BADID instead.
	* ctf-string.c (ctf_str_add_ref_internal): Report ENOMEM on the
	dict if addition of a string ref fails.
	* testsuite/libctf-writable/parent-child-dtd-crash-lib.c: New library.
	* testsuite/libctf-writable/parent-child-dtd-enum.*: New test.
	* testsuite/libctf-writable/parent-child-dtd-enumerator.*: New test.
	* testsuite/libctf-writable/parent-child-dtd-member-encoded.*: New test.
	* testsuite/libctf-writable/parent-child-dtd-member-offset.*: New test.
	* testsuite/libctf-writable/parent-child-dtd-set-array.*: New test.
	* testsuite/libctf-writable/parent-child-dtd-struct.*: New test.
	* testsuite/libctf-writable/parent-child-dtd-union.*: New test.

include/ChangeLog:

	* opcode/riscv-opc.h (DECLARE_INSN): Remove semicolons from the
	end of each entry.

include/ChangeLog:

	* opcode/riscv-opc.h: Fix typo.

gas/ChangeLog:

	* config/tc-riscv.c (riscv_set_abi_by_arch): Update the error
	message.  (md_parse_option): Accept "lp64e".
	* doc/c-riscv.texi: Update the documentation to allow "lp64e".
	* testsuite/gas/riscv/mabi-fail-rv32e-lp64f.l:
	Change error message.
	* testsuite/gas/riscv/mabi-fail-rv32e-lp64d.l: Likewise.
	* testsuite/gas/riscv/mabi-fail-rv32e-lp64q.l: Likewise.

bfd/ChangeLog:

	* elfxx-riscv.c (riscv_parse_check_conflicts): Remove RV64E
	conflict since the ratified 'E' base ISAs include RV64E.

gas/ChangeLog:

	* testsuite/gas/riscv/march-fail-base-02.d: Removed.
	* testsuite/gas/riscv/march-fail-base-02.l: Removed.

ld/ChangeLog:

	* emultempl/nto.em (nto_lookup_QNX_note_section): Replace
	bfd_malloc by xmalloc.

ld/ChangeLog:

        * emultempl/nto.em: Add warning when several QNX .note are
        detected.

ld/ChangeLog:

        * emultempl/nto.em: Move --lazy-stack warning before missing
        -zstack-size skip.

ld/ChangeLog:

        * emultempl/nto.em (nto_create_QNX_note_section): New Function.
        (nto_lookup_QNX_note_section): New Function.
        (nto_add_note_section): Move the creation of the note section
        in the above new functions.
        (nto_create_output_section_statements): rename nto_after_open
        * testsuite/ld-aarch64/aarch64-nto.exp: add new test.
        * testsuite/ld-aarch64/nto-stack-note-3.d: New test.
        * testsuite/ld-aarch64/nto-stack-note.s: New test.

