| Summary: | add cprop instruction to ISACaller | ||
|---|---|---|---|
| Product: | Libre-SOC's first SoC | Reporter: | Luke Kenneth Casson Leighton <lkcl> |
| Component: | Source Code | Assignee: | Toshaan Bharvani <toshaan> |
| Status: | RESOLVED INVALID | ||
| Severity: | enhancement | CC: | libre-soc-bugs, toshaan |
| Priority: | --- | ||
| Version: | unspecified | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| URL: | https://libre-soc.org/openpower/sv/vector_ops/ | ||
| See Also: |
https://bugs.libre-soc.org/show_bug.cgi?id=1009 https://bugs.libre-soc.org/show_bug.cgi?id=1011 https://bugs.libre-soc.org/show_bug.cgi?id=1027 |
||
| 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: | ||
|
Description
Luke Kenneth Casson Leighton
2023-04-15 09:55:50 BST
toshaan this one's ridiculously simple to get started with, the
pseudocode is 3 lines:
P = (RA)
G = (RB)
RT = ((P|G)+G)^P
and you can look at the existing xor, or and add instructions
to make sure the syntax is correct. it would need to go in
here:
https://git.libre-soc.org/?p=openpower-isa.git;a=blob;f=openpower/isa/bitmanip.mdwn;hb=HEAD
and the commit diffs listed on the "checklist" are blindingly-obvious
examples of how to add the instruction, do make sure to follow the
practice of putting each commit message into this bugreport, in sequence
(the link to the "diff" page makes life easiest for review)
https://libre-soc.org/docs/
https://git.libre-soc.org/?p=openpower-isa.git;a=blob;f=openpower/isa/av.mdwn;hb=HEAD apologies added the pseudocode months ago, bmask too sorry this one is already done! |