From 6a599451a5db9d503c8b46648168691fb8a24401 Mon Sep 17 00:00:00 2001 From: Aldy Hernandez Date: Tue, 11 May 2004 23:41:08 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 7 +++++++ gcc/config/rs6000/rs6000.c | 2 +- gcc/config/rs6000/spe.md | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1b8c1d4..8ba2aed 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,12 @@ 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. 2004-05-11 Geoffrey Keating diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index aaa93ec..235e704 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 f8f6c0a..4b311c7 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" -- 2.7.4