Re: [Mesa-dev] [PATCH 3/4] i965: Rewrite disassembly annotation code

2017-11-17 Thread Matt Turner
On Fri, Nov 17, 2017 at 11:16 AM, Kenneth Graunke wrote: > On Thursday, November 16, 2017 8:47:33 PM PST Matt Turner wrote: >> diff --git a/src/intel/compiler/intel_asm_annotation.c >> b/src/intel/compiler/intel_asm_annotation.c >> index 26ab4b9818..fa37f248d1 100644 >> --- a/src/intel/compiler/i

Re: [Mesa-dev] [PATCH 3/4] i965: Rewrite disassembly annotation code

2017-11-17 Thread Kenneth Graunke
On Thursday, November 16, 2017 8:47:33 PM PST Matt Turner wrote: > diff --git a/src/intel/compiler/intel_asm_annotation.c > b/src/intel/compiler/intel_asm_annotation.c > index 26ab4b9818..fa37f248d1 100644 > --- a/src/intel/compiler/intel_asm_annotation.c > +++ b/src/intel/compiler/intel_asm_annot

Re: [Mesa-dev] [PATCH 3/4] i965: Rewrite disassembly annotation code

2017-11-17 Thread Samuel Iglesias Gonsálvez
You can add my Acked-by to this patch, I skimmed over it and I have not found any error. Acked-by: Samuel Iglesias Gonsálvez I would be better for review if it was split in different patches, even though they would be squashed together before pushing to master. Sam On Thu, 2017-11-16 at 20:47

[Mesa-dev] [PATCH 3/4] i965: Rewrite disassembly annotation code

2017-11-16 Thread Matt Turner
The old code used an array to store each "instruction group" (the new, better name than the old overloaded "annotation"), and required a memmove() to shift elements over in the array when we needed to split a group so that we could add an error message. This was confusing and difficult to get right