From 4c61e35f20fe2ffeb9421dbd6f26c767a234a4a0 Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Wed, 9 Dec 2020 21:06:07 +0100 Subject: [PATCH] i386: Remove REG_ALLOC_ORDER definition MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit REG_ALLOC_ORDER just defines what the default is set to. 2020-12-09 Uroš Bizjak gcc/ * config/i386/i386.h (REG_ALLOC_ORDER): Remove --- gcc/config/i386/i386.h | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h index d157d30..e88738c 100644 --- a/gcc/config/i386/i386.h +++ b/gcc/config/i386/i386.h @@ -1163,22 +1163,6 @@ extern const char *host_detect_local_cpu (int argc, const char **argv); /* k0, k1, k2, k3, k4, k5, k6, k7*/ \ 1, 1, 1, 1, 1, 1, 1, 1 } -/* Order in which to allocate registers. Each register must be - listed once, even those in FIXED_REGISTERS. List frame pointer - late and fixed registers last. Note that, in general, we prefer - registers listed in CALL_USED_REGISTERS, keeping the others - available for storage of persistent values. - - The ADJUST_REG_ALLOC_ORDER actually overwrite the order, - so this is just empty initializer for array. */ - -#define REG_ALLOC_ORDER \ -{ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, \ - 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, \ - 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, \ - 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, \ - 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75 } - /* ADJUST_REG_ALLOC_ORDER is a macro which permits reg_alloc_order to be rearranged based on a particular function. When using sse math, we want to allocate SSE before x87 registers and vice versa. */ -- 2.7.4