Hi,
Some architectures do support a other-endian mode (e.g. ARM supports BE loads). I don't know that anything has been done to prevent this from working, but similarly nothing has been done to enable it. Assuming you can compile a program like hello world in this mode you coun try it and see. You'd likely need to implement some of the architecture that understands the reverse-endianess, but it should be possible. Thanks, Ali On 23.07.2013 02:12, GE ZHIGUO wrote: > Hi, > > Is it possible for GEM5 to run an application with little endian instructions and big endian data? > > If I want to achieve this, which codes in GEM5 should I touch? I read the source codes for some time, > > however, I cannot get clear clues . > > Thanks! > > _______________________________________________ > gem5-users mailing list > gem5-users@gem5.org > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users [1] Links: ------ [1] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users