Re: [Qemu-devel] [PATCH 4/9] adding instructions encodings for LE and BE compilers.

2016-06-01 Thread Michael Rolnik
I disagree. it's non portable as long as you don't know what compiler you are using. if bitfields are not acceptable at all, I will regenerate my code. thanks. On Thu, Jun 2, 2016 at 9:32 AM, Richard Henderson wrote: > On 05/29/2016 06:23 PM, Michael Rolnik wrote: > >> I am aware of bad por

Re: [Qemu-devel] [PATCH 4/9] adding instructions encodings for LE and BE compilers.

2016-06-01 Thread Richard Henderson
On 05/29/2016 06:23 PM, Michael Rolnik wrote: I am aware of bad portability of bit fields as compilers for LE and BE hosts lists bit fields in different order However they won't "parse" in target memory but a data prepared by me What data prepared by you? You're assigning to an int

[Qemu-devel] [PATCH 4/9] adding instructions encodings for LE and BE compilers.

2016-05-29 Thread Michael Rolnik
I am aware of bad portability of bit fields as compilers for LE and BE hosts lists bit fields in different order However they won't "parse" in target memory but a data prepared by me Signed-off-by: Michael Rolnik --- target-avr/inst-be.h | 1018 +++