From: Aldy Hernandez Date: Tue, 11 May 2004 23:41:08 +0000 (+0000) Subject: spe.md (spe_evneg): Rename to negv2si2. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6a599451a5db9d503c8b46648168691fb8a24401;p=gcc.git spe.md (spe_evneg): Rename to negv2si2. * config/rs6000/spe.md (spe_evneg): Rename to negv2si2. * config/rs6000/rs6000.c (bdesc_1arg): Change spe_evneg to negv2si2. From-SVN: r81724 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1b8c1d49c50..8ba2aed5c3d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2004-05-11 Aldy Hernandez + + * config/rs6000/spe.md (spe_evneg): Rename to negv2si2. + + * config/rs6000/rs6000.c (bdesc_1arg): Change spe_evneg to + negv2si2. + 2004-05-11 Aldy Hernandez * doc/md.texi (Standard Names): Fix typo in vec_init description. diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index aaa93ecb00c..235e704014a 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -5719,7 +5719,7 @@ static struct builtin_description bdesc_1arg[] = { 0, CODE_FOR_spe_evfsnabs, "__builtin_spe_evfsnabs", SPE_BUILTIN_EVFSNABS }, { 0, CODE_FOR_spe_evfsneg, "__builtin_spe_evfsneg", SPE_BUILTIN_EVFSNEG }, { 0, CODE_FOR_spe_evmra, "__builtin_spe_evmra", SPE_BUILTIN_EVMRA }, - { 0, CODE_FOR_spe_evneg, "__builtin_spe_evneg", SPE_BUILTIN_EVNEG }, + { 0, CODE_FOR_negv2si2, "__builtin_spe_evneg", SPE_BUILTIN_EVNEG }, { 0, CODE_FOR_spe_evrndw, "__builtin_spe_evrndw", SPE_BUILTIN_EVRNDW }, { 0, CODE_FOR_spe_evsubfsmiaaw, "__builtin_spe_evsubfsmiaaw", SPE_BUILTIN_EVSUBFSMIAAW }, { 0, CODE_FOR_spe_evsubfssiaaw, "__builtin_spe_evsubfssiaaw", SPE_BUILTIN_EVSUBFSSIAAW }, diff --git a/gcc/config/rs6000/spe.md b/gcc/config/rs6000/spe.md index f8f6c0af7a4..4b311c70fee 100644 --- a/gcc/config/rs6000/spe.md +++ b/gcc/config/rs6000/spe.md @@ -443,7 +443,7 @@ [(set_attr "type" "vecsimple") (set_attr "length" "4")]) -(define_insn "spe_evneg" +(define_insn "negv2si2" [(set (match_operand:V2SI 0 "gpc_reg_operand" "=r") (neg:V2SI (match_operand:V2SI 1 "gpc_reg_operand" "r")))] "TARGET_SPE"