Index: lib/Target/AArch64/AArch64Subtarget.cpp =================================================================== --- lib/Target/AArch64/AArch64Subtarget.cpp +++ lib/Target/AArch64/AArch64Subtarget.cpp @@ -84,6 +84,28 @@ case Vulcan: MaxInterleaveFactor = 4; break; + case ThunderX: + CacheLineSize = 128; + MaxPrefetchIterationsAhead = 8; + HasLSE = true; + PrefFunctionAlignment = 4; + PrefLoopAlignment = 4; + break; + case ThunderXT88: + CacheLineSize = 128; + HasLSE = true; + PrefFunctionAlignment = 4; + PrefLoopAlignment = 4; + break; + case ThunderXT81: + case ThunderXT83: + CacheLineSize = 128; + MaxPrefetchIterationsAhead = 16; + HasLSE = true; + HasV8_1aOps = true; + PrefFunctionAlignment = 4; + PrefLoopAlignment = 4; + break; case CortexA35: break; case CortexA53: break; case CortexA72: break;