From patchwork Wed Aug 15 22:29:19 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [3/7] rs6000: Add RS6000_BTM_ALWAYS Date: Wed, 15 Aug 2012 12:29:19 -0000 From: Segher Boessenkool X-Patchwork-Id: 177868 Message-Id: <09eae18e89f057591140e5b624052f617c37b269.1345067650.git.segher@kernel.crashing.org> To: gcc-patches@gcc.gnu.org Cc: dje.gcc@gmail.com, meissner@gcc.gnu.org, Segher Boessenkool This adds a builtin flag for "always enabled". The value 0 works right now as far as I can see, but that is too tricky and should be fixed some day. 2012-08-15 Segher Boessenkool gcc/ * config/rs6000/rs6000.h (RS6000_BTM_ALWAYS): New. --- gcc/config/rs6000/rs6000.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/gcc/config/rs6000/rs6000.h b/gcc/config/rs6000/rs6000.h index 5644435..5c53f85 100644 --- a/gcc/config/rs6000/rs6000.h +++ b/gcc/config/rs6000/rs6000.h @@ -2302,6 +2302,7 @@ extern int frame_pointer_needed; /* Builtin targets. For now, we reuse the masks for those options that are in target flags, and pick two random bits for SPE and paired which aren't in target_flags. */ +#define RS6000_BTM_ALWAYS 0 /* Always enabled. */ #define RS6000_BTM_ALTIVEC MASK_ALTIVEC /* VMX/altivec vectors. */ #define RS6000_BTM_VSX MASK_VSX /* VSX (vector/scalar). */ #define RS6000_BTM_SPE MASK_STRING /* E500 */