The mask used when modifying a certain range of bits of a value was clearing out...
authorSunny Shah <shahsunny712@gmail.com>
Tue, 4 Oct 2016 17:56:50 +0000 (12:56 -0500)
committerSunny Shah <shahsunny712@gmail.com>
Tue, 4 Oct 2016 17:56:50 +0000 (12:56 -0500)
commit16295d10b920f6c73f1f574e2971eb20bdbb314a
tree52f6099b6d758431f78bc7821456838ae39d70ff
parent3a8715b225efa4d2d9d685cd52ed4385d7817320
The mask used when modifying a certain range of bits of a value was clearing out the bits that didn't need to be modified and perserving those that needed to be. Fixed to use the invert of this as the actual mask.
Additionally, the 'imm' and 'bit_pos' variables correspond to the second, and not the first, operand in the operand list.
dataflowAPI/rose/semantics/DispatcherARM64.C