translate: Remove unused temporary register.
authorJosé Fonseca <jfonseca@vmware.com>
Mon, 16 Aug 2010 16:20:54 +0000 (17:20 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Mon, 16 Aug 2010 16:21:14 +0000 (17:21 +0100)
Assuming the side-effect of x86_make_reg is also unnecessary.

src/gallium/auxiliary/translate/translate_sse.c

index c06197c5d6bd361129ac4dc1275e4607a40ca32d..035ba531c62e0789acd6151fca8eb61f3a92f7ac 100644 (file)
@@ -495,7 +495,6 @@ static boolean translate_attr_convert( struct translate_sse *p,
          || a->output_format == PIPE_FORMAT_R32G32B32A32_FLOAT))
    {
       struct x86_reg dataXMM = x86_make_reg(file_XMM, 0);
-      struct x86_reg tmpXMM = x86_make_reg(file_XMM, 1);
 
       for(i = 0; i < output_desc->nr_channels; ++i)
       {