Revert "i965: Add 'wait' instruction support"
authorMatt Turner <mattst88@gmail.com>
Sat, 14 Jun 2014 03:51:12 +0000 (20:51 -0700)
committerMatt Turner <mattst88@gmail.com>
Tue, 17 Jun 2014 17:16:23 +0000 (10:16 -0700)
This reverts commit 20be3ff57670529a410b30a1008a71e768d08428.

No evidence of ever being used.

src/mesa/drivers/dri/i965/brw_eu.h
src/mesa/drivers/dri/i965/brw_eu_emit.c
src/mesa/drivers/dri/i965/brw_reg.h

index 83f1eba999cb4a7203561f13a7a321a52ac1e20d..a610f2da9a90b907da4afacf268bc91b20f9a0d9 100644 (file)
@@ -349,8 +349,6 @@ struct brw_instruction *brw_JMPI(struct brw_compile *p, struct brw_reg index,
 
 void brw_NOP(struct brw_compile *p);
 
-void brw_WAIT(struct brw_compile *p);
-
 /* Special case: there is never a destination, execution size will be
  * taken from src0:
  */
index 68b03b7a901e7450a77e97c99d427e757b6fc04f..5859e2bd3a77dcf9fd63b5a7e9d2c07534148e36 100644 (file)
@@ -1807,22 +1807,6 @@ void brw_CMP(struct brw_compile *p,
    }
 }
 
-/* Issue 'wait' instruction for n1, host could program MMIO
-   to wake up thread. */
-void brw_WAIT (struct brw_compile *p)
-{
-   struct brw_instruction *insn = next_insn(p, BRW_OPCODE_WAIT);
-   struct brw_reg src = brw_notification_1_reg();
-
-   brw_set_dest(p, insn, src);
-   brw_set_src0(p, insn, src);
-   brw_set_src1(p, insn, brw_null_reg());
-   insn->header.execution_size = 0; /* must */
-   insn->header.predicate_control = 0;
-   insn->header.compression_control = 0;
-}
-
-
 /***********************************************************************
  * Helpers for the various SEND message types:
  */
index 38c0ae587396503e30a6a51874c980609b044b43..fc2e0b0ba2236913207a22eddc3e7760381d8e30 100644 (file)
@@ -632,22 +632,6 @@ brw_acc_reg(void)
    return brw_vec8_reg(BRW_ARCHITECTURE_REGISTER_FILE, BRW_ARF_ACCUMULATOR, 0);
 }
 
-static inline struct brw_reg
-brw_notification_1_reg(void)
-{
-
-   return brw_reg(BRW_ARCHITECTURE_REGISTER_FILE,
-                  BRW_ARF_NOTIFICATION_COUNT,
-                  1,
-                  BRW_REGISTER_TYPE_UD,
-                  BRW_VERTICAL_STRIDE_0,
-                  BRW_WIDTH_1,
-                  BRW_HORIZONTAL_STRIDE_0,
-                  BRW_SWIZZLE_XXXX,
-                  WRITEMASK_X);
-}
-
-
 static inline struct brw_reg
 brw_flag_reg(int reg, int subreg)
 {