Instruction decoding in the 8087 has many more complications: hardcoded instructions handled by the "Bus Interface Unit", instructions that load a constant from the constant ROM, and handling the instruction queue. For more details, see my latest blog post:
https://www.righto.com/2026/02/8087-instruction-decoding.html