8230552: Provide information when hitting a HaltNode for architectures other than x86
Reviewed-by: mdoerr
This commit is contained in:
parent
5a57b9f8ec
commit
0ec39a0b70
@ -8963,7 +8963,7 @@ instruct ShouldNotReachHere( )
|
|||||||
format %{ "ShouldNotReachHere" %}
|
format %{ "ShouldNotReachHere" %}
|
||||||
ins_encode %{
|
ins_encode %{
|
||||||
if (is_reachable()) {
|
if (is_reachable()) {
|
||||||
__ udf(0xdead);
|
__ stop(_halt_reason);
|
||||||
}
|
}
|
||||||
%}
|
%}
|
||||||
ins_pipe(tail_call);
|
ins_pipe(tail_call);
|
||||||
|
@ -15196,7 +15196,7 @@ instruct ShouldNotReachHere() %{
|
|||||||
ins_encode %{
|
ins_encode %{
|
||||||
if (is_reachable()) {
|
if (is_reachable()) {
|
||||||
// TODO: PPC port $archOpcode(ppc64Opcode_tdi);
|
// TODO: PPC port $archOpcode(ppc64Opcode_tdi);
|
||||||
__ should_not_reach_here();
|
__ stop(_halt_reason);
|
||||||
}
|
}
|
||||||
%}
|
%}
|
||||||
ins_pipe(pipe_class_default);
|
ins_pipe(pipe_class_default);
|
||||||
|
@ -9889,7 +9889,7 @@ instruct ShouldNotReachHere() %{
|
|||||||
format %{ "ILLTRAP; ShouldNotReachHere" %}
|
format %{ "ILLTRAP; ShouldNotReachHere" %}
|
||||||
ins_encode %{
|
ins_encode %{
|
||||||
if (is_reachable()) {
|
if (is_reachable()) {
|
||||||
__ z_illtrap();
|
__ stop(_halt_reason);
|
||||||
}
|
}
|
||||||
%}
|
%}
|
||||||
ins_pipe(pipe_class_dummy);
|
ins_pipe(pipe_class_dummy);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user