summaryrefslogtreecommitdiff
path: root/sys/lib/libkern/arch
AgeCommit message (Collapse)Author
2006-11-09typoTheo de Raadt
2006-10-06import supah pieces from netbsdMichael Shalayeff
2006-01-04Switch to the C version of random() on m68k platforms. It is almost as fastMiod Vallat
as the assembly version on 0[234]0, but *fifteen* times faster than it on 68060 systems, since it uses a form of muls.l which has to be emulated. And since we use random() for statclock variance, this means we were gratuitously doing an average of 100 emulation traps per second. ok deraadt@ millert@
2005-08-01I'm Positive these are Type-O.Miod Vallat
2005-07-20not neededTheo de Raadt
2005-07-20add moddi3, needed by new libzTheo de Raadt
2005-04-01hppa64 bitsMichael Shalayeff
2004-10-0864 bit safe over entire address rangePer Fogelstrom
2004-09-21Keep providing a 32bit only version of bzero() #ifdef _STANDALONE, asMiod Vallat
bootblocks are compiled as 32bit code.
2004-09-18slightly 64 bit improvedPer Fogelstrom
2004-09-09Changes for 64 bit kernel. Some functions needis to be rewritten orPer Fogelstrom
optimized to take advantage of full 64 bit width registers.
2004-08-13add missing copyrightPer Fogelstrom
2004-08-11mips64 nowPer Fogelstrom
2004-08-11move to mips64Per Fogelstrom
2004-04-01It turns out that the so-called fast ffs(3) routines were wrong, as soon asMiod Vallat
more than one bit is set, as the ff1 instruction counts from the highest order. However, gcc/m88k with optimization enabled would use a correct, short sequence based upon ff1 and tweaks, to achieve the intended result, hence i did not catch this flaw initially. So revert to the C implementation - it is correct, still decently fast, and will only be used when compiling at -O0.
2004-02-27change amd64's MACHINE_ARCH from x86_64 to amd64. There are many manyTheo de Raadt
reasons for this, quite a few of them technical, and not all of them in response to Intel's broken ia32e crud. The gcc toolchain stays at x86_64 for now.
2004-02-01tag...Dale Rahn
2004-02-01Kernel library bits for arm, from NetBSD.Dale Rahn
2004-01-28an amd64 arch support.Michael Shalayeff
hacked by art@ from netbsd sources and then later debugged by me into the shape where it can host itself. no bootloader yet as needs redoing from the recent advanced i386 sources (anyone? ;)
2004-01-22use C comments, works betterTheo de Raadt
2004-01-21A faster ffs() routine based upon the ff1 assembly instruction.Miod Vallat
2003-06-04another 3/4Theo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-06-01strcpy/strcat/sprintf removal in all bootblocks. various testing byTheo de Raadt
various people. outside of some messy things in src/gnu, only one thing in the main tree now violates this rule: bind
2003-04-29Get rid of more unwanted pieces of code.Miod Vallat
2003-01-28add a rule to built bzero.po as wellMichael Shalayeff
2002-11-11powerpc uses memset for bzero, do this for profiled version also.Dale Rahn
2002-09-15use mi strlcpy here as wellMichael Shalayeff
2002-09-06Remove 64-bit gcc emulation stuff. We're not using it.Artur Grabowski
2002-08-27do not just bail out of the copy loop, but go to theMichael Shalayeff
'done' label for the job finish. major register missallocation for copyonfault, fix it. clean the space regs after use.
2002-08-13syncMichael Shalayeff
2002-08-11Use _C_LABEL for c symbols.Artur Grabowski
2002-05-20syncMichael Shalayeff
2002-04-28IEEE 754 floating point completion code, and implementation of thePeter Valchev
FP_C (Floating Point Control Quadword). From ross@NetBSD. Added a way to disable it with option NO_IEEE, which appears on the ramdisks to save space. This affects only programs compiled with -mieee, and what it essentially does is enabling infinities and NaNs, instead of generating SIGFPE on division by zero, overflow, etc. ok art, deraadt
2002-03-14First round of __P removal in sysTodd C. Miller
2002-03-08syncMichael Shalayeff
2002-03-08syncMichael Shalayeff
2002-02-07syncMichael Shalayeff
2001-09-20syncMichael Shalayeff
2001-08-20$OpenBSD$Jason Wright
2001-08-19strlcpy and strlcatArtur Grabowski
2001-08-19libkern sparc64 stuff (mostly from NetBSD... lightly modified... with a side ↵Jason Wright
of bacon)
2001-08-12#(endif|else) foo is incorrect, make it #endif /* foo */Heikki Korpela
deraadt@ ok
2001-07-09remove unused files, build bzero off of memsetMichael Shalayeff
2001-07-09have to have a proto hereMichael Shalayeff
2001-06-04syncMichael Shalayeff
2001-06-04export these from libcMichael Shalayeff
2001-03-29get rid of somming we willMichael Shalayeff
2001-03-28sync w/ libcMichael Shalayeff
2001-03-28rely on predefined space attributesMichael Shalayeff