Merge pull request #2823 from ReinUsesLisp/shr-clamp

shader/shift: Implement SHR wrapped and clamped variants
This commit is contained in:
bunnei 2019-09-10 11:56:17 -04:00 committed by GitHub
commit 34b2c60f95
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 6 deletions

View file

@ -674,6 +674,10 @@ union Instruction {
BitField<48, 1, u64> is_signed;
} shift;
union {
BitField<39, 1, u64> wrap;
} shr;
union {
BitField<39, 5, u64> shift_amount;
BitField<48, 1, u64> negate_b;