Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Oct 2017 18:37:44 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 222881] on armv7, clang reports __ARM_ARCH = 6 and defines __ARM_ARCH_6KZ__
Message-ID:  <bug-222881-8-G9VYSxc2ij@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-222881-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-222881-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222881

--- Comment #3 from Dimitry Andric <dim@FreeBSD.org> ---
For example, on my amd64 box, I get the following:

$ clang -target armv7-freebsd -dM -E -x c /dev/null|grep -i arm|sort
#define __ARMEL__ 1
#define __ARM_32BIT_STATE 1
#define __ARM_ACLE 200
#define __ARM_ARCH 7
#define __ARM_ARCH_7A__ 1
#define __ARM_ARCH_ISA_ARM 1
#define __ARM_ARCH_ISA_THUMB 2
#define __ARM_ARCH_PROFILE 'A'
#define __ARM_EABI__ 1
#define __ARM_FEATURE_CLZ 1
#define __ARM_FEATURE_DSP 1
#define __ARM_FEATURE_LDREX 0xF
#define __ARM_FEATURE_QBIT 1
#define __ARM_FEATURE_SAT 1
#define __ARM_FEATURE_SIMD32 1
#define __ARM_FP 0xC
#define __ARM_FP16_ARGS 1
#define __ARM_FP16_FORMAT_IEEE 1
#define __ARM_PCS 1
#define __ARM_SIZEOF_MINIMAL_ENUM 4
#define __ARM_SIZEOF_WCHAR_T 4
#define __ARM_VFPV3__ 1
#define __arm 1
#define __arm__ 1

which seems reasonable to me.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-222881-8-G9VYSxc2ij>