volatile LDS operations in IL

Discussion created by roddomi on Sep 8, 2010
Latest reply on Sep 9, 2010 by roddomi


How can I write volatile LDS operations in IL? In other words, I have the following IL:

lds_store_id(1) r1, r2

lds_load_id(1) r3, r1

I want to make sure the CAL compiler actually emits both LDS memory accesses instead of optimizing it by passing the value in a register.


Thank you.