Commit graph

95 commits

Author SHA1 Message Date
aa07e24c78
make check-copyright.sh also handle other tests/.../expected/... files 2026-01-23 12:13:06 -08:00
29757a568c
implement decoding mcrf
Some checks failed
/ test (pull_request) Failing after 17s
2026-01-23 11:47:06 -08:00
33529a2296
implement decoding condition register logical instructions 2026-01-23 11:27:48 -08:00
5e9d0957f6
reorder the decoder test cases to match the PowerISA v3.1C PDF 2026-01-23 09:46:29 -08:00
fc8a6cd959
split up tests/simple_power_isa_decoder into separate modules 2026-01-23 09:38:45 -08:00
87112c681a
move simple_power_isa_decoder integration test into its own folder 2026-01-23 08:46:28 -08:00
e6f876f9af
fix & clean up MOp definitions and ensure_reg_fields_are_in_the_same_place
All checks were successful
/ test (pull_request) Successful in 28m22s
2026-01-22 08:28:02 -08:00
9b8d99e9af
implement decoding mcrxrx
Some checks failed
/ test (pull_request) Failing after 18m41s
2026-01-22 07:34:53 -08:00
ffc3d4283c
refactor PRegFlags to use view structs instead of a long list of accessor methods 2026-01-20 19:07:46 -08:00
0433e4f8f1
mark .vcd files as generated
All checks were successful
/ test (pull_request) Successful in 27m0s
2026-01-20 16:20:40 -08:00
a93dca25ac
extract lut out into separate Lut4 type and add test 2026-01-20 16:03:28 -08:00
85ada6e55a
add tests for and fix decoding branch instructions
All checks were successful
/ test (pull_request) Successful in 27m1s
2026-01-19 22:38:48 -08:00
2e05329c36
add branch instructions, no tests yet
All checks were successful
/ test (pull_request) Successful in 27m31s
2026-01-19 20:09:21 -08:00
1fc56e02f9
decode exts[bhw][.] and pnop 2026-01-19 15:41:56 -08:00
aa85ecab01
simplify tests/simple_power_isa_decoder::test_cases somewhat 2026-01-19 14:16:00 -08:00
62a330ed4d
update reg_alloc.vcd
All checks were successful
/ test (pull_request) Successful in 27m28s
2026-01-18 23:23:54 -08:00
c9a3de19b7
add test that UnitMOp has all the register fields aligned across the different variants
Some checks failed
/ test (pull_request) Failing after 27m1s
2026-01-18 22:50:38 -08:00
7ebcd5de1e
decode bitwise logic instructions; also nop and mr special cases 2026-01-18 19:12:48 -08:00
3a35a698e2
decode fixed-point compare instructions 2026-01-18 16:37:00 -08:00
a4b052f5f3
decode all fixed-point add/sub instructions other than addex 2026-01-18 15:02:15 -08:00
62512960c3
decode some more add instructions 2026-01-15 16:10:03 -08:00
b7b6a02777
decodes an addi instruction 2026-01-14 21:41:25 -08:00
6d40eaadb3
WIP adding simple power isa decoder 2026-01-12 07:10:58 -08:00
305d7b0ae6
rename src/powerisa.rs -> src/powerisa_instructions_xml.rs 2026-01-12 03:31:06 -08:00
781dbc6bcb
add copyright header to build.rs
All checks were successful
/ test (pull_request) Successful in 26m24s
/ test (push) Successful in 27m21s
2026-01-09 02:05:08 -08:00
5faf0899a8
fully parse powerisa-instructions.xml 2026-01-09 02:03:59 -08:00
8c02483b65
wip parsing the xml 2026-01-08 00:09:20 -08:00
e4a7d9f59c
add build script that parses the PowerISA v3.1C pdf and produces an xml file 2026-01-07 14:19:46 -08:00
3b5104c8fa
fix vcd to match test output
All checks were successful
/ test (pull_request) Successful in 27m4s
/ test (push) Successful in 26m56s
2025-12-16 23:25:54 -08:00
2de4a67360
add link to other NLnet task and note lack of optimization
Some checks failed
/ test (pull_request) Has been cancelled
2025-12-16 23:10:07 -08:00
d5a7d9dd9e
next_pc works afaict
Some checks failed
/ test (pull_request) Has been cancelled
2025-12-16 23:06:32 -08:00
59da0aec06
WIP fixing bugs
Some checks failed
/ test (pull_request) Failing after 18m46s
2025-12-16 02:32:19 -08:00
5e1238b5c7
replace tests/next_pc's demo program with a simple expression parser as a better demo
Some checks failed
/ test (pull_request) Failing after 18m22s
2025-12-15 21:40:11 -08:00
bc9a3a5ce7
add missing copyright header and check-copyright.sh support for .mermaid
Some checks failed
/ test (pull_request) Failing after 18m42s
2025-12-15 03:00:37 -08:00
d42f010cda
WIP fixing bugs
Some checks failed
/ test (pull_request) Failing after 14s
2025-12-15 02:48:40 -08:00
84e4fde512
fix queueing errors 2025-12-15 00:47:53 -08:00
8ab63f3c6a
update fayalite 2025-12-14 21:05:59 -08:00
f39f40ce1f
fix next_pc::Queue and add test 2025-12-14 20:39:15 -08:00
cbd52c60a8
WIP: next_pc test fails 2025-12-14 01:26:18 -08:00
c87a1b8e1e
wrote out all of next_pc and tests/next_pc 2025-12-13 22:42:34 -08:00
cfd04469ce
WIP linking next_pc stages together 2025-12-10 20:31:04 -08:00
231f5e72ec
WIP: completed stages of next-pc logic, still need to combine them into a pipeline 2025-12-10 20:31:04 -08:00
033d5d4f34
WIP adding next_pc: add call stack 2025-12-10 20:31:04 -08:00
7a77c02cda
WIP adding next_pc: added mock_fetch_decode_pipe 2025-12-10 20:31:04 -08:00
61d52bd028
add Serialize/Deserialize impls for CpuConfig 2025-12-10 20:31:04 -08:00
554238c544
update for new fayalite 2025-12-10 20:31:04 -08:00
24d6537ffe
update Fayalite to get new features and bug fixes 2025-12-10 20:31:04 -08:00
c30bd0737f
add readme
All checks were successful
/ test (pull_request) Successful in 18m8s
/ test (push) Successful in 18m21s
2025-10-24 16:36:31 -07:00
291ad59b02
update CI to use new fayalite-deps container
All checks were successful
/ test (pull_request) Successful in 19m18s
/ test (push) Successful in 18m58s
2025-10-24 02:54:03 -07:00
5e8bc3e580
upgrade to Fayalite edcc5927a5f9ebca6
as part of this I switched to using Fayalite's UIntInRangeInclusive instead of using a custom Length struct
2025-10-24 02:53:35 -07:00