Re: [PATCH] print_s_v op (was: RE: variable number of arguments)

2001-09-26 Thread Michael L Maraist
"Gregor N. Purdy" wrote: > Michael -- > > > I had more time to think about it, and I determined how a compute op-code > > could be efficient. > > > > [snip] > > You wicked, wicked person! :) > > I'd like to see some benchmarks on that one vs. the most efficient > possible hand-coded separate ops

Re: [PATCH] print_s_v op (was: RE: variable number of arguments)

2001-09-25 Thread Gregor N. Purdy
Michael -- > I had more time to think about it, and I determined how a compute op-code > could be efficient. > > [snip] You wicked, wicked person! :) I'd like to see some benchmarks on that one vs. the most efficient possible hand-coded separate ops for moderate to complex arithmetic... These s

Re: [PATCH] print_s_v op (was: RE: variable number of arguments)

2001-09-25 Thread Dan Sugalski
At 06:59 PM 9/25/2001 -0400, Michael L Maraist wrote: > > > > I've created a varargs-ish example by making a new op, print_s_v. > > > > This is pretty rough, and I haven't updated the assembler, but it > > > > seems to work. Okay, I've been off the air all day (Sorry 'bout that--cable got nuked)

Re: [PATCH] print_s_v op (was: RE: variable number of arguments)

2001-09-25 Thread Michael L Maraist
Michael Maraist wrote: > > All -- > > > > > I've created a varargs-ish example by making a new op, print_s_v. > > > This is pretty rough, and I haven't updated the assembler, but it > > > seems to work. > > > With var-args, we could produce highly efficient SIMD instructions. > printf obviously,

Re: [PATCH] print_s_v op (was: RE: variable number of arguments)

2001-09-25 Thread Michael Maraist
> All -- > > > I've created a varargs-ish example by making a new op, print_s_v. > > This is pretty rough, and I haven't updated the assembler, but it > > seems to work. > > Um.. I *have* updated the assembler. Its the *dis*assembler I haven't > updated. This is what happens: > > * *_v ops list

Re: [PATCH] print_s_v op (was: RE: variable number of arguments)

2001-09-25 Thread Gregor N. Purdy
All -- > I've created a varargs-ish example by making a new op, print_s_v. > This is pretty rough, and I haven't updated the assembler, but it > seems to work. Um.. I *have* updated the assembler. Its the *dis*assembler I haven't updated. This is what happens: * *_v ops list their number of a

[PATCH] print_s_v op (was: RE: variable number of arguments)

2001-09-24 Thread Gregor N. Purdy
All -- I've created a varargs-ish example by making a new op, print_s_v. This is pretty rough, and I haven't updated the assembler, but it seems to work. I'm attaching a patch, and a test program (pt.pasm). Enjoy! -- Gregor ___