sim: fix behavior of SHLD