Fix errors in cv32e40p pulp_vectorial tests
Created by: jstraus59
Two of the cv32e40p pulp_vectorial_* tests were found to have minor errors when we used them to help verify the addition of the PULP_XPULP extension to the Imperas model:
pulp_vectorial_add_sub.S:
- The manual (using .word) encodings of the cv.add.div{2,4,8} instructions in pulp_vectorial_add_sub are incorrect. Specifically the funct5 field values do not match the cv32e40p documentation for any of these instructions, and the funct3 values are incorrect for the cv.add.div2 instructions.
- A few of the expected values defined in the tests for the cv.add.div2 instructions are not correct (missing shifts)
pulp_vectorial_bit_manipulation.S
- Incorrect register used for comparisons
- One expected value was incorrect
See Issue #707 (closed) for more details.