mirror of
https://github.com/emmansun/gmsm.git
synced 2025-04-27 04:36:19 +08:00
zuc: ppc64x, check r1 r2
This commit is contained in:
parent
c8a9036abf
commit
a193c5dec0
@ -14,6 +14,12 @@ func Test_genKeywordAsm_case1(t *testing.T) {
|
||||
if z1 != 0x27bede74 {
|
||||
t.Errorf("expected=%x, result=%x\n", 0x27bede74, z1)
|
||||
}
|
||||
if s.r1 != 0xc7ee7f13 {
|
||||
t.Errorf("expected=%x, result=%x\n", 0xc7ee7f13, s.r1)
|
||||
}
|
||||
if s.r2 != 0xc0fa817 {
|
||||
t.Errorf("expected=%x, result=%x\n", 0xc0fa817, s.r2)
|
||||
}
|
||||
z2 := genKeywordAsm(s)
|
||||
if z2 != 0x018082da {
|
||||
t.Errorf("expected=%x, result=%x\n", 0x018082da, z2)
|
||||
|
Loading…
x
Reference in New Issue
Block a user