Commit 90c6fd8a by Andreas Krebbel Committed by Andreas Krebbel

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
parent 9fe9fe04
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> 2009-04-17 Richard Guenther <rguenther@suse.de>
* tree-ssa-ccp.c (struct fold_stmt_r_data): Remove. * tree-ssa-ccp.c (struct fold_stmt_r_data): Remove.
......
...@@ -60,6 +60,10 @@ enum processor_flags ...@@ -60,6 +60,10 @@ enum processor_flags
extern enum processor_type s390_tune; extern enum processor_type s390_tune;
extern enum processor_flags s390_tune_flags; 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_type s390_arch;
extern enum processor_flags s390_arch_flags; extern enum processor_flags s390_arch_flags;
......
...@@ -262,7 +262,7 @@ ...@@ -262,7 +262,7 @@
;; CPUs could in theory be modeled. ;; CPUs could in theory be modeled.
(define_attr "cpu" "g5,g6,z900,z990,z9_109,z10" (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" (define_attr "cpu_facility" "standard,ieee,zarch,longdisp,extimm,dfp,z10"
(const_string "standard")) (const_string "standard"))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment