summaryrefslogtreecommitdiff
path: root/getDecuda
diff options
context:
space:
mode:
authorAndrew M. B. Boktor <[email protected]>2012-04-25 19:44:41 -0800
committerAndrew Boktor <[email protected]>2014-08-14 13:19:06 -0700
commit2c72a869f0bf5c27a9b4a159975e926ebc75b902 (patch)
treec422ea5dadda7da6aa413d4ef89805ccfde1f6f3 /getDecuda
parent93501bce1672d204b2fa8c2c2361a6485f813e9c (diff)
Removing all remaining traced of decuda
Stopping if someone tries to use PTXPlus without cuobjdump [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 12138]
Diffstat (limited to 'getDecuda')
-rw-r--r--getDecuda/decuda.patch37
-rwxr-xr-xgetDecuda/getDecuda.sh13
2 files changed, 0 insertions, 50 deletions
diff --git a/getDecuda/decuda.patch b/getDecuda/decuda.patch
deleted file mode 100644
index eab6c50..0000000
--- a/getDecuda/decuda.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-diff -crB decuda/Instruction.py decudaplus/Instruction.py
-*** decuda/Instruction.py 2010-07-24 05:28:03.000000000 -0700
---- decudaplus/Instruction.py 2010-09-27 12:52:24.000000000 -0700
-***************
-*** 401,406 ****
---- 401,409 ----
- value = self.bits(0,0x001F0000)
- else:
- value = self.bits(0,0x007F0000)
-+ if len(self.inst)==2:
-+ if self.bits(1,0x00200000):
-+ t_offset = 0
-
- if opt_imm and self.fullinst and self.bits(1,0x00100000):
- # Operand 3 is immediate
-diff -crB decuda/Operand.py decudaplus/Operand.py
-*** decuda/Operand.py 2010-07-24 05:28:03.000000000 -0700
---- decudaplus/Operand.py 2010-09-27 12:52:24.000000000 -0700
-***************
-*** 176,183 ****
- rv.write(("0x%06x") % value)
- elif self.offset != None:
- rv.write(("%s[$ofs%i%s%s0x%0"+width+"x]") % (_indir[self.indirection], self.offset, _ofs_inc[self.offset_inc], times, value))
-! elif self.indirection == OP_INDIRECTION_SHARED and self.size==16 and value in _param_space:
-! rv.write(_param_space[value])
- elif self.indirection == OP_INDIRECTION_INTERNAL and value in _ldgpu_ops:
- rv.write(_ldgpu_ops[value])
- else:
---- 176,183 ----
- rv.write(("0x%06x") % value)
- elif self.offset != None:
- rv.write(("%s[$ofs%i%s%s0x%0"+width+"x]") % (_indir[self.indirection], self.offset, _ofs_inc[self.offset_inc], times, value))
-! elif self.indirection == OP_INDIRECTION_SHARED and self.size==16 and value/2 in _param_space:
-! rv.write(_param_space[value/2])
- elif self.indirection == OP_INDIRECTION_INTERNAL and value in _ldgpu_ops:
- rv.write(_ldgpu_ops[value])
- else:
diff --git a/getDecuda/getDecuda.sh b/getDecuda/getDecuda.sh
deleted file mode 100755
index a63a2ec..0000000
--- a/getDecuda/getDecuda.sh
+++ /dev/null
@@ -1,13 +0,0 @@
-# This script downloads the latest version of decuda from http://github.com/laanwj/decuda, untars it and patches it.
-# Only works with decuda 0.4.2.
-
-# decuda.patch must be in the same folder as getDecuda.sh
-
-cd ./getDecuda
-wget -O decuda.tgz --no-check-certificate http://github.com/laanwj/decuda/tarball/master
-tar -xf ./decuda.tgz
-mv laanwj-decuda-c30bd17 decuda # if this fails, we need to check what has changed in decuda, or get a perminant link to decuda 0.4.2
-patch -d ./decuda < ./decuda.patch
-rm ./decuda.tgz
-mv decuda ../decuda
-cd ..