Re: [PATCHv4] rs6000: Add 2 built-ins to read the Time Base Register on PowerPC

2012-09-19 Thread David Edelsohn
On Wed, Sep 19, 2012 at 7:37 AM, Tulio Magno Quites Machado Filho wrote: > Changes since v3: > - specified the clobbered CC field; > - removed the insn rs6000_get_timebase_ppc64 as it was identical to > rs6000_mftb_di; > - removed UNSPECV_GETTB as it was identical to UNSPECV_MFTB; > - fixed inde

[PATCHv4] rs6000: Add 2 built-ins to read the Time Base Register on PowerPC

2012-09-19 Thread Tulio Magno Quites Machado Filho
Changes since v3: - specified the clobbered CC field; - removed the insn rs6000_get_timebase_ppc64 as it was identical to rs6000_mftb_di; - removed UNSPECV_GETTB as it was identical to UNSPECV_MFTB; - fixed indentation. -- >8 -- Add __builtin_ppc_get_timebase and __builtin_ppc_mftb to read the