summary refs log tree commit diff stats
path: root/results/scraper/box64/1068
blob: 49fb35505bd50395c4a65362520c9a71e517f360 (plain) (blame)
1
2
3
4
5
6
A question about rv64_lock
Sorry to bother you. When I'm trying to read box64's code, I find that in src/dynarec/native_lock.h, the rv64_lock_cas_d and rv64_lock_cas_dd functions compare the values of (A) and tmpcas, but in the rv64_lock_cas_b and rv64_lock_cas_h functions, the value of the tmpcas is abandoned. As shown in the figure, is that correct?
<img width="491" alt="image" src="https://github.com/ptitSeb/box64/assets/25546853/8c9d3e19-c2ef-49a1-93a5-412a1d8c0a74">
<img width="148" alt="image" src="https://github.com/ptitSeb/box64/assets/25546853/b3d15361-a4cc-4f18-9e81-6493e552560c">
The value of ref is useless?
<img width="470" alt="image" src="https://github.com/ptitSeb/box64/assets/25546853/642da3df-90e2-428f-bbe8-bd7e3fae379e">