mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Added support for mcpu krait
- krait processor currently modeled with the same features as A9. - Krait processor additionally has VFP4 (fused multiply add/sub) and hardware division features enabled. - krait has currently the same Schedule model as A9 - krait cpu flag is not recognized by the GNU assembler yet, it is replaced with march=armv7-a to avoid a lower march from being used. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196619 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -609,7 +609,8 @@ void ARMAsmPrinter::emitAttributes() {
|
||||
|
||||
std::string CPUString = Subtarget->getCPUString();
|
||||
|
||||
if (CPUString != "generic")
|
||||
// FIXME: remove krait check when GNU tools support krait cpu
|
||||
if (CPUString != "generic" && CPUString != "krait")
|
||||
ATS.emitTextAttribute(ARMBuildAttrs::CPU_name, CPUString);
|
||||
|
||||
ATS.emitAttribute(ARMBuildAttrs::CPU_arch,
|
||||
|
Reference in New Issue
Block a user