Andrew Waterman
f6b2274af4
avoid non-standard predefined macros
9 years ago
Andrew Waterman
6c1d0604dc
Use __riscv_flen macro to detect FP support
10 years ago
Andrew Waterman
b94c7a4b07
Refactor pk, bbl, machine into separate libraries
Yuck.
10 years ago
Andrew Waterman
d2d16a63e2
Disable RVC in fixed-size assembly blocks
11 years ago
Andrew Waterman
39f189549b
Avoid stack overflow with -msoft-float
11 years ago
Andrew Waterman
6517fe26a2
Update to new privileged spec
11 years ago
Andrew Waterman
5c86450130
work in progress on new supervisor spec
11 years ago
Andrew Waterman
069bdd3f0d
Implement draft of new calling convention
Here is the new syscall ABI:
syscall number in a7
args in a0 - a6
return value in a0
Here is the integer register map:
x0 -> x0
x1 -> ra
x2 -> sp
x3 -> tp
x4 -> gp
x5 -> t0
x6 -> t1
x7 -> t2
x8 -> s0
x9 -> s1
x10 -> a0
x11 -> a1
x12 -> a2
x13 -> a3
x14 -> a4
x15 -> a5
x16 -> a6
x17 -> a7
x18 -> s2
x19 -> s3
x20 -> s4
x21 -> s5
x22 -> s6
x23 -> s7
x24 -> s8
x25 -> s9
x26 -> s10
x27 -> s11
x28 -> t3
x29 -> t4
x30 -> t5
x31 -> t6
12 years ago
Andrew Waterman
f62e692e72
Update to new privileged ISA
13 years ago
Andrew Waterman
2f7d5b9ee2
Rename MTFSR/MFFSR to FSSR/FRSR
13 years ago
Andrew Waterman
accebe9e63
add BSD license
13 years ago
Andrew Waterman
1cc5f32ea1
remove unneeded .ent, .end asm directives
13 years ago
Andrew Waterman
8717517e04
Synced up PK with supervisor changes/asm syntax
You must upgrade to the latest compiler and ISA
simulator to build and run this version of the PK.
15 years ago
Andrew Waterman
0edaecc543
temporary undoing of renaming
15 years ago
Andrew Waterman
e63e4fbe87
Renamed packages
15 years ago
Andrew Waterman
9b215d8bb8
[xcc,opcodes,pk,sim] krste's re-renaming spree
15 years ago
Andrew Waterman
4385a34442
[xcc,opcodes,pk,sim] cleanup to FP ISA
- Added 5th rounding mode
- Removed MFCR/MTCR in favor of MFFSR/MTFSR (it was the only CR...)
- merged MTF.D with MTFLH.D; operation depends on RV32/RV64 mode
- made MFFL.D and MFFH.D illegal in RV64
15 years ago
Andrew Waterman
5a0bc797e3
[sim, pk, xcc, opcodes] great instruction renaming of 2011
15 years ago
Andrew Waterman
e45fd54d56
[pk] minor PK bugfix
16 years ago
Andrew Waterman
783c0ec831
[pk] various PK cleanups/speedups
16 years ago