1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 <2011> 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 <2011> 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: PPC603 / PPC604 differences? |
From: | Dirk Zimoch <[email protected]> |
To: | Till Straumann <[email protected]>, Andrew Johnson <[email protected]> |
Cc: | [email protected] |
Date: | Fri, 08 Jul 2011 13:55:36 +0200 |
Till Straumann wrote:
Certainly, both CPUs support the mandatory PPC UISA instruction set. Hence, if you compile code with -mcpu=powerpc then it should execute on either of the CPUs. However, the 604 e.g., implements fsqrt/fsrqts (FP square-root in hardware) which are enabled when you compile with -mdouble-float/-msingle-float (or implicitly when you use -mcpu=604) There may be other optional instructions that the 604 has and the 603 does not and which you may want to use if you have a 604.
Does that mean that sqrt() is slower on a ppc604 when I use vxWorks-ppc32 because the hardware square root is not used?
Dirk