diff options
| author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2018-07-28 10:39:49 +0200 |
|---|---|---|
| committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2018-08-06 17:43:37 +0200 |
| commit | 6da6517086e523f25cef070f9a89105f43147896 (patch) | |
| tree | 741717dc0c4844bd2ac7f6e2efdc3303cf79d0f0 /validation/optim | |
| parent | e3a5d3631fc2ba949fa5ba3c6d7b02387da2cf32 (diff) | |
| download | sparse-dev-6da6517086e523f25cef070f9a89105f43147896.tar.gz | |
limit the mask used for bitfield insertion
The mask used for bitfield insertion is as big as the integers
used internally by sparse. Elsewhere in the code, constants are
always truncated to the size of the instructions using them.
It's also displaying concerned instructions oddly. For example:
and.32 %r2 <- %r1, 0xfffffffffffffff0
Fix this by limiting the mask to the size of the instruction.
Fixes: a8e1df573 ("bitfield: extract linearize_bitfield_insert()")
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'validation/optim')
0 files changed, 0 insertions, 0 deletions
