1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

[Myriad]: set LeonCASA processor feature

llvm-svn: 281359
This commit is contained in:
Douglas Katzman 2016-09-13 17:51:41 +00:00
parent cc5042adf7
commit 470dbb3bce
2 changed files with 7 additions and 6 deletions

View File

@ -84,12 +84,12 @@ def : Proc<"hypersparc", []>;
def : Proc<"sparclite86x", []>;
def : Proc<"sparclet", []>;
def : Proc<"tsc701", []>;
def : Proc<"myriad2", []>;
def : Proc<"myriad2.1", []>;
def : Proc<"myriad2.2", []>;
def : Proc<"ma2100", []>;
def : Proc<"ma2150", []>;
def : Proc<"ma2450", []>;
def : Proc<"myriad2", [FeatureLeon, LeonCASA]>;
def : Proc<"myriad2.1", [FeatureLeon, LeonCASA]>;
def : Proc<"myriad2.2", [FeatureLeon, LeonCASA]>;
def : Proc<"ma2100", [FeatureLeon, LeonCASA]>;
def : Proc<"ma2150", [FeatureLeon, LeonCASA]>;
def : Proc<"ma2450", [FeatureLeon, LeonCASA]>;
def : Proc<"v9", [FeatureV9]>;
def : Proc<"ultrasparc", [FeatureV9, FeatureV8Deprecated, FeatureVIS]>;
def : Proc<"ultrasparc3", [FeatureV9, FeatureV8Deprecated, FeatureVIS,

View File

@ -2,6 +2,7 @@
; RUN: llc %s -O0 -march=sparc -mcpu=gr712rc -o - | FileCheck %s
; RUN: llc %s -O0 -march=sparc -mcpu=leon4 -o - | FileCheck %s
; RUN: llc %s -O0 -march=sparc -mcpu=gr740 -o - | FileCheck %s
; RUN: llc %s -O0 -march=sparc -mcpu=myriad2 -o - | FileCheck %s
; CHECK-LABEL: casa_test
; CHECK: casa [%o0] 10, %o3, %o2