diff mbox

[3/7] rs6000: Add RS6000_BTM_ALWAYS

Message ID 09eae18e89f057591140e5b624052f617c37b269.1345067650.git.segher@kernel.crashing.org
State New
Headers show

Commit Message

Segher Boessenkool Aug. 15, 2012, 10:29 p.m. UTC
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 <segher@kernel.crashing.org>

gcc/
	* config/rs6000/rs6000.h (RS6000_BTM_ALWAYS): New.
---
 gcc/config/rs6000/rs6000.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Comments

David Edelsohn Aug. 15, 2012, 11:53 p.m. UTC | #1
On Wed, Aug 15, 2012 at 6:29 PM, Segher Boessenkool
<segher@kernel.crashing.org> wrote:
> 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 <segher@kernel.crashing.org>
>
> gcc/
>         * config/rs6000/rs6000.h (RS6000_BTM_ALWAYS): New.

This patch is okay.

Thanks, David
diff mbox

Patch

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 */