aboutsummaryrefslogtreecommitdiff
path: root/benchmarks/common/crt.S
AgeCommit message (Collapse)AuthorFilesLines
2023-05-22Enable VS for benchmarksJerry Zhao1-2/+2
2020-02-08Solves https://github.com/riscv/riscv-tests/issues/241 : Each mhartid has ↵Sho Nakatani1-2/+2
the same size of stack & TLS. (#242)
2019-12-10benchmarks: Simplify TLS initialisation (#224)James Clarke1-12/+0
The symbols used to query the size of .tdata and .tbss need not be thread-local themselves; instead, make them linker script-provided non-thread-local symbols.
2017-03-29Prohibit relaxing the initial gp generationPalmer Dabbelt1-0/+3
I've added an additional linker relaxation that relaxes two instruction pc-relative sequences to one instruction gp relative sequences when possible. This sequence now optimizes the initial gp generation to mv gp, gp which is obviously bogus. The fix is to disable relaxations when setting up gp, preventing the linker from relaxing away this setup code.
2017-03-29Change the global pointer symbol to __global_pointer$Palmer Dabbelt1-1/+1
This changed a while ago in binutils.
2017-03-25Fix FPU initialization codeAndrew Waterman1-6/+8
2017-03-24Like tests, pass the benchmarks if XLEN disagreesAndrew Waterman1-5/+6
2017-03-21Clean up bmarks buildAndrew Waterman1-1/+1
2017-01-20Use correct macro to guard floating-point initializationAndrew Waterman1-1/+1
2016-12-06avoid non-standard predefined macrosAndrew Waterman1-2/+2
2016-07-11Remove deprecated uarch counters; support RVC for benchmarksAndrew Waterman1-0/+1
2016-07-07Don't use FPU in benchmarks that don't need to use the FPUAndrew Waterman1-15/+12
2016-05-25Keep tohost/fromhost at deterministic addressAndrew Waterman1-0/+8
2016-04-30ERET -> xRET; new memory mapAndrew Waterman1-9/+3
For now, we no longer build hex files, because the programs don't start at address 0. This decision will likely be revisited.
2016-03-14Rework benchmarks to run in M-modeAndrew Waterman1-20/+12
This broadens their utility and lets them use the M-mode counters directly.
2016-03-03WIP on priv spec v1.9Andrew Waterman1-3/+3
2015-07-02Fix RV32 handling of syscall argumentsAndrew Waterman1-62/+64
2015-07-01Add _hard_float check in crt.S.Christopher Celio1-0/+3
2015-05-09Update to privileged architecture version 1.7Andrew Waterman1-13/+3
2015-05-01Make dhrystone report correct-ish numbersAndrew Waterman1-0/+3
2015-04-21Don't rely on reset values of MSTATUS_UA/SAAndrew Waterman1-2/+17
2015-03-17Merge [shm]call into ecall, [shm]ret into eretAndrew Waterman1-2/+2
2015-03-12Update to new privileged specAndrew Waterman1-31/+38
2015-01-09Add LICENSEAndrew Waterman1-0/+2
2014-12-13Initialize static TLS for the benchmarksAndrew Waterman1-9/+11
2014-12-12Use user stack in supervisor modeAndrew Waterman1-14/+1
This fixes a race condition, as there was only one kernel stack.
2014-12-03Use new toolchain and calling conventionAndrew Waterman1-1/+1
2014-11-06Fix TLS in benchmarksAndrew Waterman1-0/+3
Linker relaxations were screwing up loading the thread pointer.
2014-09-10Enable interrupts in bmarksChristopher Celio1-6/+5
2014-04-14commit high-performance mm (scalar and vector versions)Yunsup Lee1-11/+6
2014-02-11Run benchmarks in user modeAndrew Waterman1-27/+114
2014-02-06Clean up benchmarks; support uarch-specific countersAndrew Waterman1-45/+49
2013-11-25Update benchmarks to new privileged ISAAndrew Waterman1-15/+14
2013-10-10Benchmarks now run in user-mode.Christopher Celio1-1/+37
- Jump to main performed by eret. - Nano trap handler added. - FinishTest refactored to perform SYS_exit, placed in util.h. - Only SYS_exit with test_result=1 results in a passed test. - Any other exceptions/syscalls/test_results end program with FAILED test. - PCR status set to S64/U64 if compiled in 64b.
2013-08-23Reflect changes to ISAAndrew Waterman1-43/+40
Conflicts: isa/Makefile
2013-04-29benchmarks initial commitYunsup Lee1-0/+108