Click Here
home features news forums classifieds faqs links search
6071 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
11 crawler(s) on-line.
 73 guest(s) on-line.
 1 member(s) on-line.


 retrofaza

You are an anonymous user.
Register Now!
 retrofaza:  1 secs ago
 zipper:  15 mins ago
 kolla:  17 mins ago
 Matt3k:  21 mins ago
 amigakit:  24 mins ago
 pixie:  57 mins ago
 pavlor:  59 mins ago
 acer:  1 hr 20 mins ago
 Gunnar:  2 hrs 1 min ago
 kinchan:  2 hrs 7 mins ago

/  Forum Index
   /  AROS Software
      /  ARPi - AROS on Raspberry Pi
Register To Post

PosterThread
matthey 
Re: ARPi - AROS on Raspberry Pi
Posted on 25-Aug-2018 17:46:32
#1 ]
Elite Member
Joined: 14-Mar-2007
Posts: 2019
From: Kansas

Quote:

wawa wrote:
as you might have red (or maybe it was tim that pmed me about it?), one of the reasons michal picks up on this project is that newer compilers apparently offer opportunity to define endiannes on the fly, so aros structures can be effectively turned to be big endian, and therefore be made compatible with amiga. which would allow the same approach on running 68k code within aros on arm as os4 and morphos do. im not sure about little endian archs.


Do we really want to mark all the AROS source code structures with (CPU/AROS port specific) BE/LE identifier tags? The compiler supporting ways to identify big endian data is only half the battle (it is possible to create SETENDBE and SETENDLE assembler inlines for C which would accomplish much of the same goal). We need to examine the performance and future compatibility of such solutions. I know of 2 ways to keep the data in BE orientation under AArch64.

1) Use SETEND BE and SETEND LE instructions.
Performance: Very good (switch to BE and rarely have to switch back to LE)
Future compatibility: Poor (SETEND is deprecated in ARMv8/AArch64)

2) Lacking BE/LE load/store instructions, REV, REV16 and REV32 instructions would be used.
Performance: fair (these REV instructions will be required after and before every BE load/store)
Future compatibility: Excellent (the REV instructions are here to stay)

There may be a 3rd way to set the endianess early which would behave much like solution #1 but hopefully with a brighter future. Even if this is not possible, some ARM hardware may not support BE making an AROS LE port more attractive. ARM may advertise that it is bi-endian but it is more LE much like PPC is bi-endian but more BE (although PPC/Power LE support has been improving).

 Status: Offline
Profile     Report this post  
 Top | Parent

Replies
SubjectPosterDate
      Re: ARPi - AROS on Raspberry PiBigD25-Aug-2018 17:49:30
          Re: ARPi - AROS on Raspberry PiOlafS2525-Aug-2018 18:22:27
              Re: ARPi - AROS on Raspberry Piphoenixkonsole25-Aug-2018 19:04:57
                  Re: ARPi - AROS on Raspberry PiIridiumFX25-Aug-2018 20:21:34
          Re: ARPi - AROS on Raspberry Piterminills25-Aug-2018 20:45:38
              Re: ARPi - AROS on Raspberry PiOlafS2525-Aug-2018 20:53:13
                  Re: ARPi - AROS on Raspberry Piterminills25-Aug-2018 21:02:59
              Re: ARPi - AROS on Raspberry PiBigD25-Aug-2018 22:08:09
                  Re: ARPi - AROS on Raspberry Piterminills25-Aug-2018 22:10:00
                      Re: ARPi - AROS on Raspberry PiBigD25-Aug-2018 22:26:10
                          Re: ARPi - AROS on Raspberry Piterminills25-Aug-2018 22:30:43
                  Re: ARPi - AROS on Raspberry PiOlafS2525-Aug-2018 22:32:10
                      Re: ARPi - AROS on Raspberry PiBigD25-Aug-2018 22:38:01
                          Re: ARPi - AROS on Raspberry Piterminills25-Aug-2018 22:45:01
                          Re: ARPi - AROS on Raspberry PiOlafS2525-Aug-2018 22:48:04
                              Re: ARPi - AROS on Raspberry PiBigD25-Aug-2018 22:50:56
                                  Re: ARPi - AROS on Raspberry PiOlafS2525-Aug-2018 22:58:26
                                  Re: ARPi - AROS on Raspberry Piterminills25-Aug-2018 22:59:14
                                      Re: ARPi - AROS on Raspberry Pibobson25-Aug-2018 23:05:28
                                          Re: ARPi - AROS on Raspberry PiOlafS2525-Aug-2018 23:11:14
                                              Re: ARPi - AROS on Raspberry PiBigD25-Aug-2018 23:18:50
                                                  Re: ARPi - AROS on Raspberry PiOlafS2525-Aug-2018 23:24:08
                                                      Re: ARPi - AROS on Raspberry PiBigD25-Aug-2018 23:48:24
                                                          Re: ARPi - AROS on Raspberry Pimatthey26-Aug-2018 1:41:58
                                                              Re: ARPi - AROS on Raspberry Pinumber626-Aug-2018 15:19:01
                                                                  Re: ARPi - AROS on Raspberry Pimatthey26-Aug-2018 21:49:28
                                          Re: ARPi - AROS on Raspberry Pikolla26-Aug-2018 10:36:24
                                              Re: ARPi - AROS on Raspberry Pinikosidis26-Aug-2018 15:11:54
                                                  Re: ARPi - AROS on Raspberry Pikolla26-Aug-2018 15:16:13
                              Re: ARPi - AROS on Raspberry PiBigD26-Aug-2018 16:33:44
                          Re: ARPi - AROS on Raspberry Pikolla26-Aug-2018 10:33:10
          Re: ARPi - AROS on Raspberry Pikolla26-Aug-2018 10:21:48



[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle