/* The following two functions don't need trapb/excb instructions aroundthemf_fpcr/mt_fpcrinstructionsbecause(a)thekernel nevergeneratesarithmeticfaultsand(b)call_palinstructions
are implied trap barriers. */
staticinlineunsignedlong
swcr_update_status(unsignedlong swcr, unsignedlong fpcr)
{ /* EV6 implements most of the bits in hardware. Collect
the acrued exception bits from the real fpcr. */ if (implver() == IMPLVER_EV6) {
swcr &= ~IEEE_STATUS_MASK;
swcr |= (fpcr >> 35) & IEEE_STATUS_MASK;
} return swcr;
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.