We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
VQDMULH performs the "shift-by-Q" required to compute a fixed-point multiply.Using "0.8 * 0.8 = 0.64" in Q15 format as an example:The Q15 register value is given by 0.8 * 2^15 = 2621426214 in hexadecimal = 0x66660x6666 * 0x6666 = 0x28F570A40x28F570A4 * 2 = 0x51EAE148Top half of 0x51EAE148 = 0x51EA0x51EA in decimal = 20970The interpretation of this Q15 register value is 20970 / 2^15 = 0.64hths.