Extra rldicl test.

This commit is contained in:
Ben Vanik 2014-09-13 20:47:38 -07:00
parent 447b5bf316
commit f3a196c02f
5 changed files with 12 additions and 2 deletions

View File

@ -39,3 +39,7 @@ Disassembly of section .text:
0000000000100040 <test_rldicl_9>:
100040: 78 83 f8 00 rotldi r3,r4,31
100044: 4e 80 00 20 blr
0000000000100048 <test_rldicl_10>:
100048: 78 83 d1 82 rldicl r3,r4,58,6
10004c: 4e 80 00 20 blr

View File

@ -7,3 +7,4 @@
0000000000000030 t test_rldicl_7
0000000000000038 t test_rldicl_8
0000000000000040 t test_rldicl_9
0000000000000048 t test_rldicl_10

View File

@ -60,3 +60,10 @@ test_rldicl_9:
blr
#_ REGISTER_OUT r3 0xc4d5e6f78091a2b3
#_ REGISTER_OUT r4 0x0123456789ABCDEF
test_rldicl_10:
#_ REGISTER_IN r4 0x16300000
rldicl r3, r4, 58, 6
blr
#_ REGISTER_OUT r3 0x58C000
#_ REGISTER_OUT r4 0x16300000

View File

@ -1,9 +1,7 @@
test_rlwimi:
#_ REGISTER_IN r4 0xCAFEBABE90003000
#_ REGISTER_IN r6 0xDEADBEEF00000003
rlwimi r6, r4, 2, 0, 0x1D
blr
#_ REGISTER_OUT r4 0xCAFEBABE90003000
#_ REGISTER_OUT r6 0xDEADBEEF4000C003