Fixed the cache, reg_scalar and reg_vector
Joint (and, or, slr) + add + mul + div (scalar)