]> git.lizzy.rs Git - plan9front.git/log
plan9front.git
8 years ago/sys/lib/dist/ndb/common: update for sl's auth servers
stanley lieber [Fri, 11 Dec 2015 19:18:06 +0000 (14:18 -0500)]
/sys/lib/dist/ndb/common: update for sl's auth servers

8 years ago/lib/ndb/common: add auth=cb.inri.net authdom=nyc
stanley lieber [Wed, 9 Dec 2015 06:17:41 +0000 (01:17 -0500)]
/lib/ndb/common: add auth=cb.inri.net authdom=nyc

8 years agomp: strtomp support for bases 2,4,8
aiju [Tue, 8 Dec 2015 19:26:17 +0000 (20:26 +0100)]
mp: strtomp support for bases 2,4,8

8 years agomp: fix bug in mplogic.c; update mkfile
aiju [Tue, 8 Dec 2015 18:43:22 +0000 (19:43 +0100)]
mp: fix bug in mplogic.c; update mkfile

8 years agomp: add logic operations; mpfmt: include 0x with #
aiju [Tue, 8 Dec 2015 17:29:22 +0000 (18:29 +0100)]
mp: add logic operations; mpfmt: include 0x with #

8 years agofixed spelling error in 2c(1) for the axp entry.
Matthew Veety [Mon, 7 Dec 2015 23:55:26 +0000 (18:55 -0500)]
fixed spelling error in 2c(1) for the axp entry.

8 years agomade sure that rcmain.local runs independent of the existence of $home/lib/profile...
Matthew Veety [Mon, 7 Dec 2015 22:59:53 +0000 (17:59 -0500)]
made sure that rcmain.local runs independent of the existence  of $home/lib/profile. Documented /rc/lib/rcmain, /rc/lib/rcmain.local, $home/lib/profile in rc(1) and the first two in namespace(4)

8 years agoAdded change to /rc/lib/rcmain to allow execution of /rc/lib/rcmain.local if it exist...
Matthew Veety [Mon, 7 Dec 2015 21:01:09 +0000 (16:01 -0500)]
Added change to /rc/lib/rcmain to allow execution of /rc/lib/rcmain.local if it exists. /rc/lib/rcmain.local is similar to $home/lib/profile in that it will only be executed with -l, but is site-wide.

8 years agoyacc: attempt to keep line numbers right for yyparse()
cinap_lenrek [Mon, 7 Dec 2015 16:00:41 +0000 (17:00 +0100)]
yacc: attempt to keep line numbers right for yyparse()

as the generated parser intermixes lines from .y source
and the parser text, the line source/lineno for yyparse()
shows up wrong in the debugger. to make stack traces a
bit less crazy, put a #line 1 "/sys/lib/yaccpar" before
copying in the parser text.

8 years agomerge
cinap_lenrek [Sun, 6 Dec 2015 19:55:27 +0000 (20:55 +0100)]
merge

8 years agolibmp: fix assert() for mpexp() with nil modulus
cinap_lenrek [Sun, 6 Dec 2015 19:53:54 +0000 (20:53 +0100)]
libmp: fix assert() for mpexp() with nil modulus

8 years agolibmp: fix wrong move instruction for arm vector operations
cinap_lenrek [Sun, 6 Dec 2015 19:52:15 +0000 (20:52 +0100)]
libmp: fix wrong move instruction for arm vector operations

8 years agowinwatch: l allows label changes
aiju [Sun, 6 Dec 2015 19:37:18 +0000 (20:37 +0100)]
winwatch: l allows label changes

8 years agolibmp: mpmod() fix typo
cinap_lenrek [Tue, 1 Dec 2015 10:25:08 +0000 (11:25 +0100)]
libmp: mpmod() fix typo

8 years agolibmp: with mpmod() m = 2^a - c ensure that digits(c) < digits(m)
cinap_lenrek [Tue, 1 Dec 2015 10:13:52 +0000 (11:13 +0100)]
libmp: with mpmod() m = 2^a - c ensure that digits(c) < digits(m)

8 years agomerge
cinap_lenrek [Tue, 1 Dec 2015 08:41:49 +0000 (09:41 +0100)]
merge

8 years agolibsec: fix genprime() to produce normalized result
cinap_lenrek [Tue, 1 Dec 2015 08:40:24 +0000 (09:40 +0100)]
libsec: fix genprime() to produce normalized result

this fixed bug "assert_failed_m-flags__mpnorm_since_283cc2200e34".

8 years agomkone: yacc wants the D
aiju [Mon, 30 Nov 2015 22:36:39 +0000 (23:36 +0100)]
mkone: yacc wants the D

8 years agowebcookies: strdup() file argument to avoid crash (thanks mischief)
cinap_lenrek [Mon, 30 Nov 2015 19:08:22 +0000 (20:08 +0100)]
webcookies: strdup() file argument to avoid crash (thanks mischief)

mischief reports:

 acid: lstk()
 abort()+0x0 /sys/src/libc/9sys/abort.c:6
 ppanic(p=0x1bff4,fmt=0x1d749)+0x146 /sys/src/libc/port/malloc.c:166
         pv=0x1dad8
         msg=0x1e4a8
         v=0x3ffffe7c
         n=0x2f
 D2B(p=0x1bff4,v=0x3fffffae)+0x57 /sys/src/libc/port/pool.c:926
         a=0x3fffffa4
 poolfreel(v=0x3fffffae,p=0x1bff4)+0x20 /sys/src/libc/port/pool.c:1152
         ab=0x1dad8
 poolfree(p=0x1bff4,v=0x3fffffae)+0x3b /sys/src/libc/port/pool.c:1287
 free(v=0x3fffffb6)+0x23 /sys/src/libc/port/malloc.c:250
 readjar(file=0x3fffffb6)+0xce /sys/src/cmd/webcookies.c:473
         jar=0x1ea28
         lock=0x1ea68
         p=0x1ea6d
 main(argv=0x3fffffa0,argc=0x0)+0x10f /sys/src/cmd/webcookies.c:1295
         file=0x3fffffb6
         srv=0x0
         mtpt=0x1cfd0
         _argc=0x66
         _args=0x1cfe0
         home=0x0
 _main+0x31 /sys/src/libc/386/main9.s:16
 acid:

8 years agomerge
cinap_lenrek [Mon, 30 Nov 2015 13:57:16 +0000 (14:57 +0100)]
merge

8 years agokernel: cleanup exit()/shutdown()/reboot() code
cinap_lenrek [Mon, 30 Nov 2015 13:56:00 +0000 (14:56 +0100)]
kernel: cleanup exit()/shutdown()/reboot() code

introduce cpushutdown() function that does the common
operation of initiating shutdown, returning once all
cpu's got the message and are about to shutdown. this
avoids duplicated code which isnt really machine specific.

automatic reboot on panic only when *debug= is not set
and the machine is a cpu server or has no display,
otherwise just hang.

8 years agofplot(1): fix typo
BurnZeZ [Sun, 29 Nov 2015 23:06:55 +0000 (18:06 -0500)]
fplot(1): fix typo

8 years agofortunes: If you get this, delete it. - Sorry! -- Tim Berners-Lee, www-talk, Mon...
stanley lieber [Fri, 27 Nov 2015 22:04:02 +0000 (17:04 -0500)]
fortunes: If you get this, delete it. - Sorry! -- Tim Berners-Lee, www-talk, Mon, 28 Oct 91 14:34:12 GMT+0100

8 years agofplot(1): add BUGS section
stanley lieber [Fri, 27 Nov 2015 21:49:19 +0000 (16:49 -0500)]
fplot(1): add BUGS section

8 years agolibsec: add chacha20 poly1305 aead, allow 64 bit iv's for chacha, add tsmemcmp()
cinap_lenrek [Thu, 26 Nov 2015 14:25:10 +0000 (15:25 +0100)]
libsec: add chacha20 poly1305 aead, allow 64 bit iv's for chacha, add tsmemcmp()

chacha20 comes in two variants: ietf rfc7539, using 96 bit iv and 32 bit counter
and draft-agl-tls-chacha20poly1305 using 64 bit iv and a 64 bit counter. so
setupChachastate() now takes a ivlen argument which sets the mode.

add ccpoly_encrypt()/ccpoly_decrypt() routines.

to implement timing safe ccpoly_decrypt(), a constant time memcmp was needed, so
adding tsmemcmp() to libsec.

8 years agompc: mpc.c is generated by yacc, so remove it on mk clean
BurnZeZ [Wed, 25 Nov 2015 16:39:01 +0000 (11:39 -0500)]
mpc: mpc.c is generated by yacc, so remove it on mk clean

8 years agorio: allow reading the image of a hidden window thru the window file
cinap_lenrek [Wed, 25 Nov 2015 03:31:30 +0000 (04:31 +0100)]
rio: allow reading the image of a hidden window thru the window file

8 years agorio: fix handling "resize" wctl for hidden windows
cinap_lenrek [Wed, 25 Nov 2015 03:30:44 +0000 (04:30 +0100)]
rio: fix handling "resize" wctl for hidden windows

when the "resize" wctl was used on a hidden window, the window
was put back on the screen, however, it was not removed from
the hidden[] array so trying to hide the window again failed
because whide() assumed it was already hidden.

the fix is to not unhide the window, but preserve the hidden
state, so windows can programmatically be reshaped and moved,
but will remain hidden unless explicitely unhidden.

8 years agodisksim: don't assume 4-byte pointers
cinap_lenrek [Tue, 24 Nov 2015 10:02:04 +0000 (11:02 +0100)]
disksim: don't assume 4-byte pointers

8 years agorio: stop serving kbdin file (thanks eekee)
cinap_lenrek [Sun, 22 Nov 2015 23:50:44 +0000 (00:50 +0100)]
rio: stop serving kbdin file (thanks eekee)

kbdfs already provides a /dev/kbdin file for the system, rio does
not need to provide one for the onscreen keyboard anymore.

8 years agoadd mpc(1), extended precision code generator
cinap_lenrek [Sun, 22 Nov 2015 22:47:58 +0000 (23:47 +0100)]
add mpc(1), extended precision code generator

8 years agobootrc: remove usbwait hack, usbd/nusbrc are now synchronous by previous commit
cinap_lenrek [Sun, 22 Nov 2015 02:19:27 +0000 (03:19 +0100)]
bootrc: remove usbwait hack, usbd/nusbrc are now synchronous by previous commit

8 years agousbd: intoruce /env/usbbusy
cinap_lenrek [Sun, 22 Nov 2015 02:17:15 +0000 (03:17 +0100)]
usbd: intoruce /env/usbbusy

to solve the usb device enumeration race on boot, usbd creates /env/usbbusy
on startup and once all devices have been enumerated and readers have consumed
all the events, we remove the file so nusbrc/bootrc can continue. this makes
sure all the usb devices that where plugged in on boot are made available.

8 years agodevenv: fix ORCLOSE handling
cinap_lenrek [Sun, 22 Nov 2015 01:39:57 +0000 (02:39 +0100)]
devenv: fix ORCLOSE handling

when opening a /env file ORCLOSE, and the process exits, envgrp() would
return nil can crash in envremove() because procexit will have set up->egrp
to nil before calling closefgrp().

the solution is to capture the environment on open, keeping a reference in
Chan.aux, so it doesnt matter on what process the close happens and a
env chan will always refer to its original environment group.

8 years agolibmp: initial attempt at constant time code, faster reductions for special primes...
cinap_lenrek [Sat, 21 Nov 2015 08:39:59 +0000 (09:39 +0100)]
libmp: initial attempt at constant time code, faster reductions for special primes (for ecc)

introduce MPtimesafe flag to request time invariant computation
disables normalization so significant digits are not leaked.

8 years agoremove dunning-krugerrand code
aiju [Fri, 20 Nov 2015 21:26:20 +0000 (22:26 +0100)]
remove dunning-krugerrand code

8 years agolibmp: fix test program
cinap_lenrek [Fri, 20 Nov 2015 05:28:17 +0000 (06:28 +0100)]
libmp: fix test program

8 years agolibmp: add mpvecadd()/mpvecsub() assembly versions for arm
cinap_lenrek [Fri, 20 Nov 2015 05:25:56 +0000 (06:25 +0100)]
libmp: add mpvecadd()/mpvecsub() assembly versions for arm

8 years agolibmp: 386/amd64 mpvec*(): replace conditional branches with ADC/SBB instructions
cinap_lenrek [Fri, 20 Nov 2015 05:25:01 +0000 (06:25 +0100)]
libmp: 386/amd64 mpvec*(): replace conditional branches with ADC/SBB instructions

8 years ago9fs: add case 9front
stanley lieber [Sat, 7 Nov 2015 01:00:03 +0000 (20:00 -0500)]
9fs: add case 9front

8 years agomerge
cinap_lenrek [Fri, 6 Nov 2015 16:28:29 +0000 (17:28 +0100)]
merge

8 years agokernel: use nicer check in okaddr(), wet floor signs in fixfault()
cinap_lenrek [Fri, 6 Nov 2015 16:27:15 +0000 (17:27 +0100)]
kernel: use nicer check in okaddr(), wet floor signs in fixfault()

instead of checking addr+len >= addr, check len >= -addr so
that addr == 0 is never valid for len > 0 even if we decide
to have memory at the zero page so theres never any chance
user can pass in "nil" pointers.

put up some signs where we fall thru the switch cases in
fixfault()

8 years agomerge
cinap_lenrek [Fri, 6 Nov 2015 01:55:11 +0000 (02:55 +0100)]
merge

8 years agokernel: fix okaddr() check
cinap_lenrek [Fri, 6 Nov 2015 01:53:30 +0000 (02:53 +0100)]
kernel: fix okaddr() check

8 years ago9fs: add 9pio case for unauthenticated connections to 9p.io.
stanley lieber [Tue, 3 Nov 2015 00:12:15 +0000 (19:12 -0500)]
9fs: add 9pio case for unauthenticated connections to 9p.io.

8 years agomerge
cinap_lenrek [Sun, 1 Nov 2015 11:14:00 +0000 (12:14 +0100)]
merge

8 years agolibmp: optimize case x/0xffffffff in mpdigdiv() (helps arm)
cinap_lenrek [Sun, 1 Nov 2015 11:12:41 +0000 (12:12 +0100)]
libmp: optimize case x/0xffffffff in mpdigdiv() (helps arm)

8 years agolibmp: add mpvecdigmuladd()/mpvecdigmulsub() assembly routines for arm
cinap_lenrek [Sun, 1 Nov 2015 11:10:10 +0000 (12:10 +0100)]
libmp: add mpvecdigmuladd()/mpvecdigmulsub() assembly routines for arm

8 years ago5c: handle (rare) MULU instruction in peephole optimizer
cinap_lenrek [Sun, 1 Nov 2015 11:09:03 +0000 (12:09 +0100)]
5c: handle (rare) MULU instruction in peephole optimizer

8 years agofortunes: [9fans] FUSE on Plan9
stanley lieber [Sat, 31 Oct 2015 20:09:15 +0000 (16:09 -0400)]
fortunes: [9fans] FUSE on Plan9

8 years agodelkey(1): update man page to reflect recent changes.
stanley lieber [Sat, 31 Oct 2015 20:07:22 +0000 (16:07 -0400)]
delkey(1): update man page to reflect recent changes.

8 years agodelkey: don't be stupid
aiju [Fri, 30 Oct 2015 21:18:09 +0000 (22:18 +0100)]
delkey: don't be stupid

8 years agodevtls: reject SHA2_256 mac for SSL, but TLS is fine
cinap_lenrek [Wed, 28 Oct 2015 16:09:22 +0000 (17:09 +0100)]
devtls: reject SHA2_256 mac for SSL, but TLS is fine

sha256 is only defined for TLS1.2, however, technically, theres
no reason not to use it in TLS1.0/TLS1.1. the choice is up to
tlshand and pushtls, not the kernel.

8 years agomp(2): fix typo mnprand() -> mpnrand()
cinap_lenrek [Wed, 28 Oct 2015 12:39:17 +0000 (13:39 +0100)]
mp(2): fix typo mnprand() -> mpnrand()

8 years agoascii: replace mnemonic np (new page) with ff (form feed) for consistency
BurnZeZ [Sun, 25 Oct 2015 18:46:10 +0000 (14:46 -0400)]
ascii: replace mnemonic np (new page) with ff (form feed) for consistency

8 years agorio: fix scrolling when cursor is above window
BurnZeZ [Sun, 25 Oct 2015 02:57:07 +0000 (22:57 -0400)]
rio: fix scrolling when cursor is above window

8 years agolibsec: add chacha cipher (from charles forsyth)
cinap_lenrek [Thu, 22 Oct 2015 05:48:26 +0000 (07:48 +0200)]
libsec: add chacha cipher (from charles forsyth)

8 years agolibsec: add poly1305
cinap_lenrek [Thu, 22 Oct 2015 05:17:25 +0000 (07:17 +0200)]
libsec: add poly1305

8 years agofortunes: Maybe a git branch can help here?
stanley lieber [Mon, 19 Oct 2015 15:56:03 +0000 (11:56 -0400)]
fortunes: Maybe a git branch can help here?

8 years agoacid/leak: fix endless loop for B2NB(b) == b case (thanks mischief)
cinap_lenrek [Sun, 18 Oct 2015 22:20:33 +0000 (00:20 +0200)]
acid/leak: fix endless loop for B2NB(b) == b case (thanks mischief)

8 years agowifi: prioritize rsne over wpaie
cinap_lenrek [Sat, 17 Oct 2015 12:45:25 +0000 (14:45 +0200)]
wifi: prioritize rsne over wpaie

if beacon/proble contains both wpa information element and rsne, the rsne wins.

8 years agomerge
cinap_lenrek [Thu, 15 Oct 2015 11:22:48 +0000 (13:22 +0200)]
merge

8 years agolib9p: do not override Srv.end in listensrv(), simplify srvclose() and recounting
cinap_lenrek [Thu, 15 Oct 2015 11:21:30 +0000 (13:21 +0200)]
lib9p: do not override Srv.end in listensrv(), simplify srvclose() and recounting

listensrv() used to override Srv.end() with its own handler
to free the malloc'd Srv structure and close the fd. this
makes it impossible to register your own cleanup handler.
instead, we introduce the private Srv.free() handler that
is used by listensrv to register its cleanup code. Srv.free()
is called once all the srv procs have been exited and all
requests on that srv have been responded to while Srv.end()
is called once all the procs exited the srv loop regardless
of the requests still being in flight.

8 years agolib9p: add reqqueuefree
aiju [Mon, 12 Oct 2015 08:41:40 +0000 (10:41 +0200)]
lib9p: add reqqueuefree

8 years agolibsec: remove rc4 cipher suits for tls
cinap_lenrek [Fri, 9 Oct 2015 23:12:30 +0000 (01:12 +0200)]
libsec: remove rc4 cipher suits for tls

8 years agoaux/listen1: usage()
cinap_lenrek [Fri, 9 Oct 2015 22:11:03 +0000 (00:11 +0200)]
aux/listen1: usage()

8 years agoaux/listen1: allow alternative namespace when running as user none with -n option
cinap_lenrek [Fri, 9 Oct 2015 22:09:02 +0000 (00:09 +0200)]
aux/listen1: allow alternative namespace when running as user none with -n option

8 years agocwfs: fix wstat() failing to mark block dirty when noatime is set
cinap_lenrek [Fri, 9 Oct 2015 17:22:53 +0000 (19:22 +0200)]
cwfs: fix wstat() failing to mark block dirty when noatime is set

code assumed the accessdir() call would always mark the block dirty, but
this is not the case when noatime flag is enabled. this was reported by
michael in bug:

"open/with_noatime_option_cwfs_doesnt_preserve_changes_in_file_permissionowner"

--
cinap

8 years agolibsec: clarify the code by declaring constant for DirectoryString and handle convers...
cinap_lenrek [Fri, 9 Oct 2015 16:52:32 +0000 (18:52 +0200)]
libsec: clarify the code by declaring constant for DirectoryString and handle conversion in mkstring()

8 years agolibsec: use the right string encoding for various x509 fields
cinap_lenrek [Fri, 9 Oct 2015 16:31:49 +0000 (18:31 +0200)]
libsec: use the right string encoding for various x509 fields

C= has to be PrintableString, E= and DC= are IA5String, everything
else is DirectoryString which can be PrintableString or UTF8String.

8 years agowifi: quote value of parsed ether options
cinap_lenrek [Fri, 9 Oct 2015 03:10:47 +0000 (05:10 +0200)]
wifi: quote value of parsed ether options

introduce wificfg() function to convert ether->opt[] strings
to wifictl messages, which needs quoting for the value. so
etherX=type=iwl essid='something with spaces' works.

8 years agomerge
cinap_lenrek [Thu, 8 Oct 2015 15:16:06 +0000 (17:16 +0200)]
merge

8 years agocc: restore side(), but do not consider OINDEX as side effect free
cinap_lenrek [Thu, 8 Oct 2015 15:14:07 +0000 (17:14 +0200)]
cc: restore side(), but do not consider OINDEX as side effect free

from charles forsuth:

because the previous version thought OINDEX might have a side effect, it
stopped it building a tower of them.
probably the best thing is to limit that anyway, since each one consumes
2-3 registers, so towering them can
keep even more active, and the x86 hasn't got that many.

the quick hack is to return that case to the earlier state by treating
OINDEX as a side-effect in side().
it's not a bad thing to do in the OSTRUCT case, for similar reasons: it's
better to collapse the indexed pointer
into a direct register, instead of repeating the indexing operation through
the copying of the value.
OINDEX isn't a machine-independent operation, so it doesn't affect the uses
in ../cc

8 years agoport: fix typo in devmnt mntproc name
mischief [Thu, 8 Oct 2015 04:45:03 +0000 (21:45 -0700)]
port: fix typo in devmnt mntproc name

8 years agodoom: fix bogus pointer arithmetic, do sfx initialization in two passes for linked...
cinap_lenrek [Wed, 7 Oct 2015 22:37:54 +0000 (00:37 +0200)]
doom: fix bogus pointer arithmetic, do sfx initialization in two passes for linked sounds

8 years agocc: back out side() change unil 8c is fixed
cinap_lenrek [Wed, 7 Oct 2015 11:35:36 +0000 (13:35 +0200)]
cc: back out side() change unil 8c is fixed

this change made 8c fail to build libvorbis and gs, until this
is fixed we can live with non-optimal code.

8 years agoqc: import changes from charles forsyth
cinap_lenrek [Wed, 7 Oct 2015 07:40:48 +0000 (09:40 +0200)]
qc: import changes from charles forsyth

8 years agokc: import various changes from charles forsyth
cinap_lenrek [Tue, 6 Oct 2015 04:55:05 +0000 (06:55 +0200)]
kc: import various changes from charles forsyth

8 years agocc: include $builtin as keywoard in pickle() (from charles forsyth)
cinap_lenrek [Tue, 6 Oct 2015 04:47:55 +0000 (06:47 +0200)]
cc: include $builtin as keywoard in pickle() (from charles forsyth)

8 years agocc: getflag() fmt will be terminated at end of loop (from charles forsyth)
cinap_lenrek [Tue, 6 Oct 2015 04:38:37 +0000 (06:38 +0200)]
cc: getflag() fmt will be terminated at end of loop (from charles forsyth)

8 years agocc: allow runes as macro names (from charles forsyth)
cinap_lenrek [Tue, 6 Oct 2015 04:34:30 +0000 (06:34 +0200)]
cc: allow runes as macro names (from charles forsyth)

8 years ago5c/6c/8c/vc: import various changes from charles forsyth
cinap_lenrek [Tue, 6 Oct 2015 04:20:01 +0000 (06:20 +0200)]
5c/6c/8c/vc: import various changes from charles forsyth

- cover more cases that have no side effects
- ensure function has complex FNX
- pull operators out of OFUNC level
- rewrite OSTRUCT lhs to avoid all side-effects, use regalloc() instead of regret()

8 years agocc: TUSHORT -> TRUNE for lstring constats for OUSED
cinap_lenrek [Tue, 6 Oct 2015 03:20:00 +0000 (05:20 +0200)]
cc: TUSHORT -> TRUNE for lstring constats for OUSED

8 years ago9660srv: do not ignore upper 32 bits of offset when reading directory
cinap_lenrek [Mon, 5 Oct 2015 02:45:32 +0000 (04:45 +0200)]
9660srv: do not ignore upper 32 bits of offset when reading directory

8 years agodossrv: handle file offsets > 2^31
cinap_lenrek [Mon, 5 Oct 2015 02:31:31 +0000 (04:31 +0200)]
dossrv: handle file offsets > 2^31

maximum file size is 4GB-1 as the file length is stored in
a 32 bit long. make sure it doesnt overflow on write or
or truncate. interpret the file length as unsigned. pass
vlong to readfile()/writefile()/truncfile() so we can
handle overflows and not just ignore the upper bits.

8 years ago6c: remove 6c/vlrt.c file
cinap_lenrek [Sun, 4 Oct 2015 20:12:16 +0000 (22:12 +0200)]
6c: remove 6c/vlrt.c file

8 years ago8c: dont abort() when running out of registers.
cinap_lenrek [Sun, 4 Oct 2015 20:09:36 +0000 (22:09 +0200)]
8c: dont abort() when running out of registers.

8 years agovc: fix mistake.
cinap_lenrek [Sun, 4 Oct 2015 19:22:17 +0000 (21:22 +0200)]
vc: fix mistake.

8 years agoape: add missing _subv() function to 386/vlop.s
cinap_lenrek [Sun, 4 Oct 2015 18:16:41 +0000 (20:16 +0200)]
ape: add missing _subv() function to 386/vlop.s

8 years agovc: handle 64 bit mixedmode asop
cinap_lenrek [Sun, 4 Oct 2015 18:08:10 +0000 (20:08 +0200)]
vc: handle 64 bit mixedmode asop

8 years ago5c: handle 64 bit mixedmode asop
cinap_lenrek [Sun, 4 Oct 2015 18:07:34 +0000 (20:07 +0200)]
5c: handle 64 bit mixedmode asop

8 years ago8c: handle 64 bit mixedmode asop and type vlong <-> float/double type conversions
cinap_lenrek [Sun, 4 Oct 2015 18:06:59 +0000 (20:06 +0200)]
8c: handle 64 bit mixedmode asop and type vlong <-> float/double type conversions

8 years agocc: handle 64 bit mixedmode asop and type vlong <-> float/double type conversions
cinap_lenrek [Sun, 4 Oct 2015 18:06:30 +0000 (20:06 +0200)]
cc: handle 64 bit mixedmode asop and type vlong <-> float/double type conversions

8 years agocc/6c: fix return type of mixed asop expressions, preserve type for moves so fixed...
cinap_lenrek [Sun, 4 Oct 2015 18:02:58 +0000 (20:02 +0200)]
cc/6c: fix return type of mixed asop expressions, preserve type for moves so fixed<->float conversions work correctly

8 years agoape: add machine specific code for spim
cinap_lenrek [Sun, 4 Oct 2015 17:50:24 +0000 (19:50 +0200)]
ape: add machine specific code for spim

8 years agolibc: add _uv2d()/uv2f() and _vas*d() functions to vlrt.c
cinap_lenrek [Sun, 4 Oct 2015 17:49:02 +0000 (19:49 +0200)]
libc: add _uv2d()/uv2f() and _vas*d() functions to vlrt.c

on 32 bit archs, implement 64 bit vasop with floatingpoint right hand side.
also added is uvlong->double conversion function.

8 years agomerge
cinap_lenrek [Sat, 3 Oct 2015 10:19:31 +0000 (12:19 +0200)]
merge

8 years ago8c: make cgen64() compile target first when it contains functoin call so final assign...
cinap_lenrek [Sat, 3 Oct 2015 10:18:20 +0000 (12:18 +0200)]
8c: make cgen64() compile target first when it contains functoin call so final assignment wont trash the registers

8 years agopc, pc64: add did for intel wildcat point audio controller
mischief [Wed, 30 Sep 2015 01:44:30 +0000 (18:44 -0700)]
pc, pc64: add did for intel wildcat point audio controller

8 years agoadd timepic(1) and qr(1) manpages
aiju [Tue, 29 Sep 2015 18:49:52 +0000 (20:49 +0200)]
add timepic(1) and qr(1) manpages