Re: VFRECIP/VFRSQRT instructions
David Horner
What I initially posted was a compilation from days previously, and
I pulled in some bogus test results.
Here is a fresh run : ./a.out 7 5 ;./a.out 7 6 ;./a.out 7 7 ;./a.out 7 8 ;./a.out 7 9 ;./a.out 7 10 ;./a.out 7 11 ;./a.out 8 7 ;./a.out 8 ;./a.out 8 9 ;./a.out 9 ; ip 7 op 5 LUT #bits 640 verilog 0 test/test-long 1 max recip 7x5 error: 2^-5.89148 max rsqrt 7x5 error: 2^-5.98208 ip 7 op 6 LUT #bits 768 verilog 0 test/test-long 1 max recip 7x6 error: 2^-6.79055 max rsqrt 7x6 error: 2^-6.73312 ip 7 op 7 LUT #bits 896 verilog 0 test/test-long 1 max recip 7x7 error: 2^-7.4843 max rsqrt 7x7 error: 2^-7.31422 ip 7 op 8 LUT #bits 1024 verilog 0 test/test-long 1 max recip 7x8 error: 2^-7.77603 max rsqrt 7x8 error: 2^-7.6318 ip 7 op 9 LUT #bits 1152 verilog 0 test/test-long 1 max recip 7x9 error: 2^-7.8889 max rsqrt 7x9 error: 2^-7.87831 ip 7 op 10 LUT #bits 1280 verilog 0 test/test-long 1 max recip 7x10 error: 2^-7.94879 max rsqrt 7x10 error: 2^-7.89712 ip 7 op 11 LUT #bits 1408 verilog 0 test/test-long 1 max recip 7x11 error: 2^-7.97629 max rsqrt 7x11 error: 2^-8 ip 8 op 7 LUT #bits 1792 verilog 0 test/test-long 1 max recip 8x7 error: 2^-7.77602 max rsqrt 8x7 error: 2^-7.72555 estimate width, op=0, out of range reset to default ip 8 op 8 LUT #bits 2048 verilog 0 test/test-long 1 max recip 8x8 error: 2^-8.45311 max rsqrt 8x8 error: 2^-8.25349 ip 8 op 9 LUT #bits 2304 verilog 0 test/test-long 1 max recip 8x9 error: 2^-8.71923 max rsqrt 8x9 error: 2^-8.67807 estimate width, op=0, out of range reset to default ip 9 op 9 LUT #bits 4608 verilog 0 test/test-long 1 max recip 9x9 error: 2^-9.43021 max rsqrt 9x9 error: 2^-9.28082 On 2020-08-01 12:27 a.m., Bill Huffman
wrote:
It came from some testing I was performing on adjacent index values. Completely bogus as I mentioned above. I will instrument the code for more details, but I suspect this code has exactly the same worst case situation (for 7x7). Bill
|
|