Use FPU for division instructions if we have an FPU
authorPaul Mackerras <paulus@ozlabs.org>
Mon, 9 May 2022 09:18:42 +0000 (19:18 +1000)
committerPaul Mackerras <paulus@ozlabs.org>
Fri, 22 Jul 2022 12:20:28 +0000 (22:20 +1000)
commit73cc5167ec1ea591d9da43f2e392b5202f045f32
treebf8313ab0c4a151e3c123927f5924430286ed3b1
parent34330552e8f1d78c1dac1e7a154dcee6a991c74a
Use FPU for division instructions if we have an FPU

- Arrange for XER to be written for OE=1 forms
- Arrange for condition codes to be set for RC=1 forms
  (including correct handling for 32-bit mode)
- Don't instantiate the divider if we have an FPU.

Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
common.vhdl
decode1.vhdl
execute1.vhdl
fpu.vhdl
tests/fpu/fpu.c
writeback.vhdl