Re: Use Enum for rs6000 -mcpu=, -mtune= options

2011-05-10 Thread David Edelsohn
On Mon, May 9, 2011 at 6:17 PM, Joseph S. Myers wrote: > This patch makes the handling of the rs6000 -mcpu= and -mtune= options > use Enum, completing the conversion of rs6000_handle_option - and so > of all target option handlers - to avoid using modifiable global > state. > > As with various oth

Use Enum for rs6000 -mcpu=, -mtune= options

2011-05-09 Thread Joseph S. Myers
This patch makes the handling of the rs6000 -mcpu= and -mtune= options use Enum, completing the conversion of rs6000_handle_option - and so of all target option handlers - to avoid using modifiable global state. As with various other targets, a generated rs6000-tables.opt is used. This target had