[Git][cmucl/cmucl][issue-170-clean-up-x86-float-compare] Keep single-float/double-float cases together

Raymond Toy (@rtoy) gitlab at common-lisp.net
Tue Feb 28 19:48:26 UTC 2023



Raymond Toy pushed to branch issue-170-clean-up-x86-float-compare at cmucl / cmucl


Commits:
8d18d306 by Raymond Toy at 2023-02-28T11:46:39-08:00
Keep single-float/double-float cases together

Just minor reordering the of the float compare frobs; keep the
single-float and double-float cases together instead of ordering them
by the operation.  I find this easier to read and think about.

- - - - -


1 changed file:

- src/compiler/x86/float-sse2.lisp


Changes:

=====================================
src/compiler/x86/float-sse2.lisp
=====================================
@@ -972,8 +972,8 @@
 		       (inst jmp ,yep target)
 		       (emit-label not-lab)))))))))
   (frob < single comiss :b :nb)
-  (frob < double comisd :b :nb)
   (frob > single comiss :a :na)
+  (frob < double comisd :b :nb)
   (frob > double comisd :a :na))
 
 



View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/8d18d306a79505c3874c1b0840e0ee496d4842c2

-- 
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/8d18d306a79505c3874c1b0840e0ee496d4842c2
You're receiving this email because of your account on gitlab.common-lisp.net.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/cmucl-cvs/attachments/20230228/0090e8de/attachment.html>


More information about the cmucl-cvs mailing list