Rename the PPC xvcvbf16sp instruction to xvcvbf16spn.

This commit is contained in:
Nick Clifton 2020-08-24 15:12:48 +01:00
parent 7bb2daa612
commit d62f898ae7
2 changed files with 44 additions and 5 deletions

View File

@ -0,0 +1,32 @@
diff -rup binutils.orig/gas/testsuite/gas/ppc/vsx4.d binutils-2.35/gas/testsuite/gas/ppc/vsx4.d
--- binutils.orig/gas/testsuite/gas/ppc/vsx4.d 2020-08-24 13:52:14.230454823 +0100
+++ binutils-2.35/gas/testsuite/gas/ppc/vsx4.d 2020-08-24 13:54:15.331718297 +0100
@@ -7,6 +7,6 @@
Disassembly of section \.text:
0+0 <vsx4>:
-.*: (f0 50 6f 6f|6f 6f 50 f0) xvcvbf16sp vs34,vs45
+.*: (f0 50 6f 6f|6f 6f 50 f0) xvcvbf16spn vs34,vs45
.*: (f1 f1 27 6f|6f 27 f1 f1) xvcvspbf16 vs47,vs36
#pass
diff -rup binutils.orig/gas/testsuite/gas/ppc/vsx4.s binutils-2.35/gas/testsuite/gas/ppc/vsx4.s
--- binutils.orig/gas/testsuite/gas/ppc/vsx4.s 2020-08-24 13:52:14.230454823 +0100
+++ binutils-2.35/gas/testsuite/gas/ppc/vsx4.s 2020-08-24 13:54:27.779642594 +0100
@@ -1,4 +1,4 @@
.text
vsx4:
- xvcvbf16sp 34,45
+ xvcvbf16spn 34,45
xvcvspbf16 47,36
diff -rup binutils.orig/opcodes/ppc-opc.c binutils-2.35/opcodes/ppc-opc.c
--- binutils.orig/opcodes/ppc-opc.c 2020-08-24 13:52:13.709457991 +0100
+++ binutils-2.35/opcodes/ppc-opc.c 2020-08-24 13:53:46.810891761 +0100
@@ -8306,7 +8306,7 @@ const struct powerpc_opcode powerpc_opco
{"xvxexpsp", XX2VA(60,475,8),XX2_MASK, PPCVSX3, PPCVLE, {XT6, XB6}},
{"xvxsigsp", XX2VA(60,475,9),XX2_MASK, PPCVSX3, PPCVLE, {XT6, XB6}},
{"xxbrw", XX2VA(60,475,15),XX2_MASK, PPCVSX3, PPCVLE, {XT6, XB6}},
-{"xvcvbf16sp", XX2VA(60,475,16),XX2_MASK, PPCVSX4, PPCVLE, {XT6, XB6}},
+{"xvcvbf16spn", XX2VA(60,475,16),XX2_MASK, PPCVSX4, PPCVLE, {XT6, XB6}},
{"xvcvspbf16", XX2VA(60,475,17),XX2_MASK, PPCVSX4, PPCVLE, {XT6, XB6}},
{"xxbrd", XX2VA(60,475,23),XX2_MASK, PPCVSX3, PPCVLE, {XT6, XB6}},
{"xvcvhpsp", XX2VA(60,475,24),XX2_MASK, PPCVSX3, PPCVLE, {XT6, XB6}},

View File

@ -2,7 +2,7 @@
Summary: A GNU collection of binary utilities Summary: A GNU collection of binary utilities
Name: %{?cross}binutils%{?_with_debug:-debug} Name: %{?cross}binutils%{?_with_debug:-debug}
Version: 2.35 Version: 2.35
Release: 10%{?dist} Release: 11%{?dist}
License: GPLv3+ License: GPLv3+
URL: https://sourceware.org/binutils URL: https://sourceware.org/binutils
@ -185,21 +185,21 @@ Patch09: binutils-do-not-link-with-static-libstdc++.patch
Patch10: binutils-attach-to-group.patch Patch10: binutils-attach-to-group.patch
# Purpose: Allow OS specific sections in section groups. # Purpose: Allow OS specific sections in section groups.
# Lifetime: Fixed in 2.35 (maybe) # Lifetime: Fixed in 2.36 (maybe)
Patch12: binutils-special-sections-in-groups.patch Patch12: binutils-special-sections-in-groups.patch
# Purpose: Fix linker testsuite failures. # Purpose: Fix linker testsuite failures.
# Lifetime: Fixed in 2.35 (maybe) # Lifetime: Fixed in 2.36 (maybe)
Patch13: binutils-fix-testsuite-failures.patch Patch13: binutils-fix-testsuite-failures.patch
# Purpose: Stop gold from aborting when input sections with the same name # Purpose: Stop gold from aborting when input sections with the same name
# have different flags. # have different flags.
# Lifetime: Fixed in 2.35 (maybe) # Lifetime: Fixed in 2.36 (maybe)
Patch14: binutils-gold-mismatched-section-flags.patch Patch14: binutils-gold-mismatched-section-flags.patch
# Purpose: Add a check to the GOLD linker for a corrupt input file # Purpose: Add a check to the GOLD linker for a corrupt input file
# with a fuzzed section offset. # with a fuzzed section offset.
# Lifetime: Fixed in 2.35 (maybe) # Lifetime: Fixed in 2.36 (maybe)
Patch15: binutils-CVE-2019-1010204.patch Patch15: binutils-CVE-2019-1010204.patch
# Purpose: Change the gold configuration script to only warn about # Purpose: Change the gold configuration script to only warn about
@ -237,6 +237,10 @@ Patch24: binutils-aarch64-plt-sh_entsize.patch
Patch25: binutils-add-sym-cache-to-elf-link-hash.patch Patch25: binutils-add-sym-cache-to-elf-link-hash.patch
Patch26: binutils-elf-add-objects.patch Patch26: binutils-elf-add-objects.patch
# Purpose: Rename the PPC xvcvbf16sp instruction to xvcvbf16spn
# Lifetime: Fixed in 2.36
Patch27: binutils-ppc-rename-xvcvbf16sp-to-xvcvbf16spn.patch
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
Provides: bundled(libiberty) Provides: bundled(libiberty)
@ -810,6 +814,9 @@ exit 0
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
%changelog %changelog
* Mon Aug 24 2020 Nick Clifton <nickc@redhat.com> - 2.35-11
- Rename the PPC xvcvbf16sp instruction to xvcvbf16spn.
* Fri Jul 31 2020 Jeff Law <nickc@redhat.com> - 2.35-10 * Fri Jul 31 2020 Jeff Law <nickc@redhat.com> - 2.35-10
- Re-enable LTO - Re-enable LTO