Remove $FreeBSD$: one-line .c comment patternRemove /^/[*/]\s*\$FreeBSD\$.*\n/
Create a new MACHINE_ARCH for Freescale PowerPC e500v2Summary:The Freescale e500v2 PowerPC core does not use a standard FPU.Instead, it uses a Signal Processing Engine (SPE)--a DSP-style vector p
Create a new MACHINE_ARCH for Freescale PowerPC e500v2Summary:The Freescale e500v2 PowerPC core does not use a standard FPU.Instead, it uses a Signal Processing Engine (SPE)--a DSP-style vector processorunit, which doubles as a FPU. The PowerPC SPE ABI is incompatible with thestock powerpc ABI, so a new MACHINE_ARCH was created to deal with this.Additionaly, the SPE opcodes overlap with Altivec, so these are mutuallyexclusive. Taking advantage of this fact, a new file, powerpc/booke/spe.c, wascreated with the same function set as in powerpc/powerpc/altivec.c, so itbecomes effectively a drop-in replacement. setjmp/longjmp were modified to savethe upper 32-bits of the now-64-bit GPRs (upper 32-bits are only accessible bythe SPE).Note: This does _not_ support the SPE in the e500v1, as the e500v1 SPE does notsupport double-precision floating point.Also, without a new MACHINE_ARCH it would be impossible to provide binarypackages which utilize the SPE.Additionally, no work has been done to support ports, work is needed for this.This also means no newer gcc can yet be used. However, gcc's powerpc supporthas been refactored which would make adding a powerpcspe-freebsd target veryeasy.Test Plan:This was lightly tested on a RouterBoard RB800 and an AmigaOne A1222(P1022-based) board, compiled against the new ABI. Base system utilities(/bin/sh, /bin/ls, etc) still function appropriately, the system is able to bootmultiuser.Reviewed By: bdrewery, impRelnotes: yesDifferential Revision: https://reviews.freebsd.org/D5683
show more ...