They do different things. the ?i series is mainly intended to debug and
improve the compilers:
it emulates only so much of the architecture and system, enough to get the
compiler and libc going.
5e's a nice bit of work (except for the limitation to little-endian host).
the emulation of /proc was i
On Wed, 9 May 2012 12:36:06 -0400
erik quanstrom wrote:
> On Wed May 9 10:38:21 EDT 2012, cinap_len...@gmx.de wrote:
> > aiju wrote an arm emulator for 9front some time ago and
> > i remember he implemented floating point on it.
>
> why was it done this way rather than extending 5i?
my memory
Anybody with an ARM Plan 9 willing to run a binary for me? It just emits a
few lines out of output and I promise it is not a virus.
--
Greg Comeau / 4.3.10.1 with C++0xisms now in beta!
Comeau C/C++ ONLINE ==> http://www.comeaucomputing.com/tryitout
World Class Compilers: Breathtaking C++,
On Wed, May 9, 2012 at 12:03 PM, David du Colombier <0in...@gmail.com>wrote:
> > If I nm /386/lib/libc.a | grep ainc
> >
> > it returns nothing.
>
> Your libc is obviously not up-do-date.
>
> term% nm /n/sources/plan9/386/lib/libc.a | grep ainc
> atom.8: T ainc
>
> See /n/sources/plan9/sys/src/lib
the 7500's FPA.
On 9 May 2012 17:36, erik quanstrom wrote:
> also, *which* floating point does it emulate.
On Wed May 9 10:38:21 EDT 2012, cinap_len...@gmx.de wrote:
> aiju wrote an arm emulator for 9front some time ago and
> i remember he implemented floating point on it.
>
> might have a look there:
>
> http://code.google.com/p/plan9front/source/browse/sys/src/cmd/5e
why was it done this way rathe
> If I nm /386/lib/libc.a | grep ainc
>
> it returns nothing.
Your libc is obviously not up-do-date.
term% nm /n/sources/plan9/386/lib/libc.a | grep ainc
atom.8: T ainc
See /n/sources/plan9/sys/src/libc/386/atom.s
--
David du Colombier
On Wed, May 9, 2012 at 11:34 AM, David du Colombier <0in...@gmail.com>wrote:
> > Ok, linking gives:
> >
> > main: undefined: ainc in main
> >
> > Looks to be a function (which also seems to be undeclared in 5e.c),
> > anybody know where it is located?
>
> It's defined in the libc. You can add it
> Ok, linking gives:
>
> main: undefined: ainc in main
>
> Looks to be a function (which also seems to be undeclared in 5e.c),
> anybody know where it is located?
It's defined in the libc. You can add it
to /sys/include/libc.h if you wish.
--
David du Colombier
Ok, linking gives:
main: undefined: ainc in main
Looks to be a function (which also seems to be undeclared in 5e.c), anybody
know where it is located?
--
Greg Comeau / 4.3.10.1 with C++0xisms now in beta!
Comeau C/C++ ONLINE ==> http://www.comeaucomputing.com/tryitout
World Class Compiler
> > might have a look there:
> >
> > http://code.google.com/p/plan9front/source/browse/sys/src/cmd/5e
>
> Thanks. What's the most sane way of downloading it to 9vx.OSX?
mkdir /sys/src/cmd/5e
cd /sys/src/cmd/5e
for(i in 5e.c arm.c dat.h fns.h fpa.c fs.c mkfile proc.c seg.c sys.c util.c)
h
On Wed, May 9, 2012 at 10:36 AM, wrote:
> aiju wrote an arm emulator for 9front some time ago and
> i remember he implemented floating point on it.
>
> might have a look there:
>
> http://code.google.com/p/plan9front/source/browse/sys/src/cmd/5e
Thanks. What's the most sane way of downloading
aiju wrote an arm emulator for 9front some time ago and
i remember he implemented floating point on it.
might have a look there:
http://code.google.com/p/plan9front/source/browse/sys/src/cmd/5e
--
cinap
yes. the instructions are not implemented. unfortunately abort()
was called without flushing the output, so the error message wasn't
printed.
; diffy -c /sys/src/cmd/5i/run.c
/n/dump/2012/0509/sys/src/cmd/5i/run.c:260,265 - /sys/src/cmd/5i/run.c:260,266
{
Bprint(bioout, "undefined inst
>From 9vx.OSX if I compile this
#include
#include
void main(void)
{
float f = 99.99;
exits(0);
}
with 5c/5l and then 5i it, it gives:
undefined instruction trap pc #102c inst ed9b0100 class 92
Is floating point supported with 5i?
--
Greg Comeau / 4.3.10.1 with C++0xisms now in beta!
15 matches
Mail list logo