[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [qemu-s390x] [PATCH RFC 1/2] tests/tcg: Allow targets to set the opt
From: |
Alex Bennée |
Subject: |
Re: [qemu-s390x] [PATCH RFC 1/2] tests/tcg: Allow targets to set the optimization level |
Date: |
Wed, 27 Feb 2019 11:46:23 +0000 |
User-agent: |
mu4e 1.1.0; emacs 26.1 |
David Hildenbrand <address@hidden> writes:
> We sometimes want basic optimizations, e.g. for constant propagation
> into inlined functions.
>
> Especially for inline asm with immediates;
I agree you need this, but...
<snip>
> # Start with a blank slate, the build targets get to add stuff first
> -CFLAGS=
> +CFLAGS=-O0
> QEMU_CFLAGS=
> LDFLAGS=
>
> @@ -70,7 +70,7 @@ ifneq ($(TARGET_BASE_ARCH),$(TARGET_NAME))
> endif
>
> # Add the common build options
> -CFLAGS+=-Wall -O0 -g -fno-strict-aliasing
> +CFLAGS+=-Wall -g -fno-strict-aliasing
You don't need to do this - we already have EXTRA_CFLAGS which will
always be at the end of the compile invocation:
# enable vectors and optimisation to vectorise for this test
vglv: CFLAGS+=-march=z13 -m64
vglv: EXTRA_CFLAGS+=-O2
> ifeq ($(BUILD_STATIC),y)
> LDFLAGS+=-static
> endif
--
Alex Bennée
- Re: [qemu-s390x] [PATCH RFC 2/2] tests/tcg: target/s390: Add test for VECTOR LOAD GR FROM VR ELEMENT, (continued)
- Re: [qemu-s390x] [PATCH RFC 2/2] tests/tcg: target/s390: Add test for VECTOR LOAD GR FROM VR ELEMENT, David Hildenbrand, 2019/02/27
- Re: [qemu-s390x] [PATCH RFC 2/2] tests/tcg: target/s390: Add test for VECTOR LOAD GR FROM VR ELEMENT, Alex Bennée, 2019/02/27
- Re: [qemu-s390x] [PATCH RFC 2/2] tests/tcg: target/s390: Add test for VECTOR LOAD GR FROM VR ELEMENT, David Hildenbrand, 2019/02/27
- Re: [qemu-s390x] [PATCH RFC 2/2] tests/tcg: target/s390: Add test for VECTOR LOAD GR FROM VR ELEMENT, Alex Bennée, 2019/02/27
- Re: [qemu-s390x] [PATCH RFC 2/2] tests/tcg: target/s390: Add test for VECTOR LOAD GR FROM VR ELEMENT, Richard Henderson, 2019/02/27
- Re: [qemu-s390x] [PATCH RFC 2/2] tests/tcg: target/s390: Add test for VECTOR LOAD GR FROM VR ELEMENT, David Hildenbrand, 2019/02/28
- Re: [qemu-s390x] [PATCH RFC 2/2] tests/tcg: target/s390: Add test for VECTOR LOAD GR FROM VR ELEMENT, Richard Henderson, 2019/02/27
- Re: [qemu-s390x] [PATCH RFC 2/2] tests/tcg: target/s390: Add test for VECTOR LOAD GR FROM VR ELEMENT, David Hildenbrand, 2019/02/28
- Re: [qemu-s390x] [PATCH RFC 2/2] tests/tcg: target/s390: Add test for VECTOR LOAD GR FROM VR ELEMENT, Richard Henderson, 2019/02/28
[qemu-s390x] [PATCH RFC 1/2] tests/tcg: Allow targets to set the optimization level, David Hildenbrand, 2019/02/27
Re: [qemu-s390x] [Qemu-devel] [PATCH RFC 1/2] tests/tcg: Allow targets to set the optimization level, Richard Henderson, 2019/02/27