@@ -458,6 +458,9 @@ impl u8 {
458458 fsh_op = "0x36" ,
459459 fshl_result = "0x8" ,
460460 fshr_result = "0x8d" ,
461+ clmul_lhs = "0x12" ,
462+ clmul_rhs = "0x34" ,
463+ clmul_result = "0x28" ,
461464 swap_op = "0x12" ,
462465 swapped = "0x12" ,
463466 reversed = "0x48" ,
@@ -1095,6 +1098,9 @@ impl u16 {
10951098 fsh_op = "0x2de" ,
10961099 fshl_result = "0x30" ,
10971100 fshr_result = "0x302d" ,
1101+ clmul_lhs = "0x9012" ,
1102+ clmul_rhs = "0xcd34" ,
1103+ clmul_result = "0x928" ,
10981104 swap_op = "0x1234" ,
10991105 swapped = "0x3412" ,
11001106 reversed = "0x2c48" ,
@@ -1145,6 +1151,9 @@ impl u32 {
11451151 fsh_op = "0x2fe78e45" ,
11461152 fshl_result = "0xb32f" ,
11471153 fshr_result = "0xb32fe78e" ,
1154+ clmul_lhs = "0x56789012" ,
1155+ clmul_rhs = "0xf52ecd34" ,
1156+ clmul_result = "0x9b980928" ,
11481157 swap_op = "0x12345678" ,
11491158 swapped = "0x78563412" ,
11501159 reversed = "0x1e6a2c48" ,
@@ -1171,6 +1180,9 @@ impl u64 {
11711180 fsh_op = "0x2fe78e45983acd98" ,
11721181 fshl_result = "0x6e12fe" ,
11731182 fshr_result = "0x6e12fe78e45983ac" ,
1183+ clmul_lhs = "0x7890123456789012" ,
1184+ clmul_rhs = "0xdd358416f52ecd34" ,
1185+ clmul_result = "0xa6299579b980928" ,
11741186 swap_op = "0x1234567890123456" ,
11751187 swapped = "0x5634129078563412" ,
11761188 reversed = "0x6a2c48091e6a2c48" ,
@@ -1197,6 +1209,9 @@ impl u128 {
11971209 fsh_op = "0x2fe78e45983acd98039000008736273" ,
11981210 fshl_result = "0x4f7602fe" ,
11991211 fshr_result = "0x4f7602fe78e45983acd9803900000873" ,
1212+ clmul_lhs = "0x12345678901234567890123456789012" ,
1213+ clmul_rhs = "0x4317e40ab4ddcf05dd358416f52ecd34" ,
1214+ clmul_result = "0xb9cf660de35d0c170a6299579b980928" ,
12001215 swap_op = "0x12345678901234567890123456789012" ,
12011216 swapped = "0x12907856341290785634129078563412" ,
12021217 reversed = "0x48091e6a2c48091e6a2c48091e6a2c48" ,
@@ -1223,9 +1238,12 @@ impl usize {
12231238 rot = 4 ,
12241239 rot_op = "0xa003" ,
12251240 rot_result = "0x3a" ,
1226- fsh_op = "0x2fe78e45983acd98039000008736273" ,
1227- fshl_result = "0x4f7602fe" ,
1228- fshr_result = "0x4f7602fe78e45983acd9803900000873" ,
1241+ fsh_op = "0x2de" ,
1242+ fshl_result = "0x30" ,
1243+ fshr_result = "0x302d" ,
1244+ clmul_lhs = "0x9012" ,
1245+ clmul_rhs = "0xcd34" ,
1246+ clmul_result = "0x928" ,
12291247 swap_op = "0x1234" ,
12301248 swapped = "0x3412" ,
12311249 reversed = "0x2c48" ,
@@ -1253,6 +1271,9 @@ impl usize {
12531271 fsh_op = "0x2fe78e45" ,
12541272 fshl_result = "0xb32f" ,
12551273 fshr_result = "0xb32fe78e" ,
1274+ clmul_lhs = "0x56789012" ,
1275+ clmul_rhs = "0xf52ecd34" ,
1276+ clmul_result = "0x9b980928" ,
12561277 swap_op = "0x12345678" ,
12571278 swapped = "0x78563412" ,
12581279 reversed = "0x1e6a2c48" ,
@@ -1280,6 +1301,9 @@ impl usize {
12801301 fsh_op = "0x2fe78e45983acd98" ,
12811302 fshl_result = "0x6e12fe" ,
12821303 fshr_result = "0x6e12fe78e45983ac" ,
1304+ clmul_lhs = "0x7890123456789012" ,
1305+ clmul_rhs = "0xdd358416f52ecd34" ,
1306+ clmul_result = "0xa6299579b980928" ,
12831307 swap_op = "0x1234567890123456" ,
12841308 swapped = "0x5634129078563412" ,
12851309 reversed = "0x6a2c48091e6a2c48" ,
0 commit comments