Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
29 user(s) are online (21 user(s) are browsing Forums)

Members: 1
Guests: 28

LiveForIt, more...

Support us!

Headlines

Forum Index


Board index » All Posts (flash)




Re: SDL2
Just popping in
Just popping in


@joerg

I'm quite sure avoiding all exceptions handler of FPU code, soft floats should be significantly faster than hard floats.

Go to top


Re: A1222 Development Thread
Just popping in
Just popping in


Could we have a new updated SDK with full SPE support, compiler and libs?
What about GCC8 for SPE?

Memento audere semper!
Go to top


Re: A1222 Development Thread
Just popping in
Just popping in


IMHO we need first a native OS4 GCC SDK full support for SPE code.
As already said GCC8 should be last one able to generate SPE code. Later all common libs like newlib/clib/math libs/SDL libs should have a native SPE version.
Once it will be reality some programmers shoul consider at least to recompile their projects to be full compatible with A1222,
Than other new projects, programs and games, could include an A1222 version in an easy way.

Memento audere semper!
Go to top


Re: A1222 Development Thread
Just popping in
Just popping in


Double post, removed

Memento audere semper!
Go to top


Re: Sound only on some apps (ahi)
Just popping in
Just popping in


"Sound Blaster Live!" sounds very well, no problem at all with os4 drivers

Memento audere semper!
Go to top


Re: A1222 support in the SDK and problems
Just popping in
Just popping in


Someone has to release a new SDK with full support for A1222 to let new apps, and rebuild of the existing ones, to take advantage of new vector unit, reduce slow fpu emulation and avoid crashes/gurus/grim reapers.
I hope also to have full integration of afx clib in next release.

Memento audere semper!
Go to top


Re: LiteXL v2.1.0 is released
Just popping in
Just popping in


I’ll try to swap from annotate to litexl to code next time, thanks for update!

Memento audere semper!
Go to top


Re: Pegasos2 with RadeonHD/RX via bridge
Just popping in
Just popping in


@kas1e

It could be really useful to improve QEMU PegII board, there's really everything on this PDF.

Go to top


Re: New staff member
Just popping in
Just popping in


Nice!

Memento audere semper!
Go to top


Re: Amiga X5000 and Sound Blaster Audigy FX problem
Just popping in
Just popping in


Every time I read that some company is making money by developing Amiga hardware I can't help but laugh out loud. Every time I read that a developer believes he can make money with Amiga software development I can't help but laugh out loud. Some things are done out of passion and that's it, if you have other expectations it means that more than 30 years of Amiga history have taught us nothing in this regard. I am Italian like the people responsible for Acube but this is not what makes me take a stand in their favor, in fact we don't know each other. I am absolutely certain that Acube inserted the driver not to make money but only to support users. Anyone who doesn't understand this is probably because they don't want to understand it, so the question is closed.

Memento audere semper!
Go to top


Re: Pegasos2 with RadeonHD/RX via bridge
Just popping in
Just popping in


I have triboot peg2 os4/mos/debian 8
I remember linux and mos kernel for bootstrap are suited on os4 partition.
Every time a new mos version came out I have to coy new kernel on os4 boot partition. The same should be done for linux in case of kernel updates.

Memento audere semper!
Go to top


Re: A1222 support in the SDK and problems
Just popping in
Just popping in


@sailor

Use GCC -S switch to generate assembler source code and look inside it.

You'll see SPE code using these flags -mcpu=8540 -mabi=spe -mfloat-gprs=double

In soft-floats you'll see standard integer powerpc instructions where math operations are only emulated (much slower).

Go to top


Re: A1222 support in the SDK and problems
Just popping in
Just popping in


@sailor

The spe code ( -mcpu=8540 -mabi=spe ) is always hard-float.
Part of integer register file of P1222 cpu is used for vectors/scalar floats using hardware decoding engine.
It can act like a sort of an "altivec unit" or an "fpu unit".
Problem is that even if GCC 6 can manage it the result code is bugged in amigaland.

Also libc libraries (newlib/clib) needs to be recompiled for P1222 support, we need new sdk to produce the right binaries for A1222 without any workaround.

Go to top


Re: A1222 support in the SDK and problems
Just popping in
Just popping in


@sailor

As workaround you need to pass float parameters by reference and not by value.
Another solution is to pass them using heap space and not stack.
To do this you can use an array of floats and pass it's base address to function.
Another solution is to pass a struct with floats vars as members.

Anyway also printf function is bugged for A1222 and need to be fixed for floats.

I hope someone is working on it and new sdk will be released soon.

Go to top


Re: A1222 support in the SDK and problems
Just popping in
Just popping in


@walkero

Thanks for addressing the new topic

here there's my test case

#include <stdio.h>

#define SPE 1

#if SPE
#include <spe.h>
#endif /* SPE */

float sum (floatfloatfloat);

int main()
{
    
double x,y,z,result;

    
1.0f;
    
1.0f;
    
1.0f;

    
result sum (x,y,z);
    
    
printf ("should be 3: %f\n"result);

    return 
0;
}    

float sum (float afloat bfloat c)
{
    return 
c;
}


The following is the makefile

CC=gcc
CFLAGS_SPE
=-mcpu=8540 -mtune=8540 -mspe -mabi=spe -mfloat-gprs=double
OBJECTS
=A1222_SPE_floats.o

A1222_SPE_floats
: $(OBJECTS)

    $(
CC) $(OBJECTS) $(CFLAGS_SPE) -o A1222_SPE_floats

A1222_SPE_floats
.oA1222_SPE_floats.c

    
$(CC) $(INCLUDES) $(CFLAGS_SPE) -c A1222_SPE_floats.-o A1222_SPE_floats.o


Results on A1222 is 0, should be 3.
Obviously compiling the same code for FPU lead to correct result.

The compiler used is GCC 6 present in latest (your) OS4/SDK.
Maybe I made something wrong, so any feeback is well appreciated.

Go to top


Re: My Amiga Projects
Just popping in
Just popping in


@joerg

Agree but with GCC -msoft-float switch you don't use SPE unit but INTEGER unit with a huge slowdown. You kn ow for a game like H2 or Sin heavily based on floats it's not a good solution.

..Any chance to get a working SDK/GCC compiler for A1222 released in next days?

Go to top


Re: My Amiga Projects
Just popping in
Just popping in


@TheMagicSN

Sadly with latest SDK + GCC 6 (compiling with right switches for A1222 PowerPC "P1022" cpu) float/double variables are completely wrong.
Once it will be fixed (if ever), and other libs involved will be ported to new cpu P1022, you could just recompile your projects and build new binary.

If someone knows other solution to this issue please let me know.

Go to top


Re: Hi New Member Here
Just popping in
Just popping in


Welcome in our fantastic AmigaWorld and congrats tor your new toy.

Memento audere semper!
Go to top


Re: A1222+ memory interleaving
Just popping in
Just popping in


@smf
Maybe you can ask permission to put them on os4depot, included sources for further development.

Go to top


Re: Qemu Pegasos II interrupts issue
Just popping in
Just popping in


I have a Peg2 (latest rev with 2gb ram) and an Ati 9250 (maybe also a sb live for audio)
It’s in multi boot with os4, mos and debian.
Let me know if I can help.

Memento audere semper!
Go to top



TopTop
(1) 2 3 4 ... 9 »




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project