This content has been marked as final. Show 2 replies
I've just tested the ushr instruction on my system (linux 64 bit, package cal_brook_1.01.0_beta_lnx64.zip, calGetVersion returning 1.1.1) and it seems to work fine, returning the values you hope for the inputs you suggest. To avoid the instruction being optimized away (checking the output of calclDisassembleObject) I had to pass the values through constant buffers rather than use literal registers in the IL code. I don't know how the optimized values get generated in the latter case: perhaps there could be an issue there if that is what you've been trying (perhaps involving your c++ compiler?).
Thanks,I will test which you advised.I use literal registers in the IL code in my code. Thanks again.