Skip to content

Commit

Permalink
Allocation should be minimum 4 words for 128 bit quads
Browse files Browse the repository at this point in the history
  • Loading branch information
peter mckinna committed Nov 16, 2016
1 parent f7036fd commit ea3e197
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions m3-libs/m3core/src/float/Common/DragonInt.m3
Expand Up @@ -502,8 +502,8 @@ PROCEDURE ToArr32(s : Session; a : T; VAR out : RefInt32; VAR len : INTEGER) =
yp,zp : Ptr := ADR (s.w[a.w]);
ep : Ptr;
BEGIN
(* assume the allocator zeros this array *)
out := NEW(RefInt32,MAX(a.s, 1));
(* assume the allocator zeros this array, min size 128 bytes for quads *)
out := NEW(RefInt32,MAX(a.s, 4));
IF a.s = 0 THEN
len := 0;
RETURN;
Expand Down

0 comments on commit ea3e197

Please sign in to comment.