public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-5038] gcc: config: microblaze: fix cpu version check
@ 2023-10-31 16:29 Michael Eager
  0 siblings, 0 replies; only message in thread
From: Michael Eager @ 2023-10-31 16:29 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:f694960924e6420086c8ae5809995f7d43a06b5f

commit r14-5038-gf694960924e6420086c8ae5809995f7d43a06b5f
Author: Neal Frager <neal.frager@amd.com>
Date:   Mon Oct 30 17:02:53 2023 +0000

    gcc: config: microblaze: fix cpu version check
    
    The MICROBLAZE_VERSION_COMPARE was incorrectly using strcasecmp
    instead of strverscmp to check the mcpu version against feature
    options.  By simply changing the define to use strverscmp,
    the new version 10.0 is treated correctly as a higher version
    than previous versions.
    
    Fix incorrect warning with -mcpu=10.0:
      warning: '-mxl-multiply-high' can be used only with
      '-mcpu=v6.00.a' or greater
    
    Signed-off-by: Neal Frager <neal.frager@amd.com>
    Signed-off-by: Michael J. Eager <eager@eagercon.com>

Diff:
---
 gcc/ChangeLog           |  4 ++++
 gcc/testsuite/ChangeLog | 22 ++++++++++++++++++++++
 2 files changed, 26 insertions(+)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index fefd8fc06003..92bced15f9f7 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2023-10-31  Neal Frager  <neal.frager@amd.com>
+
+	* config/microblaze/microblaze.cc: Fix mcpu version check.
+
 2023-10-30  Mayshao  <mayshao-oc@zhaoxin.com>
 
 	* common/config/i386/cpuinfo.h (get_zhaoxin_cpu): Recognize yongfeng.
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index a83adb2d5706..11dfb684d86e 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,25 @@
+2023-10-31  Neal Frager  <neal.frager@amd.com>
+
+	* gcc.target/microblaze/isa/bshift.c: Bump to mcpu=v10.0.
+	* gcc.target/microblaze/isa/div.c: Ditto.
+	* gcc.target/microblaze/isa/fcmp1.c: Ditto.
+	* gcc.target/microblaze/isa/fcmp2.c: Ditto.
+	* gcc.target/microblaze/isa/fcmp3.c: Ditto.
+	* gcc.target/microblaze/isa/fcmp4.c: Ditto.
+	* gcc.target/microblaze/isa/fcvt.c: Ditto.
+	* gcc.target/microblaze/isa/float.c: Ditto.
+	* gcc.target/microblaze/isa/fsqrt.c: Ditto.
+	* gcc.target/microblaze/isa/mul-bshift-pcmp.c: Ditto.
+	* gcc.target/microblaze/isa/mul-bshift.c: Ditto.
+	* gcc.target/microblaze/isa/mul.c: Ditto.
+	* gcc.target/microblaze/isa/mulh-bshift-pcmp.c: Ditto.
+	* gcc.target/microblaze/isa/mulh.c: Ditto.
+	* gcc.target/microblaze/isa/nofcmp.c: Ditto.
+	* gcc.target/microblaze/isa/nofloat.c: Ditto.
+	* gcc.target/microblaze/isa/pcmp.c: Ditto.
+	* gcc.target/microblaze/isa/vanilla.c: Ditto.
+	* gcc.target/microblaze/microblaze.exp: Ditto.
+
 2023-10-30  Mayshao  <mayshao-oc@zhaoxin.com>
 
 	* g++.target/i386/mv32.C: Handle new -march.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-10-31 16:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-31 16:29 [gcc r14-5038] gcc: config: microblaze: fix cpu version check Michael Eager

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).