forked from OSchip/llvm-project
Add support for Myriad ma2x8x series of CPUs
Summary: Also add support for some older Myriad CPUs that were missing. Reviewers: jyknight Subscribers: fedor.sergeev Differential Revision: https://reviews.llvm.org/D37552 llvm-svn: 314705
This commit is contained in:
parent
1c0a26bd54
commit
35b09cbd42
|
@ -98,9 +98,18 @@ def : Proc<"tsc701", []>;
|
|||
def : Proc<"myriad2", [FeatureLeon, LeonCASA]>;
|
||||
def : Proc<"myriad2.1", [FeatureLeon, LeonCASA]>;
|
||||
def : Proc<"myriad2.2", [FeatureLeon, LeonCASA]>;
|
||||
def : Proc<"myriad2.3", [FeatureLeon, LeonCASA]>;
|
||||
def : Proc<"ma2100", [FeatureLeon, LeonCASA]>;
|
||||
def : Proc<"ma2150", [FeatureLeon, LeonCASA]>;
|
||||
def : Proc<"ma2155", [FeatureLeon, LeonCASA]>;
|
||||
def : Proc<"ma2450", [FeatureLeon, LeonCASA]>;
|
||||
def : Proc<"ma2455", [FeatureLeon, LeonCASA]>;
|
||||
def : Proc<"ma2x5x", [FeatureLeon, LeonCASA]>;
|
||||
def : Proc<"ma2080", [FeatureLeon, LeonCASA]>;
|
||||
def : Proc<"ma2085", [FeatureLeon, LeonCASA]>;
|
||||
def : Proc<"ma2480", [FeatureLeon, LeonCASA]>;
|
||||
def : Proc<"ma2485", [FeatureLeon, LeonCASA]>;
|
||||
def : Proc<"ma2x8x", [FeatureLeon, LeonCASA]>;
|
||||
def : Proc<"v9", [FeatureV9]>;
|
||||
def : Proc<"ultrasparc", [FeatureV9, FeatureV8Deprecated, FeatureVIS]>;
|
||||
def : Proc<"ultrasparc3", [FeatureV9, FeatureV8Deprecated, FeatureVIS,
|
||||
|
|
|
@ -3,6 +3,20 @@
|
|||
; 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
|
||||
; RUN: llc %s -O0 -march=sparc -mcpu=myriad2.1 -o - | FileCheck %s
|
||||
; RUN: llc %s -O0 -march=sparc -mcpu=myriad2.2 -o - | FileCheck %s
|
||||
; RUN: llc %s -O0 -march=sparc -mcpu=myriad2.3 -o - | FileCheck %s
|
||||
; RUN: llc %s -O0 -march=sparc -mcpu=ma2100 -o - | FileCheck %s
|
||||
; RUN: llc %s -O0 -march=sparc -mcpu=ma2150 -o - | FileCheck %s
|
||||
; RUN: llc %s -O0 -march=sparc -mcpu=ma2155 -o - | FileCheck %s
|
||||
; RUN: llc %s -O0 -march=sparc -mcpu=ma2450 -o - | FileCheck %s
|
||||
; RUN: llc %s -O0 -march=sparc -mcpu=ma2455 -o - | FileCheck %s
|
||||
; RUN: llc %s -O0 -march=sparc -mcpu=ma2x5x -o - | FileCheck %s
|
||||
; RUN: llc %s -O0 -march=sparc -mcpu=ma2080 -o - | FileCheck %s
|
||||
; RUN: llc %s -O0 -march=sparc -mcpu=ma2085 -o - | FileCheck %s
|
||||
; RUN: llc %s -O0 -march=sparc -mcpu=ma2480 -o - | FileCheck %s
|
||||
; RUN: llc %s -O0 -march=sparc -mcpu=ma2485 -o - | FileCheck %s
|
||||
; RUN: llc %s -O0 -march=sparc -mcpu=ma2x8x -o - | FileCheck %s
|
||||
|
||||
; CHECK-LABEL: casa_test
|
||||
; CHECK: casa [%o0] 10, %o3, %o2
|
||||
|
|
Loading…
Reference in New Issue