HomeFreeBSD

Further enhance the handling of misaligned loads and stores:

Description

Further enhance the handling of misaligned loads and stores:
o implement double-extended and single precision loads and stores,
o implement double precision stores,
o replace the machdep.unaligned_print sysctl with debug.unaligned_print

and change the default value to 0,

o replace the machdep.unaligned_sigbus sysctl with debug.unaligned_test,
o Remmove the fillfd() function. The function is trvial enough for

inline assembly.

The debug.unaligned_test sysctl is used to test the emulation of
misaligned loads and stores. When PSR.ac is 0, the CPU will handle
misaligned memory accesses itselfi and we don't get an exception
for it. When PSR.ac is 1, the process needs to be signalled and we
should not emulate. The sysctl takes effect when PSR.ac is 1 and
tells us that we should emulate and not send a signal.

PR: 72268
MFC after: 1 week

Details

Provenance
marcelAuthored on Jan 2 2005, 12:20 AM
Parents
rG74d8001c64d8: o Remove duplicate includes.
Branches
Unknown
Tags
Unknown

Event Timeline