[Mesa-dev] [PATCH 0/5] util: Rework endian handling in python code

Michel Dänzer michel at daenzer.net
Wed Apr 9 00:32:40 PDT 2014


José, any chance you could work Richard to get this in?


On Mon, 2014-04-07 at 11:35 +0100, Richard Sandiford wrote:
> Ping.
> 
> Richard Sandiford <rsandifo at linux.vnet.ibm.com> writes:
> > Ping (with fixed subject)
> >
> > Richard Sandiford <rsandifo at linux.vnet.ibm.com> writes:
> >> This is a refresh of:
> >>
> >>    http://lists.freedesktop.org/archives/mesa-dev/2013-June/040594.html
> >>
> >> At the moment the python code uses sys.byteorder to decide whether
> >> u_format_table.c should be for big or little endian.  With this series
> >> it instead generates both forms, using blocks like:
> >>
> >> #ifdef PIPE_ARCH_BIG_ENDIAN
> >> ...
> >> #else
> >> ...
> >> #endif
> >>
> >> in cases where endianness matters.
> >>
> >> Doing it this way is more cross-compiler-friendly.  It also means people
> >> working on LE systems can see what the differences would be for BE.
> >>
> >> Tested on x86_64 and z.  I don't have commit access so please apply if OK.
> >>
> >> Thanks,
> >> Richard
> >>
> >> _______________________________________________
> >> mesa-dev mailing list
> >> mesa-dev at lists.freedesktop.org
> >> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
> >
> > _______________________________________________
> > mesa-dev mailing list
> > mesa-dev at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/mesa-dev
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev




-- 
Earthling Michel Dänzer            |                  http://www.amd.com
Libre software enthusiast          |                Mesa and X developer



More information about the mesa-dev mailing list