[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RISU v2 08/11] configure: add i386/x86_64 architecture
From: |
Alex Bennée |
Subject: |
Re: [Qemu-devel] [RISU v2 08/11] configure: add i386/x86_64 architectures |
Date: |
Mon, 20 May 2019 13:17:43 +0100 |
User-agent: |
mu4e 1.3.2; emacs 26.1 |
Jan Bobek <address@hidden> writes:
> Now that i386 and x86_64 architectures are supported by RISU, we want
> to detect them and build RISU for them automatically.
>
> Suggested-by: Richard Henderson <address@hidden>
> Signed-off-by: Jan Bobek <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
> ---
> configure | 10 ++++++----
> 1 file changed, 6 insertions(+), 4 deletions(-)
>
> diff --git a/configure b/configure
> index 65e1819..ca2d7db 100755
> --- a/configure
> +++ b/configure
> @@ -48,12 +48,14 @@ EOF
> }
>
> guess_arch() {
> - if check_define __m68k__ ; then
> - ARCH="m68k"
> + if check_define __aarch64__ ; then
> + ARCH="aarch64"
> elif check_define __arm__ ; then
> ARCH="arm"
> - elif check_define __aarch64__ ; then
> - ARCH="aarch64"
> + elif check_define __i386__ || check_define __x86_64__ ; then
> + ARCH="i386"
> + elif check_define __m68k__ ; then
> + ARCH="m68k"
> elif check_define __powerpc64__ ; then
> ARCH="ppc64"
> else
--
Alex Bennée
- Re: [Qemu-devel] [RISU v2 07/11] test_i386: change syntax from nasm to gas, (continued)
- Re: [Qemu-devel] [RISU v2 07/11] test_i386: change syntax from nasm to gas, Alex Bennée, 2019/05/21
- Re: [Qemu-devel] [RISU v2 07/11] test_i386: change syntax from nasm to gas, Richard Henderson, 2019/05/21
- Re: [Qemu-devel] [RISU v2 07/11] test_i386: change syntax from nasm to gas, Alex Bennée, 2019/05/21
- Re: [Qemu-devel] [RISU v2 07/11] test_i386: change syntax from nasm to gas, Jan Bobek, 2019/05/21
- Re: [Qemu-devel] [RISU v2 07/11] test_i386: change syntax from nasm to gas, Richard Henderson, 2019/05/21
- Re: [Qemu-devel] [RISU v2 07/11] test_i386: change syntax from nasm to gas, Jan Bobek, 2019/05/21
[Qemu-devel] [RISU v2 11/11] risu_reginfo_i386: accept named feature sets for --xfeature, Jan Bobek, 2019/05/17
[Qemu-devel] [RISU v2 08/11] configure: add i386/x86_64 architectures, Jan Bobek, 2019/05/17
[Qemu-devel] [RISU v2 06/11] risu_i386: remove old unused code, Jan Bobek, 2019/05/17
[Qemu-devel] [RISU v2 09/11] i386: Add avx512 state to reginfo_t, Jan Bobek, 2019/05/17
Re: [Qemu-devel] [RISU v2 00/11] Support for i386/x86_64 with vector extensions, Alex Bennée, 2019/05/18
Re: [Qemu-devel] [RISU v2 00/11] Support for i386/x86_64 with vector extensions, Alex Bennée, 2019/05/20