-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Compiler's -S output and
-save-temps=obj
loses MVE feature which le…
…ads to assembler error for Arm V8.1m Cpus. At the moment clang is not generating the correct FPU directive for Arm V8.1m Mainline CPU's when assembled by -S. So when compiled with -S output and `-save-temps=obj` loses MVE feature which leads to assembler error. There is a change in the default FPU option that Arm V8.1-m CPUs defines and what the clang generates. For example, Clang generates fpv5-d16 for M85 and what defined in ARMTargetParser.def is FK_FP_ARMV8_FULLFP16_D16. This patch add cases for handling this FPU directive as well and thus makes clang generates the right FPU directives for Arm V8.1-m CPUs.
- Loading branch information
Showing
1 changed file
with
103 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters