1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-13 10:02:38 +00:00

Reserve register t7 on alpha to point at per-cpu global variables.

This commit is contained in:
Doug Rabson 2000-04-28 08:44:42 +00:00
parent 0fa301ad86
commit 20b11a6003
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=59722
2 changed files with 4 additions and 2 deletions

View File

@ -34,7 +34,8 @@ CFLAGS+= -mpreferred-stack-boundary=2
#
# On the alpha, make sure that we don't use floating-point registers and
# allow the use of EV56 instructions (only needed for low-level i/o).
# Also, reserve register t7 to point at per-cpu global variables.
#
.if ${MACHINE_ARCH} == "alpha"
CFLAGS+= -mno-fp-regs -Wa,-mev56
CFLAGS+= -mno-fp-regs -ffixed-8 -Wa,-mev56
.endif

View File

@ -34,7 +34,8 @@ CFLAGS+= -mpreferred-stack-boundary=2
#
# On the alpha, make sure that we don't use floating-point registers and
# allow the use of EV56 instructions (only needed for low-level i/o).
# Also, reserve register t7 to point at per-cpu global variables.
#
.if ${MACHINE_ARCH} == "alpha"
CFLAGS+= -mno-fp-regs -Wa,-mev56
CFLAGS+= -mno-fp-regs -ffixed-8 -Wa,-mev56
.endif