Architecture Supports And Optimizations For Memory-Centric Processing System