xori,NORMAL,,2P,EXTRA3,d:RA,s:RS,0,0,RS,0,0,RA,0,0,0
xoris,NORMAL,,2P,EXTRA3,d:RA,s:RS,0,0,RS,0,0,RA,0,0,0
subfic,NORMAL,,2P,EXTRA3,d:RT,s:RA,0,0,RA,0,0,RT,0,0,0
+fishmv,NORMAL,,2P,EXTRA3,TODO,0,0,0,FRS,0,0,FRS,0,0,0
cntlzw,NORMAL,,2P,EXTRA3,d:RA;d:CR0,s:RS,0,0,RS,0,0,RA,0,CR0,0
cntlzd,NORMAL,,2P,EXTRA3,d:RA;d:CR0,s:RS,0,0,RS,0,0,RA,0,CR0,0
subfze,NORMAL,,2P,EXTRA3,d:RT;d:CR0,s:RA,0,0,RA,0,0,RT,0,CR0,0
"fishmv 4, 0x4000", # 2nd half of 1.00195 in FP32 form
"fmvis 5, 0xC049", # 1st half of -3.14159 in FP32 form
"fishmv 5, 0x0FD0", # 2nd half of -3.14159 in FP32 form
+ "fmvis 6, 0x89AB", # 1st half of 0x89ABCDEF in FP32 form
+ "fishmv 6, 0xCDEF", # 2nd half of 0x89ABCDEF in FP32 form
])
lst = list(lst)
expected_fprs[3] = 0x400921fa00000000 # 3.14159 in FP64 form
expected_fprs[4] = 0x3ff0080000000000 # 1.00195 in FP64 form
expected_fprs[5] = 0xC00921fa00000000 # -3.14159 in FP64 form
- e = ExpectedState(pc=0x18, fp_regs=expected_fprs)
+ expected_fprs[6] = 0xB93579BDE0000000 # converted value in FP64 form
+ e = ExpectedState(pc=0x20, fp_regs=expected_fprs)
self.add_case(Program(lst, bigendian), expected=e)