Displaying 6 results from an estimated 6 matches for "directivepwr7".
2013 Jan 31
2
[LLVMdev] Getting command line options to affect subtarget features
...le on each. So for example we
have:
def FeatureAltivec : SubtargetFeature<"altivec","HasAltivec", "true",
"Enable Altivec instructions">;
def : Processor<"pwr7", G5Itineraries,
[DirectivePwr7, FeatureAltivec,
FeatureMFOCRF, FeatureFSqrt, FeatureSTFIWX,
FeatureISEL, Feature64Bit /*, Feature64BitRegs */]>;
During compilation the subtarget class (such as PPCSubtarget) is
instantiated with the strings obtained from -mcpu and -mattr.
ParseSubtargetFe...
2013 Jan 31
2
[LLVMdev] Getting command line options to affect subtarget features
...,"HasAltivec",
> > "true",
> > "Enable Altivec
> > instructions">;
> >
> > def : Processor<"pwr7", G5Itineraries,
> > [DirectivePwr7, FeatureAltivec,
> > FeatureMFOCRF, FeatureFSqrt, FeatureSTFIWX,
> > FeatureISEL, Feature64Bit /*, Feature64BitRegs
> > */]>;
> >
> > During compilation the subtarget class (such as PPCSubtarget) is
> >...
2013 Jan 31
0
[LLVMdev] Getting command line options to affect subtarget features
...Feature<"altivec","HasAltivec",
> "true",
> "Enable Altivec
> instructions">;
>
> def : Processor<"pwr7", G5Itineraries,
> [DirectivePwr7, FeatureAltivec,
> FeatureMFOCRF, FeatureFSqrt, FeatureSTFIWX,
> FeatureISEL, Feature64Bit /*, Feature64BitRegs
> */]>;
>
> During compilation the subtarget class (such as PPCSubtarget) is
> instantiated with the strings...
2013 Jan 31
2
[LLVMdev] Getting command line options to affect subtarget features
...;,
> > > > "Enable Altivec
> > > > instructions">;
> > > >
> > > > def : Processor<"pwr7", G5Itineraries,
> > > > [DirectivePwr7, FeatureAltivec,
> > > > FeatureMFOCRF, FeatureFSqrt, FeatureSTFIWX,
> > > > FeatureISEL, Feature64Bit /*, Feature64BitRegs
> > > > */]>;
> > > >
> > > > During compilation the s...
2013 Jan 31
0
[LLVMdev] Getting command line options to affect subtarget features
...> > "true",
> > > "Enable Altivec
> > > instructions">;
> > >
> > > def : Processor<"pwr7", G5Itineraries,
> > > [DirectivePwr7, FeatureAltivec,
> > > FeatureMFOCRF, FeatureFSqrt, FeatureSTFIWX,
> > > FeatureISEL, Feature64Bit /*, Feature64BitRegs
> > > */]>;
> > >
> > > During compilation the subtarget class (such as P...
2013 Jan 31
0
[LLVMdev] Getting command line options to affect subtarget features
...t; "Enable Altivec
> > > > > instructions">;
> > > > >
> > > > > def : Processor<"pwr7", G5Itineraries,
> > > > > [DirectivePwr7, FeatureAltivec,
> > > > > FeatureMFOCRF, FeatureFSqrt, FeatureSTFIWX,
> > > > > FeatureISEL, Feature64Bit /*, Feature64BitRegs
> > > > > */]>;
> > > > >
> > > > >...