Run x86_64 assembler tests for znver5 architecture extension.

Resolves: RHEL-23798
This commit is contained in:
Nick Clifton 2024-02-22 13:00:16 +00:00
parent 8b894dd9fd
commit 4239af2499
2 changed files with 22 additions and 1 deletions

View File

@ -156,3 +156,21 @@ diff -rupN binutils.orig/opcodes/i386-init.h binutils-2.40/opcodes/i386-init.h
#define CPU_BTVER1_FLAGS \ #define CPU_BTVER1_FLAGS \
{ { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0, \ { { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0, \
0, 1, 0, 1, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \ 0, 1, 0, 1, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \
--- binutils.orig/gas/testsuite/gas/i386/i386.exp 2024-02-22 12:25:43.212505914 +0000
+++ binutils-2.40/gas/testsuite/gas/i386/i386.exp 2024-02-22 12:28:26.254563823 +0000
@@ -922,6 +922,7 @@ if [gas_64_check] then {
run_dump_test "x86-64-arch-4"
run_dump_test "x86-64-arch-4-1"
run_dump_test "rmpquery"
+ run_dump_test "x86-64-arch-5"
run_dump_test "x86-64-arch-2-lzcnt"
run_dump_test "x86-64-arch-2-prefetchw"
run_dump_test "x86-64-arch-2-bdver1"
@@ -932,6 +933,7 @@ if [gas_64_check] then {
run_dump_test "x86-64-arch-3-znver2"
run_dump_test "x86-64-arch-4-znver3"
run_dump_test "x86-64-arch-4-znver4"
+ run_dump_test "x86-64-arch-5-znver5"
run_dump_test "x86-64-arch-2-btver1"
run_dump_test "x86-64-arch-2-btver2"
run_list_test "x86-64-arch-2-1" "-march=generic64 -I${srcdir}/$subdir -al"

View File

@ -9,7 +9,7 @@ BuildRequires: scl-utils-build
Summary: A GNU collection of binary utilities Summary: A GNU collection of binary utilities
Name: %{?scl_prefix}binutils Name: %{?scl_prefix}binutils
Version: 2.40 Version: 2.40
Release: 20%{?dist} Release: 21%{?dist}
License: GPLv3+ License: GPLv3+
URL: https://sourceware.org/binutils URL: https://sourceware.org/binutils
@ -1313,6 +1313,9 @@ exit 0
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
%changelog %changelog
* Thu Feb 22 2024 Nick Clifton <nickc@redhat.com> - 2.40-21
- Run x86_64 assembler tests for znver5 architecture extension. (RHEL-23798)
* Tue Feb 13 2024 Nick Clifton <nickc@redhat.com> - 2.40-20 * Tue Feb 13 2024 Nick Clifton <nickc@redhat.com> - 2.40-20
- Add support for AMD's znver5 architecture extension. (RHEL-23798) - Add support for AMD's znver5 architecture extension. (RHEL-23798)