Add missing `#ifdef SUN4U', `FTYPE_LNG' is only defined on sparc64.

This commit is contained in:
hannken 2000-08-04 14:44:40 +00:00
parent 8d37a29277
commit 8e764c2ae5
1 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: fpu.c,v 1.8 2000/08/03 18:32:07 eeh Exp $ */
/* $NetBSD: fpu.c,v 1.9 2000/08/04 14:44:40 hannken Exp $ */
/*
* Copyright (c) 1992, 1993
@ -567,7 +567,11 @@ fpu_execute(fe, instr)
}
fs->fs_fsr = fsr;
fs->fs_regs[rd] = space[0];
if (type >= FTYPE_DBL || type == FTYPE_LNG) {
if (type >= FTYPE_DBL
#ifdef SUN4U
|| type == FTYPE_LNG
#endif /* SUN4U */
) {
fs->fs_regs[rd + 1] = space[1];
if (type > FTYPE_DBL) {
fs->fs_regs[rd + 2] = space[2];