i386.h (STACK_SIZE_MODE): Define.
authorUros Bizjak <ubizjak@gmail.com>
Mon, 27 May 2019 14:37:02 +0000 (16:37 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Mon, 27 May 2019 14:37:02 +0000 (16:37 +0200)
* config/i386/i386.h (STACK_SIZE_MODE): Define.

From-SVN: r271663

gcc/ChangeLog
gcc/config/i386/i386.h

index a7a941e..d303860 100644 (file)
@@ -1,3 +1,7 @@
+2019-05-27  Uroš Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/i386.h (STACK_SIZE_MODE): Define.
+
 2019-05-27  Richard Biener  <rguenther@suse.de>
 
        PR tree-optimization/90637
index 7852c76..d9e8a41 100644 (file)
@@ -1947,6 +1947,10 @@ do {                                                     \
 #define STACK_SAVEAREA_MODE(LEVEL)                     \
   ((LEVEL) == SAVE_NONLOCAL ? (TARGET_64BIT ? TImode : DImode) : Pmode)
 
+/* Specify the machine_mode of the size increment
+   operand of an 'allocate_stack' named pattern.  */
+#define STACK_SIZE_MODE Pmode
+
 /* A C expression whose value is zero if pointers that need to be extended
    from being `POINTER_SIZE' bits wide to `Pmode' are sign-extended and
    greater then zero if they are zero-extended and less then zero if the