~ubuntu-branches/ubuntu/quantal/llvm-3.1/quantal

« back to all changes in this revision

Viewing changes to lib/Target/PowerPC/PPC.td

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2012-04-01 23:45:03 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20120401234503-c04qxrk7s9my53uy
Tags: 3.1~svn153852-1
New snapshot release

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
def Directive970 : SubtargetFeature<"", "DarwinDirective", "PPC::DIR_970", "">;
35
35
def Directive32  : SubtargetFeature<"", "DarwinDirective", "PPC::DIR_32", "">;
36
36
def Directive64  : SubtargetFeature<"", "DarwinDirective", "PPC::DIR_64", "">;
 
37
def DirectiveA2  : SubtargetFeature<"", "DarwinDirective", "PPC::DIR_A2", "">;
37
38
 
38
39
def Feature64Bit     : SubtargetFeature<"64bit","Has64BitSupport", "true",
39
40
                                        "Enable 64-bit instructions">;
87
88
                  [Directive970, FeatureAltivec,
88
89
                   FeatureGPUL, FeatureFSqrt, FeatureSTFIWX,
89
90
                   Feature64Bit /*, Feature64BitRegs */]>;
 
91
def : Processor<"a2",  PPCA2Itineraries, [DirectiveA2, FeatureBookE,
 
92
                                          FeatureFSqrt, FeatureSTFIWX,
 
93
                                          Feature64Bit
 
94
                                      /*, Feature64BitRegs */]>;
90
95
def : Processor<"ppc", G3Itineraries, [Directive32]>;
91
96
def : Processor<"ppc64", G5Itineraries,
92
97
                  [Directive64, FeatureAltivec,