[all-commits] [llvm/llvm-project] b86440: [CSKY] Fix the conflict of default fpu features an...
Zi Xuan Wu (Zeson) via All-commits
all-commits at lists.llvm.org
Sun May 22 19:45:22 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b86440ecde5c1dec5b898a3f1bc08ab9853d5ed9
https://github.com/llvm/llvm-project/commit/b86440ecde5c1dec5b898a3f1bc08ab9853d5ed9
Author: Zi Xuan Wu (Zeson) <zixuan.wu at linux.alibaba.com>
Date: 2022-05-23 (Mon, 23 May 2022)
Changed paths:
M clang/lib/Basic/Targets/CSKY.cpp
M clang/lib/Basic/Targets/CSKY.h
M clang/lib/Driver/ToolChains/Arch/CSKY.cpp
A clang/test/Driver/csky-mfpu.c
M llvm/lib/Support/CSKYTargetParser.cpp
Log Message:
-----------
[CSKY] Fix the conflict of default fpu features and -mfpu option
The arch or cpu has its default fpu features and versions such as fpuv2_sf/fpuv3_sf.
And there is also -mfpu option to specify and override fpu version and features.
For example, C860 has fpuv3_sf/fpuv3_df feature as default, when
-mfpu=fpv2 is given, fpuv3_sf/fpuv3_df is replaced with fpuv2_sf/fpuv2_df.
More information about the All-commits
mailing list