diff options
author | Dave P Martin <[email protected]> | 2015-01-29 16:24:43 +0000 |
---|---|---|
committer | Catalin Marinas <[email protected]> | 2015-01-29 17:24:39 +0000 |
commit | 6917c857e3ab5bc5e15d2b1ff34dc2443ccf5b0d (patch) | |
tree | 1f383325c1b8793a57696eccebd6a34870090ed6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | a1c76574f345342d23836b520ce44674d23bc267 (diff) |
arm64: Avoid breakage caused by .altmacro in fpsimd save/restore macros
Alternate macro mode is not a property of a macro definition, but a
gas runtime state that alters the way macros are expanded for ever
after (until .noaltmacro is seen).
This means that subsequent assembly code that calls other macros can
break if fpsimdmacros.h is included.
Since these instruction sequences are simple (if dull -- but in a
good way), this patch solves the problem by simply expanding the
.irp loops. The pre-existing fpsimd_{save,restore} macros weren't
rolled with .irp anyway and the sequences affected are short, so
this change restores consistency at little cost.
Signed-off-by: Dave Martin <[email protected]>
Acked-by: Marc Zyngier <[email protected]>
Acked-by: Ard Biesheuvel <[email protected]>
Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions