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>
This commit is contained in:
parent
9119b008b4
commit
f694960924
2 changed files with 26 additions and 0 deletions
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue