Rationalize -mcpu for emulators, compilers and assemblers on ARM

Move SVE example in from arm-assembly-cheat.

atomic.cpp aarch64 add LSE ldadd placeholder, not compiling yet
This commit is contained in:
Ciro Santilli 六四事件 法轮功
2019-06-26 00:00:00 +00:00
parent ce3d546ac8
commit 3fdd83c2c5
8 changed files with 168 additions and 19 deletions

View File

@@ -344,7 +344,6 @@ path_properties_tuples = (
{
'allowed_archs': {'arm'},
'cc_flags': [
'-Xassembler', '-mcpu=cortex-a72', LF,
# To prevent:
# > vfp.S: Error: selected processor does not support <FPU instruction> in ARM mode
# https://stackoverflow.com/questions/41131432/cross-compiling-error-selected-processor-does-not-support-fmrx-r3-fpexc-in/52875732#52875732
@@ -383,7 +382,9 @@ path_properties_tuples = (
}
),
'aarch64': (
{'allowed_archs': {'aarch64'}},
{
'allowed_archs': {'aarch64'},
},
{
'inline_asm': (
{
@@ -399,6 +400,7 @@ path_properties_tuples = (
'signal_generated_by_os': True,
'signal_received': signal.Signals.SIGILL,
},
'sve.S': {'gem5_unimplemented_instruction': True}
}
),
'x86_64': (