From cc404275f9226185e436e1da483ee58ee85c38ca Mon Sep 17 00:00:00 2001 From: Tor Aamodt Date: Sun, 18 Jul 2010 02:20:50 -0800 Subject: - simple device printf support added (supports %u, %d, %f) - add support to call_impl for passing values in through local param space (need to add support for return) - track local framesize during ptx parsing / update local stack-pointer during call/return - detect appropriate param space for ld.param (and st.param) depending upon address symbol's scope - putting back the crazy math for local mem allocation (seems to be required) - bug fix for global byte array initialization - force ld and st w/o space specifier to be generic_space - make type_decode method of type_info_key - adjust debug printing so listing of code and CFG information requires higher numbers (100 and 50) - local param ld/st accesses treated like local ld/st for timing model [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 6878] --- src/cuda-sim/ptx_sim.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/cuda-sim/ptx_sim.h') diff --git a/src/cuda-sim/ptx_sim.h b/src/cuda-sim/ptx_sim.h index d4bdf48..db38ced 100644 --- a/src/cuda-sim/ptx_sim.h +++ b/src/cuda-sim/ptx_sim.h @@ -423,10 +423,7 @@ public: function_info *get_finfo() { return m_func_info; } void enable_debug_trace() { m_enable_debug_trace = true; } - unsigned get_local_mem_stack_pointer() const { return m_local_mem_stack_pointer; } - void push_local_mem_stack(); - void pop_local_mem_stack(); public: addr_t m_last_effective_address; @@ -477,8 +474,6 @@ private: reg_map_t m_debug_trace_regs_modified; // track the modified register for each executed insn }; -unsigned type_decode( unsigned type, size_t &size, int &t ); - addr_t generic_to_local( unsigned smid, unsigned hwtid, addr_t addr ); addr_t generic_to_shared( unsigned smid, addr_t addr ); addr_t generic_to_global( addr_t addr ); -- cgit v1.3