Mark r20 as fixed. Mark r21 not fixed & allocatable in callee.
authorAjit Agarwal <ajitkum@xilinx.com>
Thu, 21 Jan 2016 17:10:54 +0000 (17:10 +0000)
committerMichael Eager <eager@gcc.gnu.org>
Thu, 21 Jan 2016 17:10:54 +0000 (17:10 +0000)
From-SVN: r232682

gcc/ChangeLog
gcc/config/microblaze/microblaze.h

index abde3f44886b6dd20c6a569e9267b4772a37c926..a275bfd6898c5b5f14f29a298240fdee7f3dfd1d 100644 (file)
@@ -1,3 +1,9 @@
+2016-01-21  Ajit Agarwal  <ajitkum@xilinx.com>
+
+       * config/microblaze/microblaze.h
+       (FIXED_REGISTERS): Update in macro.
+       (CALL_USED_REGISTERS): Update in macro.
+
 2016-01-21  Yuri Rumyantsev  <ysrumyan@gmail.com>
 
        PR rtl-optimization/68920
index e115c42839bf1ffb2e130cfc542460e9daa84b70..dbfb6522c7c2d9a176376213c72d7693df55fb18 100644 (file)
@@ -253,14 +253,14 @@ extern enum pipeline_type microblaze_pipe;
 #define FIXED_REGISTERS                                                        \
 {                                                                      \
   1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1,                      \
-  1, 1, 1, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,                      \
+  1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,                      \
   1, 1, 1, 1                                                           \
 }
 
 #define CALL_USED_REGISTERS                                            \
 {                                                                      \
   1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,                      \
-  1, 1, 1, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,                      \
+  1, 1, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,                      \
   1, 1, 1, 1                                                           \
 }
 #define GP_REG_FIRST    0