summaryrefslogtreecommitdiffstats
path: root/meta-microblaze/recipes-devtools/gcc/gcc-10/0009-Patch-microblaze-Fix-atomic-side-effects.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-microblaze/recipes-devtools/gcc/gcc-10/0009-Patch-microblaze-Fix-atomic-side-effects.patch')
-rw-r--r--meta-microblaze/recipes-devtools/gcc/gcc-10/0009-Patch-microblaze-Fix-atomic-side-effects.patch19
1 files changed, 10 insertions, 9 deletions
diff --git a/meta-microblaze/recipes-devtools/gcc/gcc-10/0009-Patch-microblaze-Fix-atomic-side-effects.patch b/meta-microblaze/recipes-devtools/gcc/gcc-10/0009-Patch-microblaze-Fix-atomic-side-effects.patch
index ae24c080..45d93cee 100644
--- a/meta-microblaze/recipes-devtools/gcc/gcc-10/0009-Patch-microblaze-Fix-atomic-side-effects.patch
+++ b/meta-microblaze/recipes-devtools/gcc/gcc-10/0009-Patch-microblaze-Fix-atomic-side-effects.patch
@@ -1,11 +1,12 @@
1From 1905061b279e6fe5fd9861fc490fd4075edac4a8 Mon Sep 17 00:00:00 2001 1From eeeb8ecda7cb71c033c850ce36162c92c7d0b781 Mon Sep 17 00:00:00 2001
2From: Mahesh Bodapati <mbodapat@xilinx.com> 2From: Mahesh Bodapati <mbodapat@xilinx.com>
3Date: Thu, 12 Jan 2017 16:41:43 +0530 3Date: Thu, 12 Jan 2017 16:41:43 +0530
4Subject: [PATCH 09/63] [Patch, microblaze]: Fix atomic side effects. In 4Subject: [PATCH 09/58] [Patch, microblaze]: Fix atomic side effects.
5 atomic_compare_and_swapsi, add side effects to prevent incorrect assumptions 5
6 during optimization. Previously, the outputs were considered unused; this 6In atomic_compare_and_swapsi, add side effects to prevent incorrect
7 generated assembly code with undefined side effects after invocation of the 7assumptions during optimization. Previously, the outputs were
8 atomic. 8considered unused; this generated assembly code with
9undefined side effects after invocation of the atomic.
9 10
10Signed-off-by: Kirk Meyer <kirk.meyer@sencore.com> 11Signed-off-by: Kirk Meyer <kirk.meyer@sencore.com>
11Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com> 12Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com>
@@ -18,7 +19,7 @@ Conflicts:
18 2 files changed, 16 insertions(+), 8 deletions(-) 19 2 files changed, 16 insertions(+), 8 deletions(-)
19 20
20diff --git a/gcc/config/microblaze/microblaze.md b/gcc/config/microblaze/microblaze.md 21diff --git a/gcc/config/microblaze/microblaze.md b/gcc/config/microblaze/microblaze.md
21index 183afff..7a40c53 100644 22index 7049acd1dcd..eba2776ae56 100644
22--- a/gcc/config/microblaze/microblaze.md 23--- a/gcc/config/microblaze/microblaze.md
23+++ b/gcc/config/microblaze/microblaze.md 24+++ b/gcc/config/microblaze/microblaze.md
24@@ -43,6 +43,9 @@ 25@@ -43,6 +43,9 @@
@@ -32,7 +33,7 @@ index 183afff..7a40c53 100644
32 33
33 (define_c_enum "unspec" [ 34 (define_c_enum "unspec" [
34diff --git a/gcc/config/microblaze/sync.md b/gcc/config/microblaze/sync.md 35diff --git a/gcc/config/microblaze/sync.md b/gcc/config/microblaze/sync.md
35index 6f16ca6..bebab5c 100644 36index 76f530b9d3b..24cd67e1fdb 100644
36--- a/gcc/config/microblaze/sync.md 37--- a/gcc/config/microblaze/sync.md
37+++ b/gcc/config/microblaze/sync.md 38+++ b/gcc/config/microblaze/sync.md
38@@ -18,14 +18,19 @@ 39@@ -18,14 +18,19 @@
@@ -64,5 +65,5 @@ index 6f16ca6..bebab5c 100644
64 "" 65 ""
65 { 66 {
66-- 67--
672.7.4 682.17.1
68 69