Commit 46c94db6 by Richard Henderson Committed by Richard Henderson

* optabs.c (expand_sync_operation): Fix typo expanding nand to and.

From-SVN: r98327
parent 5ce7999d
......@@ -3,6 +3,8 @@
* builtins.c (expand_builtin_sync_operation): Fold nand to and
for constants.
* optabs.c (expand_sync_operation): Fix typo expanding nand to and.
2005-04-18 Devang Patel <dpatel@apple.com>
* config/rs6000/atlivec.md (mulv4si3): New pattern.
......
......@@ -5751,7 +5751,7 @@ expand_sync_operation (rtx mem, rtx val, enum rtx_code code)
case NOT:
icode = sync_nand_optab[mode];
if (icode != CODE_FOR_nothing)
if (icode == CODE_FOR_nothing)
{
icode = sync_and_optab[mode];
if (icode != CODE_FOR_nothing)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment