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 abde3f4..a275bfd 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 e115c42..dbfb652 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