gcc-configure-common.inc: duplicate armv7a over-ride for armv8a
PATCH 1/1 gcc-configure-common.inc: duplicate armv7a over-ride for armv8a
--- meta/recipes-devtools/gcc/gcc-configure-common.inc | 1 + 1 file changed, 1 insertion(+)
meta/recipes-devtools/gcc/gcc-configure-common.inc +1 -0
@@ -65,6 +65,7 @@ EXTRA_OECONF_append_mips64eln32 = " --with-abi=64 --with-arch-64=mips64 --with-t EXTRA_OECONF_append_armv6 = " --with-arch=armv6" EXTRA_OECONF_append_armv7a = " --with-arch=armv7-a" EXTRA_OECONF_append_armv7ve = " --with-arch=armv7-a" +EXTRA_OECONF_append_armv8a = " --with-arch=armv7-a" EXTRA_OECONF_GCC_FLOAT ??= "" CPPFLAGS = ""
Signature · 1 line
1.9.1
Review
Quoted 7 lines · Andre McCurdy
Signed-off-by Andre McCurdy <[email protected]>--- meta/recipes-devtools/gcc/gcc-configure-common.inc | 1 + 1 file changed, 1 insertion(+)(quoted diff) +0
-0
b/meta/recipes-devtools/gcc/gcc-configure-common.inc
meta/recipes-devtools/gcc/gcc-configure-common.inc EXTRA_OECONF_append_mips64eln32 = " --with-abi=64
Quoted 4 lines
index f4f76bd..a7b8d63 100644
meta/recipes-devtools/gcc/gcc-configure-common.inc +0
-0@@ -65,6 +65,7 @@ EXTRA_OECONF_append_mips64eln32 = " --with-abi=64
--with-arch-64=mips64 --with-t
meta/recipes-devtools/gcc/gcc-configure-common.inc EXTRA_OECONF_append_mips64eln32 = " --with-abi=64 --with-arch-64=mips64 --with-t · line 68
Quoted 4 lines
meta/recipes-devtools/gcc/gcc-configure-common.inc +1
-0EXTRA_OECONF_append_armv6 = " --with-arch=armv6" EXTRA_OECONF_append_armv7a = " --with-arch=armv7-a" EXTRA_OECONF_append_armv7ve = " --with-arch=armv7-a" +EXTRA_OECONF_append_armv8a = " --with-arch=armv7-a"
Armv8 is different architecture and even gcc backends for armv8 arent shared with armv7. This change doesn't look right to me. What are you fixing with this change
Quoted 11 lines
meta/recipes-devtools/gcc/gcc-configure-common.inc +0
-1EXTRA_OECONF_GCC_FLOAT ??= "" CPPFLAGS = "" --1.9.1
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Quoted 8 lines · Khem Raj
Quoted 6 lines · Andre McCurdy
Signed-off-by Andre McCurdy <[email protected]>--- meta/recipes-devtools/gcc/gcc-configure-common.inc | 1 + 1 file changed, 1 insertion(+)
Quoted 15 lines
meta/recipes-devtools/gcc/gcc-configure-common.inc EXTRA_OECONF_append_mips64eln32 = " --with-abi=64 · line 68
Quoted 11 lines
meta/recipes-devtools/gcc/gcc-configure-common.inc +1
-1@@ -65,6 +65,7 @@ EXTRA_OECONF_append_mips64eln32 = " --with-abi=64 --with-arch-64=mips64 --with-t EXTRA_OECONF_append_armv6 = " --with-arch=armv6" EXTRA_OECONF_append_armv7a = " --with-arch=armv7-a" EXTRA_OECONF_append_armv7ve = " --with-arch=armv7-a" +EXTRA_OECONF_append_armv8a = " --with-arch=armv7-a"Armv8 is different architecture and even gcc backends for armv8 arent shared with armv7. This change doesn't look right to me. What are you fixing with this change
In the context of oe-core machine specific over-rides, "armv8a" signifies that we're building 32bit code for an ARMv8-A class CPU. See:
(Maybe it would have been better to use aarch32 as the over-ride in this case?).
Quoted 11 lines
Quoted 11 lines
meta/recipes-devtools/gcc/gcc-configure-common.inc +0
-1EXTRA_OECONF_GCC_FLOAT ??= "" CPPFLAGS = "" --1.9.1
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Quoted 25 lines · Andre McCurdy
Quoted 8 lines · Khem Raj
Quoted 6 lines · Andre McCurdy
Signed-off-by Andre McCurdy <[email protected]>--- meta/recipes-devtools/gcc/gcc-configure-common.inc | 1 + 1 file changed, 1 insertion(+)Quoted 15 lines
meta/recipes-devtools/gcc/gcc-configure-common.inc EXTRA_OECONF_append_mips64eln32 = " --with-abi=64 · line 68
Quoted 11 lines
meta/recipes-devtools/gcc/gcc-configure-common.inc +1
-1@@ -65,6 +65,7 @@ EXTRA_OECONF_append_mips64eln32 = " --with-abi=64 --with-arch-64=mips64 --with-t EXTRA_OECONF_append_armv6 = " --with-arch=armv6" EXTRA_OECONF_append_armv7a = " --with-arch=armv7-a" EXTRA_OECONF_append_armv7ve = " --with-arch=armv7-a" +EXTRA_OECONF_append_armv8a = " --with-arch=armv7-a"Armv8 is different architecture and even gcc backends for armv8 arent shared with armv7. This change doesn't look right to me. What are you fixing with this change
Quoted 7 lines
In the context of oe-core machine specific over-rides, "armv8a" signifies that we're building 32bit code for an ARMv8-A class CPU. See:
(Maybe it would have been better to use aarch32 as the over-ride in this case?).
ah I did not know this patch has made it in. I had concerns about it. Its quite confusing to call armv8a as 32bit since thats wrong representation. It should be renamed to aarch32 atleast. since thats the execution state of armv8a architecture thats what this file is doing. armv8a support aarch64/aarch32/(thumb2 in aarch2 state)
Please submit a rename patch with adjustments before starting to use it widely in metadata
Quoted 34 lines · Khem Raj
Quoted 25 lines · Andre McCurdy
Quoted 8 lines · Khem Raj
Quoted 6 lines · Andre McCurdy
Signed-off-by Andre McCurdy <[email protected]>--- meta/recipes-devtools/gcc/gcc-configure-common.inc | 1 + 1 file changed, 1 insertion(+)Quoted 15 lines
meta/recipes-devtools/gcc/gcc-configure-common.inc EXTRA_OECONF_append_mips64eln32 = " --with-abi=64 · line 68
Quoted 11 lines
meta/recipes-devtools/gcc/gcc-configure-common.inc +1
-1@@ -65,6 +65,7 @@ EXTRA_OECONF_append_mips64eln32 = " --with-abi=64 --with-arch-64=mips64 --with-t EXTRA_OECONF_append_armv6 = " --with-arch=armv6" EXTRA_OECONF_append_armv7a = " --with-arch=armv7-a" EXTRA_OECONF_append_armv7ve = " --with-arch=armv7-a" +EXTRA_OECONF_append_armv8a = " --with-arch=armv7-a"Armv8 is different architecture and even gcc backends for armv8 arent shared with armv7. This change doesn't look right to me. What are you fixing with this change
Quoted 7 lines
In the context of oe-core machine specific over-rides, "armv8a" signifies that we're building 32bit code for an ARMv8-A class CPU. See:
(Maybe it would have been better to use aarch32 as the over-ride in this case?).
Quoted 8 lines
ah I did not know this patch has made it in. I had concerns about it. Its quite confusing to call armv8a as 32bit since thats wrong representation. It should be renamed to aarch32 atleast. since thats the execution state of armv8a architecture thats what this file is doing. armv8a support aarch64/aarch32/(thumb2 in aarch2 state)
Please submit a rename patch with adjustments before starting to use it widely in metadata
Renaming armv8a -> aarch32 is going to affect almost every line in the patch. We should probably drop the current patch from master-next.
Quoted 4 lines · Andre McCurdy
Renaming armv8a -> aarch32 is going to affect almost every line in the patch. We should probably drop the current patch from master- next.
"AArch32" applies retrospectively to all older versions of the ARM architecture as well, so it's not obvious to me that a straight rename of the existing "armv8a" override to "aarch32" would be the right thing either.
I think the whole approach to ARMv8 and AArch64 in OE needs to be carefully thought through before we start landing any patches for that stuff. We have a tangled enough maze of overrides right now and I think we should make all efforts to avoid it getting worse.
p.
Quoted 13 lines · Phil Blundell
Quoted 4 lines · Andre McCurdy
Renaming armv8a -> aarch32 is going to affect almost every line in the patch. We should probably drop the current patch from master- next.
"AArch32" applies retrospectively to all older versions of the ARM architecture as well, so it's not obvious to me that a straight rename
of the existing "armv8a" override to "aarch32" would be the right thing
either.
Quoted 5 lines
I think the whole approach to ARMv8 and AArch64 in OE needs to be carefully thought through before we start landing any patches for that
stuff. We have a tangled enough maze of overrides right now and I think we should make all efforts to avoid it getting worse.
Agreed, I'm planning to drop the patch triggering this from -next and defer it until 2.2. The discussions can happen in the meantime to get a patchset we're all happy with.
Cheers,
Richard
Quoted 11 lines · Phil Blundell
Quoted 4 lines · Andre McCurdy
Renaming armv8a -> aarch32 is going to affect almost every line in the patch. We should probably drop the current patch from master- next.
"AArch32" applies retrospectively to all older versions of the ARM architecture as well,
not really. Arm refers to aarch32 specifically when we use 32-bit on ARMv8 so atleast we are speaking same terms.
Quoted 8 lines
so it's not obvious to me that a straight rename
of the existing "armv8a" override to "aarch32" would be the right thing either.I think the whole approach to ARMv8 and AArch64 in OE needs to be carefully thought through before we start landing any patches for that stuff. We have a tangled enough maze of overrides right now and I think we should make all efforts to avoid it getting worse.
Totally agreed.
The current tunes we have are probably sufficient for 64bit case and it simple and nice. However, the fact of people running 32bit userspace on a53 SOCs is a reality due to porting reasons or resource reasons. So I think divorcing legacy tunes and just having aarch64 and another one for aarch32 is going to suffice
Quoted 23 lines · Richard Purdie
Quoted 13 lines · Phil Blundell
Quoted 4 lines · Andre McCurdy
Renaming armv8a -> aarch32 is going to affect almost every line in the patch. We should probably drop the current patch from master- next.
"AArch32" applies retrospectively to all older versions of the ARM architecture as well, so it's not obvious to me that a straight rename
of the existing "armv8a" override to "aarch32" would be the right thing
either.Quoted 5 lines
I think the whole approach to ARMv8 and AArch64 in OE needs to be carefully thought through before we start landing any patches for that
stuff. We have a tangled enough maze of overrides right now and I think we should make all efforts to avoid it getting worse.
Quoted 3 lines
Agreed, I'm planning to drop the patch triggering this from -next and defer it until 2.2. The discussions can happen in the meantime to get a patchset we're all happy with.
hopefully we will be able to cherry-pick into 2.1 at later stage ?
Quoted 4 lines
Cheers,
Richard
Quoted 8 lines · Khem Raj
Quoted 8 lines · Phil Blundell
Quoted 4 lines · Andre McCurdy
Renaming armv8a -> aarch32 is going to affect almost every line in the patch. We should probably drop the current patch from master- next.
Quoted 5 lines
Quoted 2 lines
"AArch32" applies retrospectively to all older versions of the ARM architecture as well,
not really. Arm refers to aarch32 specifically when we use 32-bit on ARMv8 so atleast we are speaking same terms.
See the glossary at:
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.aeg0014g/ABCDEFGH.html
AArch32 state
The ARM 32-bit Execution state that uses 32-bit general purpose registers, and a 32-bit program counter (PC), stack pointer (SP), and link register (LR). AArch32 Execution state provides a choice of two instruction sets, A32 and T32.
In implementations of versions of the ARM architecture before ARMv8, and in the ARM R and M architecture profiles, execution is always in AArch32 state.
p.
Quoted 19 lines · Phil Blundell
Quoted 9 lines · Khem Raj
Quoted 9 lines · On Mar 24, 2016, at 11:32 AM, Phil Blundell <[email protected] <mailto:[email protected]>>…
Quoted 4 lines · Andre McCurdy
Renaming armv8a -> aarch32 is going to affect almost every line in the patch. We should probably drop the current patch from master- next.
Quoted 5 lines
Quoted 2 lines
"AArch32" applies retrospectively to all older versions of the ARM architecture as well,
not really. Arm refers to aarch32 specifically when we use 32-bit on ARMv8 so atleast we are speaking same terms.
Quoted 8 lines
See the glossary at:
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.aeg0014g/ABCDEFGH.html <http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.aeg0014g/ABCDEFGH.html>
AArch32 state
The ARM 32-bit Execution state that uses 32-bit general purpose registers, and a 32-bit program counter (PC), stack pointer (SP), and link register (LR). AArch32 Execution state provides a choice of two instruction sets, A32 and T32.In implementations of versions of the ARM architecture before ARMv8, and in the ARM R and M architecture profiles, execution is always in AArch32 state.
I am not saying its any different technically. But aarch32 as term is only used w.r.t. armv8
Quoted 2 lines
p.