I need to test code for some compression algorithms for any possible
little/big endian issues that I might have left in there.
As development was done on an Intel desktop, what is the best way to
test it out without having to buy big-endian hardware. Can some
emulator etc be used for this?
The code is fairly portable (basic C++, mostly maths, and some file
reading/writing) and can be built on any decent compiler/platform.
Sachin Garg
|
|
0
|
|
|
|
Reply
|
schngrg (34)
|
7/27/2007 10:59:58 PM |
|
Sachin Garg wrote:
> I need to test code for some compression algorithms for any possible
> little/big endian issues that I might have left in there.
>
> As development was done on an Intel desktop, what is the best way to
> test it out without having to buy big-endian hardware. Can some
> emulator etc be used for this?
>
> The code is fairly portable (basic C++, mostly maths, and some file
> reading/writing) and can be built on any decent compiler/platform.
>
Compile/run/test the code on a simulator for a big-endian
target like a powerpc.
--
Michael N. Moran (h) 770 516 7918
5009 Old Field Ct. (c) 678 521 5460
Kennesaw, GA, USA 30144 http://mnmoran.org
"So often times it happens, that we live our lives in chains
and we never even know we have the key."
"Already Gone" by Jack Tempchin (recorded by The Eagles)
The Beatles were wrong: 1 & 1 & 1 is 1
|
|
0
|
|
|
|
Reply
|
mnmoran (182)
|
7/28/2007 1:42:31 AM
|
|
On Jul 28, 6:42 am, "Michael N. Moran" <mnmo...@bellsouth.net> wrote:
> Sachin Garg wrote:
> > I need to test code for some compression algorithms for any possible
> > little/big endian issues that I might have left in there.
>
> > As development was done on an Intel desktop, what is the best way to
> > test it out without having to buy big-endian hardware. Can some
> > emulator etc be used for this?
>
> > The code is fairly portable (basic C++, mostly maths, and some file
> > reading/writing) and can be built on any decent compiler/platform.
>
> Compile/run/test the code on a simulator for a big-endian
> target like a powerpc.
Can you recommend a good (and cheap/free) simulator for this purpose?
Sachin Garg
|
|
0
|
|
|
|
Reply
|
schngrg (34)
|
7/28/2007 10:07:22 AM
|
|
On Jul 28, 3:07 pm, Sachin Garg <schn...@gmail.com> wrote:
> On Jul 28, 6:42 am, "Michael N. Moran" <mnmo...@bellsouth.net> wrote:
>
> > Sachin Garg wrote:
> > > I need to test code for some compression algorithms for any possible
> > > little/big endian issues that I might have left in there.
>
> > > As development was done on an Intel desktop, what is the best way to
> > > test it out without having to buy big-endian hardware. Can some
> > > emulator etc be used for this?
>
> > > The code is fairly portable (basic C++, mostly maths, and some file
> > > reading/writing) and can be built on any decent compiler/platform.
>
> > Compile/run/test the code on a simulator for a big-endian
> > target like a powerpc.
>
> Can you recommend a good (and cheap/free) simulator for this purpose?
I did came across 'psim' and it seems to be able to do what I need, I
will be trying it out. Will it be a good choice for this purpose or
are there other better options?
Sachin Garg
|
|
0
|
|
|
|
Reply
|
schngrg (34)
|
7/28/2007 10:19:10 AM
|
|
Sachin Garg wrote:
> I did came across 'psim' and it seems to be able to do what I need, I
> will be trying it out. Will it be a good choice for this purpose or
> are there other better options?
Whilst totally over the top, I've run Mac OS X (PPC version) within the
PearPC emulator, which was surprisingly quick. You could install
the 'xcode' (GCC etc) toolchain and compile and run it with ease.
Jonny
|
|
0
|
|
|
|
Reply
|
jonny3408 (4)
|
7/28/2007 9:42:30 PM
|
|
Sachin Garg <schngrg@gmail.com> wrote:
>
> On Jul 28, 6:42 am, "Michael N. Moran" <mnmo...@bellsouth.net> wrote:
>> Sachin Garg wrote:
>> > I need to test code for some compression algorithms for any possible
>> > little/big endian issues that I might have left in there.
>>
>> > As development was done on an Intel desktop, what is the best way to
>> > test it out without having to buy big-endian hardware. Can some
>> > emulator etc be used for this?
>>
>> > The code is fairly portable (basic C++, mostly maths, and some file
>> > reading/writing) and can be built on any decent compiler/platform.
>>
>> Compile/run/test the code on a simulator for a big-endian
>> target like a powerpc.
>
> Can you recommend a good (and cheap/free) simulator for this purpose?
You might want to take a look at qemu. This is a free (GPL) simulator
that does full machine emulation for some platforms, but can also run
ELF binaries compiled for various platforms directly from the
commandline. It has a builtin debugger stub to connect to with gdb.
--
:wq
^X^Cy^K^X^C^C^C^C
|
|
0
|
|
|
|
Reply
|
usenet3433 (123)
|
7/29/2007 10:06:42 AM
|
|
On Jul 29, 2:42 am, Jonny Barker <jo...@DELTHISmagicstring.co.uk>
wrote:
> Sachin Garg wrote:
> > I did came across 'psim' and it seems to be able to do what I need, I
> > will be trying it out. Will it be a good choice for this purpose or
> > are there other better options?
>
> Whilst totally over the top, I've run Mac OS X (PPC version) within the
> PearPC emulator, which was surprisingly quick. You could install
> the 'xcode' (GCC etc) toolchain and compile and run it with ease.
Thanks, this sounds interesting.
|
|
0
|
|
|
|
Reply
|
schngrg (34)
|
7/31/2007 7:24:10 AM
|
|
On Jul 29, 3:06 pm, Ico <use...@zeev.nl> wrote:
> Sachin Garg <schn...@gmail.com> wrote:
>
> > On Jul 28, 6:42 am, "Michael N. Moran" <mnmo...@bellsouth.net> wrote:
> >> Sachin Garg wrote:
> >> > I need to test code for some compression algorithms for any possible
> >> > little/big endian issues that I might have left in there.
>
> >> > As development was done on an Intel desktop, what is the best way to
> >> > test it out without having to buy big-endian hardware. Can some
> >> > emulator etc be used for this?
>
> >> > The code is fairly portable (basic C++, mostly maths, and some file
> >> > reading/writing) and can be built on any decent compiler/platform.
>
> >> Compile/run/test the code on a simulator for a big-endian
> >> target like a powerpc.
>
> > Can you recommend a good (and cheap/free) simulator for this purpose?
>
> You might want to take a look at qemu. This is a free (GPL) simulator
> that does full machine emulation for some platforms, but can also run
> ELF binaries compiled for various platforms directly from the
> commandline. It has a builtin debugger stub to connect to with gdb.
>From description, it seems to be doing same thing as psim, but this is
more actively maintained.
Thanks.
|
|
0
|
|
|
|
Reply
|
schngrg (34)
|
7/31/2007 7:26:21 AM
|
|
|
7 Replies
47 Views
(page loaded in 0.107 seconds)
Similiar Articles: Non Intel & AMD Arch - comp.lang.asm.x86What about other non Intel & AMD arch? Little Endian is faster than Big ... around 90% of the PC ... machine little- or big-endian. > There may be problems that little ... Which Assembler? - comp.lang.asm.x86... DOS environments on 386 and up Intel ... is *supposed* to cover endian issues - generating little-endian output, even if run on a big ... I havent done any speed testing on ... improve strlen - comp.lang.asm.x86... good the compilers these days are getting (Intel ... could be dropped out without aliasing problems.. but ... for better performance, and it works on both little and big endian ... AMD, or Intel? - comp.cad.solidworks... about Phenom's having any problems I ... What about other non Intel & AMD arch? Little Endian is faster than Big End... ... asm.x86 I started making some tests using Intel ... Itanium performance problem - comp.sys.hp.hpuxCore i7: x86-64 PC and PC server (dual ... Why do Intel decide to design IA64 that uses RISC ... There may be problems that little-endian can handle better. Unisys H/W failures - comp.sys.unisysThese problems were finally resolved when ... or annual Disaster Recovery tests ... What about other non Intel & AMD arch? Little Endian is faster than Big End... VBOs vs Display Lists - lets test it out! - comp.graphics.api ...I don't think there should be any server/client-issues ... gmask, bmask, amask; #if SDL_BYTEORDER == SDL_BIG_ENDIAN ... each game start and check what's fastest on that PC? Job Schedulers (preferably Open Source) - comp.unix.admin ...And that involves a lot of time, testing ... for...but the "Unix way" to solve these problems ... Unix Shell Script to convert between Big and Little Endian - comp ... [comp.publish.cdrom] CD-Recordable FAQ, Part 1/4 - comp.publish ...Archive-name: cdrom/cd-recordable/part1 Posting-Frequency: monthly Last-modified: 2008/10/09 Version: 2.71 Send corrections and updates to And... Fast bit-reverse on an x86? - comp.dspDoing some work on a PC. Customer says it's not ... fix up the "move byte" for memory addressing issues, the Intel ... according to "Inner Loops" the Pentium had little ... Testing little/big endian issues on an Intel PC | Comp.Arch ...I need to test code for some compression algorithms for any possible little/big endian issues that I might have left in there. As development was done on an Intel ... Endianness - Wikipedia, the free encyclopedia... the respective CPU providers of the IBM PC compatibles and Apple Macintosh platforms in the 1980s. Intel CPUs are little-endian, while Motorola 680x0 CPUs are big-endian. 7/15/2012 7:00:52 PM
|