s390.h (s390_tune_attr): New macro definition.

2009-04-17  Andreas Krebbel  <krebbel1@de.ibm.com>

	* config/s390/s390.h (s390_tune_attr): New macro definition.
	* config/s390/s390.md (cpu attribute): Map to s390_tune_attr.

From-SVN: r146272
This commit is contained in:
Andreas Krebbel 2009-04-17 15:08:03 +00:00 committed by Andreas Krebbel
parent 9fe9fe04c5
commit 90c6fd8a8b
3 changed files with 10 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2009-04-17 Andreas Krebbel <krebbel1@de.ibm.com>
* config/s390/s390.h (s390_tune_attr): New macro definition.
* config/s390/s390.md (cpu attribute): Map to s390_tune_attr.
2009-04-17 Richard Guenther <rguenther@suse.de>
* tree-ssa-ccp.c (struct fold_stmt_r_data): Remove.

View file

@ -60,6 +60,10 @@ enum processor_flags
extern enum processor_type s390_tune;
extern enum processor_flags s390_tune_flags;
/* This is necessary to avoid a warning about comparing different enum
types. */
#define s390_tune_attr ((enum attr_cpu)s390_tune)
extern enum processor_type s390_arch;
extern enum processor_flags s390_arch_flags;

View file

@ -262,7 +262,7 @@
;; CPUs could in theory be modeled.
(define_attr "cpu" "g5,g6,z900,z990,z9_109,z10"
(const (symbol_ref "s390_tune")))
(const (symbol_ref "s390_tune_attr")))
(define_attr "cpu_facility" "standard,ieee,zarch,longdisp,extimm,dfp,z10"
(const_string "standard"))