<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - bfgminer --scrypt on 7xxx+"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=72785">72785</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>bfgminer --scrypt on 7xxx+
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>haagch.christoph@googlemail.com
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>git
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Drivers/Gallium/radeonsi
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr></table>
      <p>
        <div>
        <pre>bfgminer --benchmark without scrypt seems to be working fine now.

But I think many people would rather compute scrypt right now on their 7xxx+
GPUs, just considering the recent rumors that the radeon 7950 is getting sold
out because of litecoin miners.

With mesa/llvm it doesn't work yet.

llvm 3.5 197392, mesa and stuff are very recent git builds.

The kernel is <a href="https://github.com/luke-jr/bfgminer/blob/bfgminer/scrypt130511.cl">https://github.com/luke-jr/bfgminer/blob/bfgminer/scrypt130511.cl</a>

bfgminer is started with

bfgminer -v1 --scrypt -S opencl:auto --url=<pool> --userpass=<user:worker:pass>

The error is:

Initialising kernel scrypt130511.cl without bitalign, 1 vectors and worksize
256

[...]

LLVM ERROR: Cannot select: 0x7f0b7cbd40a0: ch = br_cc 0x7f0b7cd32bb0,
0x7f0b7cc28c20, 0x7f0b7cd32fb0, 0x7f0b7cc2bc30, 0x7f0b7cc2ad30 [ORD=19251]
[ID=4253]
  0x7f0b7cd32fb0: i1,ch = llvm.SI.loop 0x7f0b7cc2c030:1, 0x7f0b7cd333b0,
0x7f0b7cc2c030 [ORD=19250] [ID=4250]
    0x7f0b7cd333b0: i64 = TargetConstant<3431> [ID=132]
    0x7f0b7cc2c030: i64,ch = llvm.SI.if.break 0x7f0b7cf2f3e0, 0x7f0b7cc2b530,
0x7f0b7cc2c530, 0x7f0b7cd339b0 [ORD=19249] [ID=4249]
      0x7f0b7cc2b530: i64 = TargetConstant<3428> [ID=129]
      0x7f0b7cc2c530: i1 = setcc 0x7f0b7cc7dd60, 0x7f0b7cc80760, 0x7f0b7cd337b0
[ORD=19248] [ID=212]
        0x7f0b7cc7dd60: i64 = add 0x7f0b7cc81560, 0x7f0b7cc81360 [ORD=13153]
[ID=187]
          0x7f0b7cc81560: i64,ch = CopyFromReg 0x7f0b7c0535d8, 0x7f0b7cc81660
[ORD=13147] [ID=149]
            0x7f0b7cc81660: i64 = Register %vreg53 [ID=1]
          0x7f0b7cc81360: i64 = Constant<1> [ID=2]
        0x7f0b7cc80760: i64 = Constant<4> [ID=4]
      0x7f0b7cd339b0: i64,ch = CopyFromReg 0x7f0b7c0535d8, 0x7f0b7cd342b0
[ORD=19249] [ID=185]
        0x7f0b7cd342b0: i64 = Register %vreg52 [ID=130]
  0x7f0b7cc2bc30: i1 = Constant<-1> [ID=133]
In function: search</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>