OpenCores
URL https://opencores.org/ocsvn/potato/potato/trunk

Subversion Repositories potato

[/] [potato/] [trunk/] [benchmarks/] [start.S] - Diff between revs 58 and 65

Show entire file | Details | Blame | View Log

Rev 58 Rev 65
Line 56... Line 56...
        addi x1, x1, 4
        addi x1, x1, 4
        bne x1, x2, 1b
        bne x1, x2, 1b
 
 
2:
2:
 
 
 
.hidden enable_caches
 
enable_caches:
 
        csrsi CSR_PP_CACHECTRL, 1 << CSR_PP_CACHECTRL_ICACHE_EN
 
        fence.i
 
 
.hidden call_main
.hidden call_main
call_main:
call_main:
        la sp, __stack_top
        la sp, __stack_top
        jal main
        jal main
        csrw mtohost, a0
        csrw mtohost, a0

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.