Skip to content

Commit 0f1d0d8

Browse files
authored
ppc32 and logtest repairs (#1045)
1 parent 6f819d6 commit 0f1d0d8

3 files changed

Lines changed: 15 additions & 1 deletion

File tree

release_notes/release_notes.stex

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2993,6 +2993,17 @@ in fasl files does not generally make sense.
29932993
%-----------------------------------------------------------------------------
29942994
\section{Bug Fixes}\label{section:bugfixes}
29952995

2996+
\subsection{Repair allocation in \scheme{logtest} (10.4.1)}
2997+
2998+
In Version 10.4.0, the \scheme{logtest} procedure could allocate incorrectly when given a
2999+
mixture of fixnum and bignum arguments. The problem has been fixed by adding a missing
3000+
\scheme{__alloc} annotation on the internal implementation.
3001+
3002+
\subsection{Repair \scheme{__alloc} mode for ppc32 (10.4.1)}
3003+
3004+
In Version 10.4.0 on ppc32, an \scheme{__atomic __alloc} foreign-procedure annotation was
3005+
not handled correctly. The problem has been fixed by migrating the end-of-allocation
3006+
pointer between a register and the thread context during an allocating foreign call.
29963007

29973008
\subsection{Declare \scheme{Spopcount} in scheme.h (10.4.0)}
29983009

s/cpnanopass.ss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4718,6 +4718,9 @@
47184718
(or (meta-cond
47194719
[(real-register? '%ap) (eq? reg %ap)]
47204720
[else #f])
4721+
(meta-cond
4722+
[(real-register? '%eap) (eq? reg %eap)]
4723+
[else #f])
47214724
(meta-cond
47224725
[(real-register? '%trap) (eq? reg %trap)]
47234726
[else #f])))))

s/prims.ss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2416,7 +2416,7 @@
24162416
scheme-object))
24172417

24182418
(define $logtest
2419-
(foreign-procedure __atomic "(cs)logtest"
2419+
(foreign-procedure __atomic __alloc "(cs)logtest"
24202420
(scheme-object scheme-object)
24212421
scheme-object))
24222422

0 commit comments

Comments
 (0)