Commit Graph

26 Commits

Author SHA1 Message Date
cgd
347f3d6114 kill this. Just include <machine/asm.h> directly 1996-10-17 02:57:08 +00:00
cgd
731ac8686e set the GP before accessing errno. 1996-09-17 21:16:12 +00:00
cgd
a5adf9b9ba reload GP _before_ error check+branch 1996-09-15 18:18:26 +00:00
cgd
8df506ad69 user better names for local labels, as suggested by Matt Thomas and
slightly tweaked.
1996-09-09 00:57:59 +00:00
cgd
86a813e847 remove unused local label 1996-09-09 00:51:27 +00:00
cgd
60bbd380f2 pull up bug fix from libkern:
>frob the mask so that only the low set bit is set, to avoid lossage.
1996-07-15 05:21:09 +00:00
cgd
2f6bb217b1 add an assembly version of ffs(). 1996-07-15 03:13:15 +00:00
cgd
44e8033a96 add assembler versions of the byte swap macros (only compile ntoh and
hton variants, not byte_swap variants, which are just included), and
copy them to libkern when appropriate.
1996-04-17 22:36:30 +00:00
cgd
5b14175ea1 be more conservative when setting the gp 1995-11-04 00:23:04 +00:00
cgd
7a8e7b22a1 deal properly (i hope!) with registers' upper 32 bits, when doing
32-bit division and remainder.  Sometimes, when optimizing, they could
have been different than previously expected (and could have caused
hokey results).
1995-09-30 03:09:07 +00:00
cgd
2940a41ce2 kill some now-bogus XXX's 1995-09-30 02:14:17 +00:00
cgd
473d5f491e return dest string pointer, not source string pointer! 1995-09-26 03:37:10 +00:00
cgd
e7b36fb1b4 fast(!) bzero(), by Trevor Blackwell. 1995-08-14 04:09:23 +00:00
cgd
adca5aa4fc save & restore the argument registers, too. from Trevor Blackwell 1995-08-14 02:20:07 +00:00
cgd
c37c5ab530 Alpha assembly language bcopy(), written by Trevor Blackwell
<tlb@eecs.harvard.edu>.  I added support for using it as memcpy()
and memmove(), by compiling with the appropriate options.
1995-08-13 00:42:27 +00:00
cgd
2fe62c130b stubs to define things, and include the bcopy source 1995-08-13 00:40:47 +00:00
cgd
a4c632dfff bcopy is now a .S, add memcpy.S and memmove.S 1995-08-13 00:35:53 +00:00
cgd
d2e405e546 functions to set FP exception masks & sticky exceptions. they abort, for now. 1995-04-29 05:10:55 +00:00
cgd
3e14f3894b get & set FP rounding direction. these actually seem to work. 1995-04-29 05:09:53 +00:00
cgd
234eecadfb add entries for the float rounding and exception functions 1995-04-29 05:09:14 +00:00
mycroft
ce36f636ab Separate machine dependencies. 1995-03-20 14:45:27 +00:00
cgd
572e3f3188 don't forget inifinity.c 1995-02-25 16:24:22 +00:00
cgd
ea1ca14ecb need these for new gen/Makefile 1995-02-25 16:20:12 +00:00
cgd
6929ad87a5 need these now, with new net Makefile.inc 1995-02-25 14:58:43 +00:00
cgd
3f45f31f15 strange corner cases:
(1) zero top 32 bits for 32-bit unsigned ops; 32-bit value can
		be accidentally(?) sign-extended by the compiler/assembler.
	(2) fix return value for mod's that cause traps
1995-02-25 03:09:32 +00:00
cgd
e4f5181d15 libc support for the alpha. more functions should be written in assembler,
but that's optimization.  8-)
1995-02-10 17:49:48 +00:00