Commit a5a12a83 by David Daney Committed by David Daney

driver-native.c (host_detect_local_cpu): Handle sb1 and r5000 cpus.

	* config/mips/driver-native.c (host_detect_local_cpu): Handle
	sb1 and r5000 cpus.

From-SVN: r137747
parent 4b156631
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.
......
......@@ -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;
}
......
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