Bug 46 - in normalisation / align Masked Multishift don't use 111111111 >> shift
Summary: in normalisation / align Masked Multishift don't use 111111111 >> shift
Status: CONFIRMED
Alias: None
Product: Libre-SOC's first SoC
Classification: Unclassified
Component: ALU (including IEEE754 16/32/64-bit FPU) (show other bugs)
Version: unspecified
Hardware: PC Linux
: --- enhancement
Assignee: Luke Kenneth Casson Leighton
URL:
Depends on:
Blocks:
 
Reported: 2019-03-09 07:00 GMT by Luke Kenneth Casson Leighton
Modified: 2019-04-15 12:26 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 2019-03-09 07:00:51 GMT
there is almost certainly a better way to do the mask in the multishifter:
a binary to unary encoder followed by treating that as a 24-bit integer and subtracting 1 would create the desired output: 000001 for an input of "0b1", 0000011 for an input of "0b10", 000111 for an input of "0b11" and so on.