> compile NEMU

ysyx_22040000 李心杨
Linux calcite 6.6.18 #1-NixOS SMP PREEMPT_DYNAMIC Fri Feb 23 08:25:28 UTC 2024 x86_64 GNU/Linux
 11:43:20  up 1 day 15:11,  2 users,  load average: 1.04, 0.76, 0.53
This commit is contained in:
tracer-ysyx 2024-03-06 11:43:20 +08:00 committed by xinyangli
parent b5c473419a
commit b8bceb95ba
2 changed files with 5 additions and 5 deletions

8
nemu/1
View file

@ -167,9 +167,9 @@ If it is the second case, remember:
0x80000068: 02 f7 66 33 rem a2, a4, a5 0x80000068: 02 f7 66 33 rem a2, a4, a5
[INFO] src/cpu/cpu-exec.c:125 cpu_exec() nemu: ABORT at pc = 0x80000068 [INFO] src/cpu/cpu-exec.c:125 cpu_exec() nemu: ABORT at pc = 0x80000068
[INFO] src/cpu/cpu-exec.c:125 cpu_exec() nemu: ABORT at pc = 0x80000068 [INFO] src/cpu/cpu-exec.c:125 cpu_exec() nemu: ABORT at pc = 0x80000068
[INFO] src/cpu/cpu-exec.c:93 statistic() host time spent = 384 us [INFO] src/cpu/cpu-exec.c:93 statistic() host time spent = 376 us
[INFO] src/cpu/cpu-exec.c:93 statistic() host time spent = 384 us [INFO] src/cpu/cpu-exec.c:93 statistic() host time spent = 376 us
[INFO] src/cpu/cpu-exec.c:94 statistic() total guest instructions = 123 [INFO] src/cpu/cpu-exec.c:94 statistic() total guest instructions = 123
[INFO] src/cpu/cpu-exec.c:94 statistic() total guest instructions = 123 [INFO] src/cpu/cpu-exec.c:94 statistic() total guest instructions = 123
[INFO] src/cpu/cpu-exec.c:95 statistic() simulation frequency = 320,312 inst/s [INFO] src/cpu/cpu-exec.c:95 statistic() simulation frequency = 327,127 inst/s
[INFO] src/cpu/cpu-exec.c:95 statistic() simulation frequency = 320,312 inst/s [INFO] src/cpu/cpu-exec.c:95 statistic() simulation frequency = 327,127 inst/s

View file

@ -84,7 +84,7 @@ $(IMAGES): %: %.bin $(BINARY)
integration-tests: $(IMAGES) integration-tests: $(IMAGES)
@cat $(RESULT) @cat $(RESULT)
@printf "Test result:\n\tALL: %s, FAILED: %s\n" $(words $(IMAGES)) $(shell wc -l $(RESULT) | cut -f1 -d' ') @printf "Test result:\n ALL: %s, FAILED: %s\n" $(words $(IMAGES)) $(shell wc -l $(RESULT) | cut -f1 -d' ')
@$(RM) $(RESULT) @$(RM) $(RESULT)
test: unit-tests integration-tests test: unit-tests integration-tests