Raymond Toy pushed to branch issue-294-xoroshiro-lisp-assem-routine at cmucl / cmucl
Commits:
1ec83248 by Raymond Toy at 2024-04-01T17:28:35-07:00
Change the registers used for state, r1, and r0
These registers show that in `xoroshiro-gen`, all the registers are in
the right place so we don't need to do any additional moves.
This is a nice micro-optimization.
- - - - -
1 changed file:
- src/assembly/x86/arith.lisp
Changes:
=====================================
src/assembly/x86/arith.lisp
=====================================
@@ -447,8 +447,8 @@
(:policy :fast-safe)
(:arg-types simple-array-double-float)
(:result-types unsigned-num unsigned-num))
- ((:arg state descriptor-reg eax-offset)
- (:res r1 unsigned-reg edx-offset)
+ ((:arg state descriptor-reg edx-offset)
+ (:res r1 unsigned-reg ecx-offset)
(:res r0 unsigned-reg ebx-offset)
(:temp s0 double-reg xmm0-offset)
(:temp s1 double-reg xmm1-offset)
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/1ec832483118f863620fd90…
--
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/1ec832483118f863620fd90…
You're receiving this email because of your account on gitlab.common-lisp.net.