summaryrefslogtreecommitdiff
path: root/packages/glibc/2.17/0069-uses-power6-mtfsf-when-not-supported.patch
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2022-02-11 02:00:59 (GMT)
committerAlexey Neyman <stilor@att.net>2022-02-11 08:47:51 (GMT)
commit86c2982568de1ad4d4cc12a65b19231331484405 (patch)
tree2e0b3fb78c30877c0c152d59d0e0fff817b73822 /packages/glibc/2.17/0069-uses-power6-mtfsf-when-not-supported.patch
parent1210b0c2f45e32ef0867ca00e16b6aadb6a81bf9 (diff)
Run patches thru `manage-packages -P`
This refreshes the line numbers, removes any fuzz (which would make any future forward ports easier) and standardizes the patch/file headers (which makes them easier to read). Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'packages/glibc/2.17/0069-uses-power6-mtfsf-when-not-supported.patch')
-rw-r--r--packages/glibc/2.17/0069-uses-power6-mtfsf-when-not-supported.patch25
1 files changed, 13 insertions, 12 deletions
diff --git a/packages/glibc/2.17/0069-uses-power6-mtfsf-when-not-supported.patch b/packages/glibc/2.17/0069-uses-power6-mtfsf-when-not-supported.patch
index 8864739..d99da10 100644
--- a/packages/glibc/2.17/0069-uses-power6-mtfsf-when-not-supported.patch
+++ b/packages/glibc/2.17/0069-uses-power6-mtfsf-when-not-supported.patch
@@ -6,11 +6,14 @@
* sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
(__novec_swapcontext): Likewise.
-diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S b/sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
-index e47a57a..a1ed419 100644
+---
+ sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S | 18 ++++++++++------
+ sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S | 18 ++++++++++++----
+ 2 files changed, 26 insertions(+), 10 deletions(-)
+
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
-@@ -79,12 +79,13 @@ ENTRY(__novec_setcontext)
+@@ -80,12 +80,13 @@
lfd fp31,(SIGCONTEXT_FP_REGS+(PT_R31*8))(r31)
lfd fp30,(SIGCONTEXT_FP_REGS+(PT_R30*8))(r31)
@@ -26,7 +29,7 @@ index e47a57a..a1ed419 100644
/* Availability of DFP indicates a 64-bit FPSCR. */
andi. r6,r5,PPC_FEATURE_HAS_DFP
beq 5f
-@@ -95,8 +96,10 @@ ENTRY(__novec_setcontext)
+@@ -96,8 +97,10 @@
5:
mtfsf 0xff,fp0
6:
@@ -38,7 +41,7 @@ index e47a57a..a1ed419 100644
lfd fp29,(SIGCONTEXT_FP_REGS+(PT_R29*8))(r31)
lfd fp28,(SIGCONTEXT_FP_REGS+(PT_R28*8))(r31)
lfd fp27,(SIGCONTEXT_FP_REGS+(PT_R27*8))(r31)
-@@ -362,12 +365,13 @@ L(has_no_vec):
+@@ -363,12 +366,13 @@
lfd fp31,(SIGCONTEXT_FP_REGS+(PT_R31*8))(r31)
lfd fp30,(SIGCONTEXT_FP_REGS+(PT_R30*8))(r31)
@@ -54,7 +57,7 @@ index e47a57a..a1ed419 100644
/* Availability of DFP indicates a 64-bit FPSCR. */
andi. r6,r5,PPC_FEATURE_HAS_DFP
beq 7f
-@@ -378,8 +382,10 @@ L(has_no_vec):
+@@ -379,8 +383,10 @@
7:
mtfsf 0xff,fp0
8:
@@ -66,11 +69,9 @@ index e47a57a..a1ed419 100644
lfd fp29,(SIGCONTEXT_FP_REGS+(PT_R29*8))(r31)
lfd fp28,(SIGCONTEXT_FP_REGS+(PT_R28*8))(r31)
lfd fp27,(SIGCONTEXT_FP_REGS+(PT_R27*8))(r31)
-diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S b/sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
-index bc02a21..b25904d 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
-@@ -173,6 +173,10 @@ ENTRY(__novec_swapcontext)
+@@ -174,6 +174,10 @@
lfd fp0,(SIGCONTEXT_FP_REGS+(32*8))(r31)
lfd fp31,(SIGCONTEXT_FP_REGS+(PT_R31*8))(r31)
lfd fp30,(SIGCONTEXT_FP_REGS+(PT_R30*8))(r31)
@@ -81,7 +82,7 @@ index bc02a21..b25904d 100644
# ifdef _ARCH_PWR6
/* Use the extended four-operand version of the mtfsf insn. */
mtfsf 0xff,fp0,1,0
-@@ -189,8 +193,10 @@ ENTRY(__novec_swapcontext)
+@@ -190,8 +194,10 @@
5:
mtfsf 0xff,fp0
6:
@@ -93,7 +94,7 @@ index bc02a21..b25904d 100644
lfd fp29,(SIGCONTEXT_FP_REGS+(PT_R29*8))(r31)
lfd fp28,(SIGCONTEXT_FP_REGS+(PT_R28*8))(r31)
lfd fp27,(SIGCONTEXT_FP_REGS+(PT_R27*8))(r31)
-@@ -652,12 +658,14 @@ L(has_no_vec2):
+@@ -653,12 +659,14 @@
lfd fp0,(SIGCONTEXT_FP_REGS+(32*8))(r31)
lfd fp31,(SIGCONTEXT_FP_REGS+(PT_R31*8))(r31)
lfd fp30,(SIGCONTEXT_FP_REGS+(PT_R30*8))(r31)
@@ -110,7 +111,7 @@ index bc02a21..b25904d 100644
/* Availability of DFP indicates a 64-bit FPSCR. */
andi. r6,r8,PPC_FEATURE_HAS_DFP
beq 7f
-@@ -668,8 +676,10 @@ L(has_no_vec2):
+@@ -669,8 +677,10 @@
7:
mtfsf 0xff,fp0
8: