UoB-HPC / SimEng

The University of Bristol HPC Simulation Engine
https://uob-hpc.github.io/SimEng
Apache License 2.0
93 stars 20 forks source link

bitfieldManipulate uncaught bound restrictions #394

Closed jj16791 closed 9 months ago

jj16791 commented 9 months ago

bitfieldManipulate is used in the AArch64 namespace to provide the core functionality for (U|S)BFM instructions. However, unlike those instructions bitfieldManipulate does not correctly ensure the value of imms and immr meet the bound requirements set by the width of data type T.