Re: [Mesa-dev] [PATCH 08/13] i965: do not memcmp to check if brw_regs are equal

2015-11-05 Thread Emil Velikov
On 5 November 2015 at 16:17, Emil Velikov wrote: > From: Emil Velikov > > As of last commit one can easily the whole brw_reg as two unsigned The about above should read "... one can easily _access_ the whole..." -Emil ___ mesa-dev mailing list mesa-dev

[Mesa-dev] [PATCH 08/13] i965: do not memcmp to check if brw_regs are equal

2015-11-05 Thread Emil Velikov
From: Emil Velikov As of last commit one can easily the whole brw_reg as two unsigned values. Lets use that and avoid the nastylooking memcmp + casts. XXX: reladdr looks a bit strange. we tend to do dst_reg<>src_reg and in some cases this might cause someheadaches. should we zero it in the respe