Adding transactional memory to the IBM Cell processor