Updated Armv8.2 SM3和SM4 (markdown)

Sun Yimin 2022-02-18 13:32:16 +08:00
parent 9544564924
commit 92dfdd7a37

@ -103,8 +103,13 @@ func TestDecodeSM4Codes(t *testing.T) {
```
WORD $0x0884c0ce // SM4E V0.S4, V8.S4
```
用指令字的缺点主要是易读性差,另外一个就是不能或不好写宏代码。
可惜没有环境!!!
## SM3 SM4 指令字生成工具
[代码](https://gist.github.com/emmansun/a3feef970cdf3ffe5db623f324550950)
## SM3 with SM3PARTW1 / SM3PARTW2 / SM3SS1 / SM3TT1A / SM3TT2A / SM3TT2A / SM3TT2B
[模拟代码](https://gist.github.com/emmansun/c05b5e2262997ae546950f806fcd0146)