A new algorithm for energy-driven data compression in VLIW embedded processors