[Pkg-mono-svn-commits] [mono] 04/05: [ppc] some 32bit CPUs trap on std, use stw instead
Jo Shields
directhex at moszumanska.debian.org
Thu Nov 10 12:54:18 UTC 2016
This is an automated email from the git hooks/post-receive script.
directhex pushed a commit to branch master-patches/fix-ppc
in repository mono.
commit 058ed9edb5a21e2a8a16e666f3b157f16d3c520e
Author: Bernhard Urban <bernhard.urban at xamarin.com>
Date: Wed Nov 9 15:40:41 2016 +0100
[ppc] some 32bit CPUs trap on std, use stw instead
(cherry picked from commit 584138b30967f6ac8bb9ebab968dd32c740de0a9)
---
mono/utils/mono-context.h | 68 +++++++++++++++++++++++------------------------
1 file changed, 34 insertions(+), 34 deletions(-)
diff --git a/mono/utils/mono-context.h b/mono/utils/mono-context.h
index 2704c86..71c6df8 100644
--- a/mono/utils/mono-context.h
+++ b/mono/utils/mono-context.h
@@ -476,40 +476,40 @@ typedef struct {
#define MONO_CONTEXT_GET_CURRENT(ctx) \
__asm__ __volatile__( \
- "std 0, 0(%0)\n" \
- "std 1, 4(%0)\n" \
- "std 0, 4*0+8(%0)\n" \
- "std 1, 4*1+8(%0)\n" \
- "std 2, 4*2+8(%0)\n" \
- "std 3, 4*3+8(%0)\n" \
- "std 4, 4*4+8(%0)\n" \
- "std 5, 4*5+8(%0)\n" \
- "std 6, 4*6+8(%0)\n" \
- "std 7, 4*7+8(%0)\n" \
- "std 8, 4*8+8(%0)\n" \
- "std 9, 4*9+8(%0)\n" \
- "std 10, 4*10+8(%0)\n" \
- "std 11, 4*11+8(%0)\n" \
- "std 12, 4*12+8(%0)\n" \
- "std 13, 4*13+8(%0)\n" \
- "std 14, 4*14+8(%0)\n" \
- "std 15, 4*15+8(%0)\n" \
- "std 16, 4*16+8(%0)\n" \
- "std 17, 4*17+8(%0)\n" \
- "std 18, 4*18+8(%0)\n" \
- "std 19, 4*19+8(%0)\n" \
- "std 20, 4*20+8(%0)\n" \
- "std 21, 4*21+8(%0)\n" \
- "std 22, 4*22+8(%0)\n" \
- "std 23, 4*23+8(%0)\n" \
- "std 24, 4*24+8(%0)\n" \
- "std 25, 4*25+8(%0)\n" \
- "std 26, 4*26+8(%0)\n" \
- "std 27, 4*27+8(%0)\n" \
- "std 28, 4*28+8(%0)\n" \
- "std 29, 4*29+8(%0)\n" \
- "std 30, 4*30+8(%0)\n" \
- "std 31, 4*31+8(%0)\n" \
+ "stw 0, 0(%0)\n" \
+ "stw 1, 4(%0)\n" \
+ "stw 0, 4*0+8(%0)\n" \
+ "stw 1, 4*1+8(%0)\n" \
+ "stw 2, 4*2+8(%0)\n" \
+ "stw 3, 4*3+8(%0)\n" \
+ "stw 4, 4*4+8(%0)\n" \
+ "stw 5, 4*5+8(%0)\n" \
+ "stw 6, 4*6+8(%0)\n" \
+ "stw 7, 4*7+8(%0)\n" \
+ "stw 8, 4*8+8(%0)\n" \
+ "stw 9, 4*9+8(%0)\n" \
+ "stw 10, 4*10+8(%0)\n" \
+ "stw 11, 4*11+8(%0)\n" \
+ "stw 12, 4*12+8(%0)\n" \
+ "stw 13, 4*13+8(%0)\n" \
+ "stw 14, 4*14+8(%0)\n" \
+ "stw 15, 4*15+8(%0)\n" \
+ "stw 16, 4*16+8(%0)\n" \
+ "stw 17, 4*17+8(%0)\n" \
+ "stw 18, 4*18+8(%0)\n" \
+ "stw 19, 4*19+8(%0)\n" \
+ "stw 20, 4*20+8(%0)\n" \
+ "stw 21, 4*21+8(%0)\n" \
+ "stw 22, 4*22+8(%0)\n" \
+ "stw 23, 4*23+8(%0)\n" \
+ "stw 24, 4*24+8(%0)\n" \
+ "stw 25, 4*25+8(%0)\n" \
+ "stw 26, 4*26+8(%0)\n" \
+ "stw 27, 4*27+8(%0)\n" \
+ "stw 28, 4*28+8(%0)\n" \
+ "stw 29, 4*29+8(%0)\n" \
+ "stw 30, 4*30+8(%0)\n" \
+ "stw 31, 4*31+8(%0)\n" \
"stfd 0, 8*0+4*32+8(%0)\n" \
"stfd 1, 8*1+4*32+8(%0)\n" \
"stfd 2, 8*2+4*32+8(%0)\n" \
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mono/packages/mono.git
More information about the Pkg-mono-svn-commits
mailing list