Skip to content

assemble: fix truncation 32bit bitwise shift - #284

Open
GermanAizek wants to merge 1 commit into
netwide-assembler:masterfrom
GermanAizek:fix-trunc-bit-shift
Open

assemble: fix truncation 32bit bitwise shift#284
GermanAizek wants to merge 1 commit into
netwide-assembler:masterfrom
GermanAizek:fix-trunc-bit-shift

Conversation

@GermanAizek

Copy link
Copy Markdown

If the left shift pushes any bits beyond the 32nd bit, those bits will overflow and be permanently lost before the value gets expanded into the wider opflags_t space

If the left shift pushes any bits beyond the 32nd bit, those bits will overflow and be permanently lost before the value gets expanded into the wider opflags_t space
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant