mirror of
https://github.com/emmansun/gmsm.git
synced 2025-04-26 12:16:20 +08:00
sm4: ppc64x, missing macro #249
This commit is contained in:
parent
8c9a6283fe
commit
420b9e9dfd
@ -56,8 +56,13 @@ GLOBL ·rcon(SB), RODATA, $192
|
||||
LXVW4X (RA+RB), VT \
|
||||
VPERM VT, VT, ESPERMW, VT
|
||||
|
||||
#define PPC64X_STXVW4X(VS, RA, RB) \
|
||||
VPERM VS, VS, ESPERMW, VS \
|
||||
STXVW4X VS, (RA+RB)
|
||||
|
||||
#else
|
||||
#define PPC64X_LXVW4X(RA,RB,VT) LXVW4X (RA+RB), VT
|
||||
#define PPC64X_STXVW4X(VS, RA, RB) STXVW4X VS, (RA+RB)
|
||||
#endif // defined(GOARCH_ppc64le)
|
||||
|
||||
// r = s <<< n
|
||||
|
Loading…
x
Reference in New Issue
Block a user