From b6a38aa0364f6fb8bc14f7203b670ec6f5ac5693 Mon Sep 17 00:00:00 2001
From: Raymond Toy <toy.raymond@gmail.com>
Date: Sat, 13 Feb 2021 09:56:15 -0800
Subject: [PATCH] Fix #103: Remove random-mt19937-update

We don't use the MT19937 RNG anymore, so we can remove this assembly
routine.  But since the code still exists for mt19937, just use
reader-conditionals to disable this.
---
 src/assembly/x86/arith.lisp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/assembly/x86/arith.lisp b/src/assembly/x86/arith.lisp
index a5a9635fc..5d6d432c0 100644
--- a/src/assembly/x86/arith.lisp
+++ b/src/assembly/x86/arith.lisp
@@ -313,7 +313,7 @@
 ;;; the state vector with new random numbers. The state vector is
 ;;; passed in the EAX register.
 ;;;
-#+assembler ; we don't want a vop for this one.
+#+(and random-mt19937 assembler) ; we don't want a vop for this one.
 (define-assembly-routine
     (random-mt19937-update)
     ((:temp state unsigned-reg eax-offset)
-- 
GitLab