Skip to content

Commit

Permalink
[sw] remove spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
stnolting committed May 1, 2024
1 parent 49bc8be commit 6d96fd3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sw/common/common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ $(APP_ELF): $(OBJ)

# Assembly listing file (for debugging)
$(APP_ASM): $(APP_ELF)
@$(OBJDUMP) -d -S -z $< > $@
@$(OBJDUMP) -d -S -z $< > $@

# Generate final executable from .text + .rodata + .data (in THIS order!)
main.bin: $(APP_ELF)
Expand Down
4 changes: 2 additions & 2 deletions sw/example/coremark/core_portme.c
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,8 @@ void portable_fini(core_portable *p) {
p->portable_id = 0;

neorv32_uart0_printf("\nNEORV32: Hardware Performance Monitors (low words only)\n");
neorv32_uart0_printf(" > Active clock cycles : %u\n", (uint32_t)neorv32_cpu_csr_read(CSR_MCYCLE));
neorv32_uart0_printf(" > Retired instructions : %u\n", (uint32_t)neorv32_cpu_csr_read(CSR_MINSTRET));
neorv32_uart0_printf(" > Active clock cycles : %u\n", (uint32_t)neorv32_cpu_csr_read(CSR_MCYCLE));
neorv32_uart0_printf(" > Retired instructions : %u\n", (uint32_t)neorv32_cpu_csr_read(CSR_MINSTRET));
if (num_hpm_cnts_global == 0) {neorv32_uart0_printf("no HPMs available\n"); }
if (num_hpm_cnts_global > 0) {neorv32_uart0_printf(" > Compressed instructions : %u\n", (uint32_t)neorv32_cpu_csr_read(CSR_MHPMCOUNTER3)); }
if (num_hpm_cnts_global > 1) {neorv32_uart0_printf(" > Instr. dispatch wait cycles : %u\n", (uint32_t)neorv32_cpu_csr_read(CSR_MHPMCOUNTER4)); }
Expand Down

0 comments on commit 6d96fd3

Please sign in to comment.