Raymond Toy pushed to branch issue-356-x87-status-word-in-low-part at cmucl / cmucl
Commits: 4949a011 by Raymond Toy at 2024-09-09T12:07:55-07:00 Address review comments
Add comment to say we're doing this to match the SSE2 mxcsr register so the sticky bits are in the same place.
- - - - -
1 changed file:
- src/compiler/x86/float-sse2.lisp
Changes:
===================================== src/compiler/x86/float-sse2.lisp ===================================== @@ -1398,7 +1398,8 @@ (inst xor sw-reg #x3f) ; invert exception mask (move res sw-reg) ;; Put status word in the low 16 bits and the control word in the - ;; high 16 bits. + ;; high 16 bits. This is to match the SSE2 mxcsr register that has + ;; the status bits (sticky bits) in lowest part of the word. (inst rol res 16)))
;; Set the control and status words from the FPU. The low 16 bits
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/4949a01101a79a81c4fcc90e...