Bug 328 - move decoder RB exts function into nmutil
Summary: move decoder RB exts function into nmutil
Status: RESOLVED FIXED
Alias: None
Product: Libre-SOC's first SoC
Classification: Unclassified
Component: Source Code (show other bugs)
Version: unspecified
Hardware: Other Linux
: --- enhancement
Assignee: Luke Kenneth Casson Leighton
URL:
Depends on:
Blocks:
 
Reported: 2020-05-20 07:06 BST by Luke Kenneth Casson Leighton
Modified: 2020-05-21 18:48 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-20 07:06:10 BST
https://git.libre-soc.org/?p=soc.git;a=blob;f=src/soc/decoder/power_decoder2.py;h=862c5ea3e72c138edbe19f5b1a937238e35883ad;hb=HEAD

exts is really useful and code duplication occurs in alu main_pipe OP_EXTS.

creating nmutil/exts.py would help avoid duplication
Comment 1 Luke Kenneth Casson Leighton 2020-05-21 18:48:16 BST
found a few places where sign extension can be done