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
+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.
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;
;; 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"))