sundeepdhaka / gpuocelot

Automatically exported from code.google.com/p/gpuocelot
0 stars 0 forks source link

Bug when type-checking the operand to bar and pmevent instructions #33

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
In PTXInstruction.cpp:

case Bar: {
    if( !a.addressMode == PTXOperand::Immediate ) {...}

should be:

case Bar: {
    if( a.addressMode != PTXOperand::Immediate ) {...}

The same occurs for Pmevent.

Original issue reported on code.google.com by rodrigo.d.dominguez@gmail.com on 5 Nov 2009 at 1:44

GoogleCodeExporter commented 8 years ago
Fixed in rev 222.

Original comment by rodrigo.d.dominguez@gmail.com on 5 Nov 2009 at 1:47