sv.lha seems to be loading values incorrectly: Let's assume the buffer of 16-bit ints 00be 00ba 00de 0083 the following snippet: setvl 0,0,4,0,1,1 sv.lha *10, 0(3) Produces the following results: reg 8 00000000 00000000 ffffffffffffbabe ffffffffffffbabe ffffffffffffbabe ffffffffffffbabe 00000000 00000000 Which seems incorrect. For one, it should not sign-extend. Secondly, the order seems wrong, if I am not mistaken the resulting values should be: 0000000000ba00be etc.
Please ignore this bug, it's not a bug at all, memory was not copied correctly to the simulator which led to these invalid register contents.