]> git.ipfire.org Git - thirdparty/gcc.git/commit
[multiple changes]
authorDavid Edelsohn <dje@gcc.gnu.org>
Wed, 19 Sep 2012 19:05:34 +0000 (15:05 -0400)
committerDavid Edelsohn <dje@gcc.gnu.org>
Wed, 19 Sep 2012 19:05:34 +0000 (15:05 -0400)
commit0efbf084f42a63c393962eb2207c826eb91c5029
treee66e46b6098e9cdaedd3c575165b2ad9b99dc209
parent4eddc42b63d1064dfb0fd4c4820616f672e0ccfa
[multiple changes]

2012-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>

        * config/rs6000/rs6000-builtin.def: Add __builtin_ppc_get_timebase
        and __builtin_ppc_mftb.
        * config/rs6000/rs6000.c (rs6000_expand_zeroop_builtin): New
        function to expand an expression that calls a built-in without
        arguments.
        (rs6000_expand_builtin): Add __builtin_ppc_get_timebase and
        __builtin_ppc_mftb.
        (rs6000_init_builtins): Likewise.
        * config/rs6000/rs6000.md (rs6000_get_timebase): New pattern.
        (rs6000_get_timebase_ppc32): New pattern.
        (rs6000_mftb_<mode>): New pattern.

        * doc/extend.texi (PowerPC Built-in Functions): New section.
        (PowerPC AltiVec/VSX Built-in Functions):
        Move some built-ins unrelated to Altivec/VSX to the new section.

2012-09-19  David Edelsohn  <dje.gcc@gmail.com>

        * rs6000.md (mac*): Remove extra spaces.
        (mulhw*): Same.

From-SVN: r191491
gcc/ChangeLog
gcc/config/rs6000/rs6000-builtin.def
gcc/config/rs6000/rs6000.c
gcc/config/rs6000/rs6000.md
gcc/doc/extend.texi