Mesa (master): cell: Drop BGNFOR, ENDFOR, REP, and ENDREP opcodes.

Jose Fonseca jrfonseca at kemper.freedesktop.org
Tue Apr 27 20:52:10 UTC 2010


Module: Mesa
Branch: master
Commit: 42c9137042f6208703fbee3422fa08cf4079d63d
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=42c9137042f6208703fbee3422fa08cf4079d63d

Author: José Fonseca <jfonseca at vmware.com>
Date:   Tue Apr 27 21:16:45 2010 +0100

cell: Drop BGNFOR, ENDFOR, REP, and ENDREP opcodes.

---

 src/gallium/drivers/cell/spu/spu_exec.c |   12 ------------
 1 files changed, 0 insertions(+), 12 deletions(-)

diff --git a/src/gallium/drivers/cell/spu/spu_exec.c b/src/gallium/drivers/cell/spu/spu_exec.c
index d2166a4..d7788bd 100644
--- a/src/gallium/drivers/cell/spu/spu_exec.c
+++ b/src/gallium/drivers/cell/spu/spu_exec.c
@@ -1622,14 +1622,6 @@ exec_instruction(
       *pc = -1;
       break;
 
-   case TGSI_OPCODE_REP:
-      ASSERT (0);
-      break;
-
-   case TGSI_OPCODE_ENDREP:
-       ASSERT (0);
-       break;
-
    case TGSI_OPCODE_PUSHA:
       ASSERT (0);
       break;
@@ -1743,8 +1735,6 @@ exec_instruction(
       mach->Primitives[mach->Temps[TEMP_PRIMITIVE_I].xyzw[TEMP_PRIMITIVE_C].u[0]] = 0;
       break;
 
-   case TGSI_OPCODE_BGNFOR:
-      /* fall-through (for now) */
    case TGSI_OPCODE_BGNLOOP:
       /* push LoopMask and ContMasks */
       ASSERT(mach->LoopStackTop < TGSI_EXEC_MAX_LOOP_NESTING);
@@ -1753,8 +1743,6 @@ exec_instruction(
       mach->ContStack[mach->ContStackTop++] = mach->ContMask;
       break;
 
-   case TGSI_OPCODE_ENDFOR:
-      /* fall-through (for now at least) */
    case TGSI_OPCODE_ENDLOOP:
       /* Restore ContMask, but don't pop */
       ASSERT(mach->ContStackTop > 0);




More information about the mesa-commit mailing list