Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | At some point arm moved to a unified syntax for arm and thumb instructions. | 2015-06-08 | 2 | -39/+43 | |
| | | | | | | | | | While binutils supports both "unified" and "divided" syntax (defaulting to divided) the integrated assembler in clang only supports unified names so switch some files to unified syntax. Similiar changes were made in bitrig and freebsd. No difference in objdump -d output. tested on zaurus by deraadt@, ok miod@ | ||||
* | Make some $OpenBSD$ lines prettier/standardier by eliminating | 2015-01-19 | 1 | -1/+1 | |
| | | | | | | | superflous '*' after '/*' and adding blank after terminating '$'. Also eases parsing of the lines by simple awk scripts. Aesthetic approval from tedu@. | ||||
* | unifdef __APCS_26__ we don't run on anything with a 26 bit program counter. | 2014-12-30 | 5 | -61/+5 | |
| | | | | | This codepath was removed in the NetBSD code this is derived from back in 2003 and was removed in Bitrig earlier this year. No binary change. | ||||
* | sync with libc, using brnz,pt instead, should be better | 2014-12-19 | 1 | -5/+4 | |
| | | | | ok kettenis | ||||
* | Like libc, also for the kernel: Import new amd64 assembly versions of | 2014-12-09 | 4 | -93/+442 | |
| | | | | | | | | | | strchr/index, strrchr/rindex, and strlen that provide a significantly faster performance than our previous .c or .S implementations. Based on NetBSD's code. Tested with different amd64 CPUs. ok deraadt@ mikeb@ | ||||
* | it should not be necessary to clear the direction flag | 2014-11-29 | 16 | -26/+8 | |
| | | | | ok deraadt | ||||
* | mask off high bits from 'c', before operation, otherwise the packing | 2014-11-21 | 1 | -0/+1 | |
| | | | | | logic writes balony. Hunting with tedu, mlarkin, and final bit spotted by naddy in freebsd's version. | ||||
* | typo | 2014-11-09 | 1 | -2/+2 | |
| | |||||
* | Retire hp300, mvme68k and mvme88k ports. These ports have no users, keeping | 2014-03-18 | 18 | -1046/+0 | |
| | | | | | | | this hardware alive is becoming increasingly difficult, and I should heed the message sent by the three disks which have died on me over the last few days. Noone sane will mourn these ports anyway. So long, and thanks for the fish. | ||||
* | tiny tweak to asm. prefer memcpy and memmove, with bcopy wrapper | 2014-01-09 | 2 | -29/+28 | |
| | | | | ok guenther | ||||
* | VAX ELF kernel bits. | 2013-07-05 | 5 | -79/+79 | |
| | |||||
* | m68k kernel memcpy/memmove/bcopy implementation in libkern, remove ovbcopy, fix for larger than 128k size copies. Parts from deraadt@, ok (and off-by-one fix) miod@ | 2013-06-17 | 3 | -3/+134 | |
| | |||||
* | Fast memmove() implementation for PowerPC, from NetBSD via martin@; with | 2013-06-15 | 3 | -1/+170 | |
| | | | | bcopy() and memcpy() wrappers. | ||||
* | Fix evil typo causing the wrong pointer to be returned for < 32 bytes | 2013-06-15 | 1 | -2/+2 | |
| | | | | memcpy() or memmove(). | ||||
* | Preserve %o5 around Lbcopy_doubles; prevents the return value from memcpy() | 2013-06-15 | 1 | -4/+5 | |
| | | | | | and memmove() to be incorrect for copies of 32 bytes or more, when the source and destination addresses are nicely aligned. | ||||
* | Make bcopy() involve memmove(), not memcpy(). | 2013-06-15 | 2 | -4/+3 | |
| | | | | Do not bogusly return NULL if dst == src (spotted by tedu@) | ||||
* | Correctly handle a length of zero in memcpy(). | 2013-06-15 | 1 | -7/+14 | |
| | | | | Return the original destination pointer in memcpy() and memmove(). | ||||
* | Don't return garbage in memcpy() but the original destination pointer. | 2013-06-15 | 1 | -0/+1 | |
| | |||||
* | give bcopy() the ovbcopy() semantics | 2013-06-15 | 1 | -1/+2 | |
| | |||||
* | regen | 2013-06-14 | 2 | -2/+0 | |
| | |||||
* | ovbcopy begone | 2013-06-14 | 2 | -4/+2 | |
| | |||||
* | regen | 2013-06-14 | 2 | -0/+4 | |
| | |||||
* | Fix memcpy/memmove return value. | 2013-06-14 | 2 | -2/+6 | |
| | |||||
* | new integral bcopy/memmove/memcpy, pulled out of sparc locore | 2013-06-13 | 3 | -3/+421 | |
| | | | | tested by beck | ||||
* | syncronize "look in other file" messages | 2013-06-13 | 4 | -4/+4 | |
| | |||||
* | merged bcopy/memmove/memcpy | 2013-06-13 | 3 | -129/+142 | |
| | | | | tested by bcallah, proofed by jasper, ok tedu | ||||
* | rework the memcpy family to all use one function body and implement | 2013-06-13 | 3 | -272/+248 | |
| | | | | desired semantics. ok deraadt | ||||
* | Remove pointless instruction in the memcpy path that snuck in with the | 2013-06-13 | 1 | -2/+0 | |
| | | | | | | previous commit. ok deraadt@ | ||||
* | ovbcopy begone | 2013-06-13 | 1 | -4/+1 | |
| | |||||
* | same bcopy/memmove/memcpy methodology for vax. | 2013-06-13 | 3 | -158/+19 | |
| | | | | checked over by mlarkin | ||||
* | merge bcopy/memmove/memcpy into one file, with jumps so that it is more | 2013-06-13 | 3 | -3/+113 | |
| | | | | | | likely to be in the cache (like how the explanation is split between multiple commits?) tested by various | ||||
* | merge memcpy/memmove/bcopy into one file, with sub-jumps. | 2013-06-13 | 3 | -3/+271 | |
| | | | | ok .... I guess noone, because it is summer | ||||
* | merge bcopy/memcpy/memmove into one function. | 2013-06-13 | 3 | -104/+89 | |
| | | | | ok mlarkin tedu | ||||
* | regen | 2013-06-11 | 1 | -45/+45 | |
| | |||||
* | Optimize memcpy(9) by always doing a forward copy; it should never be used | 2013-06-11 | 1 | -9/+9 | |
| | | | | | | | | for overlapping copies. Attempt to be instruction cache friendly by turning things around and make memcpy(9) use the forward copy branch of memmove(9), and implement bcopy(9) by swapping its arguments and dropping into memmove(9). Same change as the one just made to for hppa. | ||||
* | remove ovbcopy support | 2013-06-11 | 14 | -20/+0 | |
| | | | | ok kettenis | ||||
* | regen | 2013-06-11 | 1 | -43/+43 | |
| | |||||
* | Optimize memcpy(9) by always doing a forward copy; it should never be used | 2013-06-11 | 1 | -9/+9 | |
| | | | | | | | | for overlapping copies. Attempt to be instruction cache friendly by turning things around and make memcpy(9) use the forward copy branch of memmove(9), and implement bcopy(9) by swapping its arguments and dropping into memmove(9). ok deraadt@ | ||||
* | Add {,u}{div,mod}si3 to libkern and to the kernel as well. | 2013-06-07 | 4 | -0/+195 | |
| | |||||
* | fix an oft copied typo that i'm tired of looking at | 2013-06-03 | 39 | -39/+39 | |
| | |||||
* | Kernel bits for m68k/ELF, mostly from NetBSD. In addition, the `pmod' symbel | 2013-02-02 | 13 | -163/+163 | |
| | | | | in fpsp has to be renamed due to a clash with other parts of the kernel. | ||||
* | Switch m88k ports to ELF. | 2013-01-05 | 2 | -200/+200 | |
| | |||||
* | Remove excessive sys/cdefs.h inclusion | 2012-12-05 | 1 | -2/+2 | |
| | | | | ok guenther millert kettenis | ||||
* | Remove assembly version of strlen from i386 and amd64, where it's | 2012-01-17 | 2 | -38/+0 | |
| | | | | | | | up to 3 times slower than the C code most of the time. This was brought up by DragonflyBSD guys initially. ok deraadt, guenther. miod will not miss it. | ||||
* | Regen. | 2011-11-27 | 2 | -68/+68 | |
| | |||||
* | Switch to proper PA-RISC 2.0 mnemonics. Works around a bug in the assembler | 2011-11-27 | 1 | -22/+22 | |
| | | | | getting rid of the (hopefully) last bug in this code. | ||||
* | Regen. | 2011-11-27 | 1 | -3/+3 | |
| | |||||
* | Fix return value of memcpy. | 2011-11-27 | 1 | -4/+3 | |
| | |||||
* | Oops, jsing@ changed spcopy.S without realizing that that file is generated | 2011-11-27 | 1 | -7/+3 | |
| | | | | from bcopy.m4. Fix that. | ||||
* | Regen. | 2011-11-27 | 2 | -41/+40 | |
| |