gtcasl / gpuocelot

GPUOCelot: A dynamic compilation framework for PTX
http://gpuocelot.gatech.edu/
BSD 3-Clause "New" or "Revised" License
280 stars 69 forks source link

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

Closed jwang323 closed 9 years ago

jwang323 commented 9 years ago

From rodrigo.d.dominguez@gmail.com on November 04, 2009 20:44:14

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: http://code.google.com/p/gpuocelot/issues/detail?id=33

jwang323 commented 9 years ago

From rodrigo.d.dominguez@gmail.com on November 04, 2009 17:47:19

Fixed in rev 222.

Status: Fixed