diff options
author | Andrew Cagney <cagney@redhat.com> | 1997-05-23 02:01:04 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 1997-05-23 02:01:04 +0000 |
commit | b526378484aeb7237b4bc54a7a53ce210d9777d8 (patch) | |
tree | d6d16be9c395a2275eaa1e4bd8d7ca9e1a3fd7f3 /sim/igen/gen-semantics.c | |
parent | 8167e102a5209a532d609241266b1dd076693b6d (diff) | |
download | gdb-b526378484aeb7237b4bc54a7a53ce210d9777d8.zip gdb-b526378484aeb7237b4bc54a7a53ce210d9777d8.tar.gz gdb-b526378484aeb7237b4bc54a7a53ce210d9777d8.tar.bz2 |
Incorrect test for zero-r0 code gen.
Diffstat (limited to 'sim/igen/gen-semantics.c')
-rw-r--r-- | sim/igen/gen-semantics.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/igen/gen-semantics.c b/sim/igen/gen-semantics.c index 35b247f..b249e38 100644 --- a/sim/igen/gen-semantics.c +++ b/sim/igen/gen-semantics.c @@ -176,7 +176,7 @@ print_semantic_body(lf *file, /* Architecture expects r0 to be zero. Instead of having to check every read to see if it is refering to r0 just zap the r0 register */ - if ((code & generate_with_semantic_delayed_branch)) + if ((code & generate_with_zero_r0)) { lf_printf (file, "\n"); lf_printf (file, "GPR(0) = 0;\n"); @@ -201,7 +201,7 @@ print_semantic_body(lf *file, else { /* abort so it is implemented now */ table_entry_print_cpp_line_nr(file, instruction->file_entry); - lf_printf(file, "engine_error (SD, CPU, cia, \"%s:%d:0x%%08lx:%%s unimplemented\\n\",\n", + lf_printf(file, "sim_engine_abort (SD, CPU, cia, \"%s:%d:0x%%08lx:%%s unimplemented\\n\",\n", filter_filename(instruction->file_entry->file_name), instruction->file_entry->line_nr); if ((code & generate_with_semantic_delayed_branch)) |