[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v7 02/26] tcg/sparc: Use the proper compilation flag
From: |
Richard Henderson |
Subject: |
[Qemu-devel] [PATCH v7 02/26] tcg/sparc: Use the proper compilation flags for 32-bit |
Date: |
Fri, 26 May 2017 14:16:14 -0700 |
We have required a v9 cpu since 9b9c37c36439ee0452632253dac7a31897f27f70.
However, the flags we were using did not reliably enable v8plus, which
meant that the compiler didn't know it could inline 64-bit atomics.
Reviewed-by: Alex Bennée <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>
---
configure | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/configure b/configure
index 1a5ee4b..376c48e 100755
--- a/configure
+++ b/configure
@@ -1212,12 +1212,12 @@ case "$cpu" in
LDFLAGS="-m64 $LDFLAGS"
;;
sparc)
- LDFLAGS="-m32 $LDFLAGS"
- CPU_CFLAGS="-m32 -mcpu=ultrasparc"
+ CPU_CFLAGS="-m32 -mv8plus -mcpu=ultrasparc"
+ LDFLAGS="-m32 -mv8plus $LDFLAGS"
;;
sparc64)
- LDFLAGS="-m64 $LDFLAGS"
CPU_CFLAGS="-m64 -mcpu=ultrasparc"
+ LDFLAGS="-m64 $LDFLAGS"
;;
s390)
CPU_CFLAGS="-m31"
--
2.9.4
- [Qemu-devel] [PATCH v7 00/26] tcg cross-tb optimizations, Richard Henderson, 2017/05/26
- [Qemu-devel] [PATCH v7 01/26] target/nios2: Fix 64-bit ilp32 compilation, Richard Henderson, 2017/05/26
- [Qemu-devel] [PATCH v7 02/26] tcg/sparc: Use the proper compilation flags for 32-bit,
Richard Henderson <=
- [Qemu-devel] [PATCH v7 03/26] qemu/atomic: Loosen restrictions for 64-bit ILP32 hosts, Richard Henderson, 2017/05/26
- [Qemu-devel] [PATCH v7 05/26] tcg/i386: implement goto_ptr, Richard Henderson, 2017/05/26
- [Qemu-devel] [PATCH v7 06/26] target/arm: optimize cross-page direct jumps in softmmu, Richard Henderson, 2017/05/26
- [Qemu-devel] [PATCH v7 04/26] tcg: Introduce goto_ptr opcode and tcg_gen_lookup_and_goto_ptr, Richard Henderson, 2017/05/26
- [Qemu-devel] [PATCH v7 07/26] target/arm: optimize indirect branches, Richard Henderson, 2017/05/26
- [Qemu-devel] [PATCH v7 08/26] target/i386: introduce gen_jr helper to generate lookup_and_goto_ptr, Richard Henderson, 2017/05/26
- [Qemu-devel] [PATCH v7 09/26] target/i386: optimize cross-page direct jumps in softmmu, Richard Henderson, 2017/05/26
- [Qemu-devel] [PATCH v7 10/26] target/i386: optimize indirect branches, Richard Henderson, 2017/05/26
- [Qemu-devel] [PATCH v7 12/26] tcg/ppc: Implement goto_ptr, Richard Henderson, 2017/05/26
- [Qemu-devel] [PATCH v7 11/26] tb-hash: improve tb_jmp_cache hash function in user mode, Richard Henderson, 2017/05/26