From 28097d086f72cd2cd6e267a8dfa179633ef1494e Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 19 Mar 2006 22:08:08 +0000 Subject: [PATCH] Add a note about the MUL -> FMADD vector bug. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26874 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/PowerPC/README.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lib/Target/PowerPC/README.txt b/lib/Target/PowerPC/README.txt index 42a644c1f33..0a9c5bdc27d 100644 --- a/lib/Target/PowerPC/README.txt +++ b/lib/Target/PowerPC/README.txt @@ -536,3 +536,13 @@ void foo(void) { bar (x); } +===-------------------------------------------------------------------------=== + +Altivec: Codegen'ing MUL with vector FMADD should add -0.0, not 0.0: +http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8763 + +We need to codegen -0.0 vector efficiently (no constant pool load). + +When -ffast-math is on, we can use 0.0. + +===-------------------------------------------------------------------------===