Microblaze: Modified trap instruction There is a bug in trap instruction generation...
authorNagaraju Mekala <nmekala@xilinx.com>
Sat, 4 Apr 2020 08:49:55 +0000 (14:19 +0530)
committerJeff Law <law@redhat.com>
Sun, 5 Apr 2020 16:05:26 +0000 (10:05 -0600)
commit971c3d0ea28fda1e764c6f47e0d901418adddb93
treeb19101ce233c30759cfbac8073904dbca8c8aa79
parent705510a708d3642c9c962beb663c476167e4e8a4
Microblaze: Modified trap instruction There is a bug in trap instruction generation. Instead of "bri 0" instruction "brki r0, -1" was used, corrected it now.

        * gcc/config/microblaze/microblaze.md (trap): Update output pattern.

        * gcc.target/microblaze/others/builtin-trap.c: Update expected output.
gcc/ChangeLog
gcc/config/microblaze/microblaze.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/microblaze/others/builtin-trap.c