Fix ultrasparc_vis[23]_hw tests

* lib/target-supports.exp
	(check_effective_target_ultrasparc_vis2_hw): Call check_runtime
	with ultrasparc_vis2_hw.
	(check_effective_target_ultrasparc_vis3_hw): Call check_runtime
	with ultrasparc_vis3_hw.

From-SVN: r181582
This commit is contained in:
Rainer Orth 2011-11-21 15:08:03 +00:00 committed by Rainer Orth
parent 5328a91df3
commit 379fba828f
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,11 @@
2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* lib/target-supports.exp
(check_effective_target_ultrasparc_vis2_hw): Call check_runtime
with ultrasparc_vis2_hw.
(check_effective_target_ultrasparc_vis3_hw): Call check_runtime
with ultrasparc_vis3_hw.
2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* c-c++-common/tm/malloc.c: Scan tree dumps for std::malloc if

View File

@ -2476,7 +2476,7 @@ proc check_effective_target_ultrasparc_hw { } {
# instructions. We check this by attempting: "bmask %g0, %g0, %g0"
proc check_effective_target_ultrasparc_vis2_hw { } {
return [check_runtime ultrasparc_hw {
return [check_runtime ultrasparc_vis2_hw {
int main() { __asm__(".word 0x81b00320"); return 0; }
} "-mcpu=ultrasparc3"]
}
@ -2485,7 +2485,7 @@ proc check_effective_target_ultrasparc_vis2_hw { } {
# instructions. We check this by attempting: "addxc %g0, %g0, %g0"
proc check_effective_target_ultrasparc_vis3_hw { } {
return [check_runtime ultrasparc_hw {
return [check_runtime ultrasparc_vis3_hw {
int main() { __asm__(".word 0x81b00220"); return 0; }
} "-mcpu=niagara3"]
}