Exploring Hybrid SPM-Cache Architectures to Improve Performance and Energy Efficiency for Real-time Computing