altivec.md: Convert UNSPEC numerical values to define_constants.
authorDavid Edelsohn <edelsohn@gnu.org>
Fri, 29 Jul 2005 21:01:19 +0000 (21:01 +0000)
committerDavid Edelsohn <dje@gcc.gnu.org>
Fri, 29 Jul 2005 21:01:19 +0000 (17:01 -0400)
commit3aca4bff532e98480b7a9e9b41b9df608bd90fed
tree84327d2d95a0ff17c64b45823529a67d881db4db
parentb28250ab6ffb56f440fecda12b762c9fa946f107
altivec.md: Convert UNSPEC numerical values to define_constants.

        * config/rs6000/altivec.md: Convert UNSPEC numerical values to
        define_constants.  Change duplicate values to unassigned numbers.
        Change UNSPEC_SUBS to UNSPEC_VSUBS.
        (*altivec_vspltsf): New.
        (altivec_vperm_v4sf): Delete.
        (altivec_vperm_<mode>): Use mode macro V.
        (altivec_vsldoi_<mode>): Convert to mode macro pattern.
        (altivec_predicate_v4sf): Delete.
        (altivec_predicate_<mode>): Use mode macro V.
        (*altivec_lvesfx): New.
        (*altivec_stvesfx): New.
        (vec_realign_load_v4sf): Delete.
        (vec_realign_load_<mode>): Use mode macro V.
        * config/rs6000/rs6000.c (generate_set_vrsave): Use
        UNSPECV_SET_VRSAVE.

From-SVN: r102566
gcc/ChangeLog
gcc/config/rs6000/altivec.md
gcc/config/rs6000/rs6000.c