[llvm-commits] [llvm] r161302 - in /llvm/trunk: include/llvm/Target/TargetSelectionDAG.td lib/Target/PowerPC/PPCISelLowering.cpp lib/Target/PowerPC/PPCInstr64Bit.td test/CodeGen/PowerPC/ppc64-cyclecounter.ll

Hal Finkel hfinkel at anl.gov
Mon Aug 6 14:22:48 PDT 2012


On Mon, 06 Aug 2012 15:39:33 -0300
Adhemerval Zanella <azanella at linux.vnet.ibm.com> wrote:

> Hi Hal,
> 
> On 08/04/2012 11:10 AM, Hal Finkel wrote:
> 
> > +let Pattern = [(set G8RC:$rT, readcyclecounter)] in
> > +def MFTB8 : XFXForm_1_ext<31, 371, 268, (outs G8RC:$rT), (ins),
> > +                          "mftb $rT", SprMFTB>,
> > +            PPC970_DGroup_First, PPC970_Unit_FXU;
> > +
> >  let Defs = [X1], Uses = [X1] in
> >  def DYNALLOC8 : Pseudo<(outs G8RC:$result), (ins G8RC:$negsize,
> > memri:$fpsi),"", [(set G8RC:$result,
> 
> The 'mftb/mftbu' are deprecated on PowerISA 2.06 (indicated as
> Phased-Out) and currently they are defined as mnemonics to 'mftb
> Rx,268/mfspr Rx,268". So I would suggest a change to use 'mfspr Rx,
> 268' instead of relying on 'mftb' for PPC64.

Thanks! r161344.

 -Hal

> 



-- 
Hal Finkel
Postdoctoral Appointee
Leadership Computing Facility
Argonne National Laboratory



More information about the llvm-commits mailing list