From 4239af24996a0e0568292877ace42f4ee5aba571 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 22 Feb 2024 13:00:16 +0000 Subject: [PATCH] Run x86_64 assembler tests for znver5 architecture extension. Resolves: RHEL-23798 --- binutils-AMD-znver5.patch | 18 ++++++++++++++++++ binutils.spec | 5 ++++- 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/binutils-AMD-znver5.patch b/binutils-AMD-znver5.patch index c52b7ca..c29f35f 100644 --- a/binutils-AMD-znver5.patch +++ b/binutils-AMD-znver5.patch @@ -156,3 +156,21 @@ diff -rupN binutils.orig/opcodes/i386-init.h binutils-2.40/opcodes/i386-init.h #define CPU_BTVER1_FLAGS \ { { 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, \ +--- 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" diff --git a/binutils.spec b/binutils.spec index 1b73dee..bd815b1 100644 --- a/binutils.spec +++ b/binutils.spec @@ -9,7 +9,7 @@ BuildRequires: scl-utils-build Summary: A GNU collection of binary utilities Name: %{?scl_prefix}binutils Version: 2.40 -Release: 20%{?dist} +Release: 21%{?dist} License: GPLv3+ URL: https://sourceware.org/binutils @@ -1313,6 +1313,9 @@ exit 0 #---------------------------------------------------------------------------- %changelog +* Thu Feb 22 2024 Nick Clifton - 2.40-21 +- Run x86_64 assembler tests for znver5 architecture extension. (RHEL-23798) + * Tue Feb 13 2024 Nick Clifton - 2.40-20 - Add support for AMD's znver5 architecture extension. (RHEL-23798)