Bug 356 - fu POWER9 pipeline unit tests need to test RA=0
Summary: fu POWER9 pipeline unit tests need to test RA=0
Status: CONFIRMED
Alias: None
Product: Libre-SOC's first SoC
Classification: Unclassified
Component: Source Code (show other bugs)
Version: unspecified
Hardware: PC Mac OS
: --- enhancement
Assignee: Luke Kenneth Casson Leighton
URL:
Depends on:
Blocks: 310 313 314 315 323 324 325 330 339 348 383
  Show dependency treegraph
 
Reported: 2020-05-28 11:43 BST by Luke Kenneth Casson Leighton
Modified: 2020-07-22 15:49 BST (History)
1 user (show)

See Also:
NLnet milestone: ---
total budget (EUR) for completion of task and all subtasks: 0
budget (EUR) for this task, excluding subtasks' budget: 0
parent task for budget allocation:
child tasks for budget allocation:
The table of payments (in EUR) for this task; TOML format:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luke Kenneth Casson Leighton 2020-05-28 11:43:29 BST
some of the instructions act differently when RA=0 (this means pass in a
zero-immediate to RA rather than the contents of register 0).  tests
for both zero-immediate-A and also for actually ensuring that RA=0 reads
register 0 are needed.

see https://git.libre-soc.org/?p=soc.git;a=blob;f=src/soc/fu/alu/test/test_pipe_caller.py;hb=HEAD

and others in soc/fu/*/test/test_pipe_caller.py
Comment 1 Luke Kenneth Casson Leighton 2020-07-22 15:49:16 BST