diff options
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/config/mips/driver-native.c | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 895d683..0f9971d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2008-07-12 David Daney <ddaney@avtrex.com> + + * config/mips/driver-native.c (host_detect_local_cpu): Handle + sb1 and r5000 cpus. + 2008-07-12 Richard Sandiford <rdsandiford@googlemail.com> * doc/md.texi: Document the MIPS "v" constraint. diff --git a/gcc/config/mips/driver-native.c b/gcc/config/mips/driver-native.c index cc00389..24831c6 100644 --- a/gcc/config/mips/driver-native.c +++ b/gcc/config/mips/driver-native.c @@ -63,6 +63,10 @@ host_detect_local_cpu (int argc, const char **argv) else if (strstr (buf, "Godson2 V0.3") != NULL || strstr (buf, "Loongson-2 V0.3") != NULL) cpu = "loongson2f"; + else if (strstr (buf, "SiByte SB1") != NULL) + cpu = "sb1"; + else if (strstr (buf, "R5000") != NULL) + cpu = "r5000"; break; } |
