Type: series
Message-id: 20211028024131.1492790-1-richard.henderson@linaro.org
Subject: [PULL 00/56] tcg patch queue

=== TEST SCRIPT BEGIN ===
#!/bin/bash
git rev-parse base > /dev/null || exit 0
git config --local diff.renamelimit 0
git config --local diff.renames True
git config --local diff.algorithm histogram
./scripts/checkpatch.pl --mailback base..
=== TEST SCRIPT END ===

Updating 3c8cf5a9c21ff8782164d1def7f44bd888713384
Switched to a new branch 'test'
89073a9 tcg/optimize: Propagate sign info for shifting
d7717e6 tcg/optimize: Propagate sign info for bit counting
f94e409 tcg/optimize: Propagate sign info for setcond
05aefd9 tcg/optimize: Propagate sign info for logical operations
0751af1 tcg/optimize: Optimize sign extensions
6fa4c67 tcg/optimize: Use fold_xx_to_i for rem
0722873 tcg/optimize: Use fold_xi_to_x for div
4159d17 tcg/optimize: Use fold_xi_to_x for mul
6ebff69 tcg/optimize: Use fold_xx_to_i for orc
0c144c1 tcg/optimize: Stop forcing z_mask to "garbage" for 32-bit values
1dc692e tcg/optimize: Sink commutative operand swapping into fold functions
57f6264 tcg/optimize: Expand fold_addsub2_i32 to 64-bit ops
9b0b36c tcg/optimize: Expand fold_mulu2_i32 to all 4-arg multiplies
e98e8f8 tcg/optimize: Split out fold_masks
dc79646 tcg/optimize: Split out fold_ix_to_i
94e905c tcg/optimize: Split out fold_xi_to_x
9f36ea3 tcg/optimize: Split out fold_sub_to_neg
a1e3d6f tcg/optimize: Split out fold_to_not
88b963a tcg/optimize: Add type to OptContext
9c18d08 tcg/optimize: Split out fold_xi_to_i
d8c8b06 tcg/optimize: Split out fold_xx_to_x
e3af4e2 tcg/optimize: Split out fold_xx_to_i
b06990e tcg/optimize: Split out fold_mov
c06d7d9 tcg/optimize: Split out fold_dup, fold_dup2
fd280cf tcg/optimize: Split out fold_bswap
3bc6922 tcg/optimize: Split out fold_count_zeros
da6a69a tcg/optimize: Split out fold_deposit
2ba6f6f tcg/optimize: Split out fold_extract, fold_sextract
19f101d tcg/optimize: Split out fold_extract2
a58b688 tcg/optimize: Split out fold_movcond
bf6df509 tcg/optimize: Split out fold_addsub2_i32
e6a86be tcg/optimize: Split out fold_mulu2_i32
40e28c3 tcg/optimize: Split out fold_setcond
3646ecc tcg/optimize: Split out fold_brcond
703b33b tcg/optimize: Split out fold_brcond2
e78882d tcg/optimize: Split out fold_setcond2
28e288f tcg/optimize: Split out fold_const{1,2}
e36187a tcg/optimize: Split out fold_mb, fold_qemu_{ld,st}
0286b20 tcg/optimize: Use a boolean to avoid a mass of continues
9a6d99d tcg/optimize: Split out finish_folding
0323df0 tcg/optimize: Return true from tcg_opt_gen_{mov,movi}
071dfaa tcg/optimize: Change fail return for do_constant_folding_cond*
602c651 tcg/optimize: Drop nb_oargs, nb_iargs locals
f29b23d tcg/optimize: Split out fold_call
058ef69 tcg/optimize: Split out copy_propagate
883d248 tcg/optimize: Split out init_arguments
9e20958 tcg/optimize: Move prev_mb into OptContext
510001f tcg/optimize: Change tcg_opt_gen_{mov,movi} interface
370ade0 tcg/optimize: Remove do_default label
b1d69a1 tcg/optimize: Split out OptContext
46e063b tcg/optimize: Rename "mask" to "z_mask"
48e9109 host-utils: add unit tests for divu128/divs128
457a393 host-utils: add 128-bit quotient support to divu128/divs128
60d4b40 host-utils: move udiv_qrnnd() to host-utils
43f7613 host-utils: move checks out of divu128/divs128
8e90e31 qemu/int128: Add int128_{not,xor}

=== OUTPUT BEGIN ===
1/56 Checking commit 8e90e31ba64b (qemu/int128: Add int128_{not,xor})
2/56 Checking commit 43f76138d77f (host-utils: move checks out of divu128/divs128)
3/56 Checking commit 60d4b40d599f (host-utils: move udiv_qrnnd() to host-utils)
WARNING: Block comments use a leading /* on a separate line
#135: FILE: include/qemu/host-utils.h:26:
+/* Portions of this work are licensed under the terms of the GNU GPL,

WARNING: Block comments use a leading /* on a separate line
#146: FILE: include/qemu/host-utils.h:733:
+/* From the GNU Multi Precision Library - longlong.h __udiv_qrnnd

WARNING: architecture specific defines should be avoided
#154: FILE: include/qemu/host-utils.h:741:
+#if defined(__x86_64__)

total: 0 errors, 3 warnings, 191 lines checked

Patch 3/56 has style problems, please review.  If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.
4/56 Checking commit 457a39381074 (host-utils: add 128-bit quotient support to divu128/divs128)
5/56 Checking commit 48e910956fe5 (host-utils: add unit tests for divu128/divs128)
WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?
#30: 
new file mode 100644

total: 0 errors, 1 warnings, 204 lines checked

Patch 5/56 has style problems, please review.  If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.
6/56 Checking commit 46e063b20dc8 (tcg/optimize: Rename "mask" to "z_mask")
7/56 Checking commit b1d69a148212 (tcg/optimize: Split out OptContext)
8/56 Checking commit 370ade06d225 (tcg/optimize: Remove do_default label)
WARNING: Block comments use a leading /* on a separate line
#423: FILE: tcg/optimize.c:1559:
+                /* Save the corresponding known-zero bits mask for the

WARNING: Block comments use * on subsequent lines
#424: FILE: tcg/optimize.c:1560:
+                /* Save the corresponding known-zero bits mask for the
+                   first output argument (only one supported so far). */

WARNING: Block comments use a trailing */ on a separate line
#424: FILE: tcg/optimize.c:1560:
+                   first output argument (only one supported so far). */

total: 0 errors, 3 warnings, 387 lines checked

Patch 8/56 has style problems, please review.  If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.
9/56 Checking commit 510001fe130b (tcg/optimize: Change tcg_opt_gen_{mov,movi} interface)
ERROR: spaces required around that '-' (ctx:VxV)
#261: FILE: tcg/optimize.c:1323:
+                tcg_opt_gen_mov(&ctx, op, op->args[0], op->args[4-tmp]);
                                                                  ^

total: 1 errors, 0 warnings, 246 lines checked

Patch 9/56 has style problems, please review.  If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.

10/56 Checking commit 9e20958c05b4 (tcg/optimize: Move prev_mb into OptContext)
11/56 Checking commit 883d248b80e9 (tcg/optimize: Split out init_arguments)
12/56 Checking commit 058ef693ccea (tcg/optimize: Split out copy_propagate)
13/56 Checking commit f29b23d64592 (tcg/optimize: Split out fold_call)
14/56 Checking commit 602c651de1b7 (tcg/optimize: Drop nb_oargs, nb_iargs locals)
15/56 Checking commit 071dfaa5f1fb (tcg/optimize: Change fail return for do_constant_folding_cond*)
16/56 Checking commit 0323df01ded9 (tcg/optimize: Return true from tcg_opt_gen_{mov,movi})
17/56 Checking commit 9a6d99d6c8d6 (tcg/optimize: Split out finish_folding)
18/56 Checking commit 0286b201a2a9 (tcg/optimize: Use a boolean to avoid a mass of continues)
19/56 Checking commit e36187a02e7a (tcg/optimize: Split out fold_mb, fold_qemu_{ld,st})
20/56 Checking commit 28e288f46e00 (tcg/optimize: Split out fold_const{1,2})
ERROR: spaces required around that ':' (ctx:VxE)
#266: FILE: tcg/optimize.c:1735:
+        CASE_OP_32_64_VEC(add):
                               ^

ERROR: spaces required around that ':' (ctx:VxE)
#269: FILE: tcg/optimize.c:1738:
+        CASE_OP_32_64_VEC(and):
                               ^

ERROR: spaces required around that ':' (ctx:VxE)
#272: FILE: tcg/optimize.c:1741:
+        CASE_OP_32_64_VEC(andc):
                                ^

ERROR: spaces required around that ':' (ctx:VxE)
#275: FILE: tcg/optimize.c:1744:
+        CASE_OP_32_64(ctpop):
                             ^

ERROR: spaces required around that ':' (ctx:VxE)
#278: FILE: tcg/optimize.c:1747:
+        CASE_OP_32_64(div):
                           ^

ERROR: spaces required around that ':' (ctx:VxE)
#279: FILE: tcg/optimize.c:1748:
+        CASE_OP_32_64(divu):
                            ^

ERROR: spaces required around that ':' (ctx:VxE)
#282: FILE: tcg/optimize.c:1751:
+        CASE_OP_32_64(eqv):
                           ^

ERROR: spaces required around that ':' (ctx:VxE)
#285: FILE: tcg/optimize.c:1754:
+        CASE_OP_32_64(ext8s):
                             ^

ERROR: spaces required around that ':' (ctx:VxE)
#286: FILE: tcg/optimize.c:1755:
+        CASE_OP_32_64(ext16s):
                              ^

ERROR: spaces required around that ':' (ctx:VxE)
#291: FILE: tcg/optimize.c:1760:
+        CASE_OP_32_64(ext8u):
                             ^

ERROR: spaces required around that ':' (ctx:VxE)
#292: FILE: tcg/optimize.c:1761:
+        CASE_OP_32_64(ext16u):
                              ^

ERROR: spaces required around that ':' (ctx:VxE)
#302: FILE: tcg/optimize.c:1771:
+        CASE_OP_32_64(mul):
                           ^

ERROR: spaces required around that ':' (ctx:VxE)
#305: FILE: tcg/optimize.c:1774:
+        CASE_OP_32_64(mulsh):
                             ^

ERROR: spaces required around that ':' (ctx:VxE)
#306: FILE: tcg/optimize.c:1775:
+        CASE_OP_32_64(muluh):
                             ^

ERROR: spaces required around that ':' (ctx:VxE)
#309: FILE: tcg/optimize.c:1778:
+        CASE_OP_32_64(nand):
                            ^

ERROR: spaces required around that ':' (ctx:VxE)
#312: FILE: tcg/optimize.c:1781:
+        CASE_OP_32_64(neg):
                           ^

ERROR: spaces required around that ':' (ctx:VxE)
#315: FILE: tcg/optimize.c:1784:
+        CASE_OP_32_64(nor):
                           ^

ERROR: spaces required around that ':' (ctx:VxE)
#318: FILE: tcg/optimize.c:1787:
+        CASE_OP_32_64_VEC(not):
                               ^

ERROR: spaces required around that ':' (ctx:VxE)
#321: FILE: tcg/optimize.c:1790:
+        CASE_OP_32_64_VEC(or):
                              ^

ERROR: spaces required around that ':' (ctx:VxE)
#324: FILE: tcg/optimize.c:1793:
+        CASE_OP_32_64_VEC(orc):
                               ^

ERROR: spaces required around that ':' (ctx:VxE)
#336: FILE: tcg/optimize.c:1805:
+        CASE_OP_32_64(rem):
                           ^

ERROR: spaces required around that ':' (ctx:VxE)
#337: FILE: tcg/optimize.c:1806:
+        CASE_OP_32_64(remu):
                            ^

ERROR: spaces required around that ':' (ctx:VxE)
#340: FILE: tcg/optimize.c:1809:
+        CASE_OP_32_64(rotl):
                            ^

ERROR: spaces required around that ':' (ctx:VxE)
#341: FILE: tcg/optimize.c:1810:
+        CASE_OP_32_64(rotr):
                            ^

ERROR: spaces required around that ':' (ctx:VxE)
#342: FILE: tcg/optimize.c:1811:
+        CASE_OP_32_64(sar):
                           ^

ERROR: spaces required around that ':' (ctx:VxE)
#343: FILE: tcg/optimize.c:1812:
+        CASE_OP_32_64(shl):
                           ^

ERROR: spaces required around that ':' (ctx:VxE)
#344: FILE: tcg/optimize.c:1813:
+        CASE_OP_32_64(shr):
                           ^

ERROR: spaces required around that ':' (ctx:VxE)
#347: FILE: tcg/optimize.c:1816:
+        CASE_OP_32_64_VEC(sub):
                               ^

ERROR: spaces required around that ':' (ctx:VxE)
#350: FILE: tcg/optimize.c:1819:
+        CASE_OP_32_64_VEC(xor):
                               ^

total: 29 errors, 0 warnings, 322 lines checked

Patch 20/56 has style problems, please review.  If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.

21/56 Checking commit e78882d1b5ab (tcg/optimize: Split out fold_setcond2)
22/56 Checking commit 703b33b8f6ea (tcg/optimize: Split out fold_brcond2)
23/56 Checking commit 3646ecced8b9 (tcg/optimize: Split out fold_brcond)
ERROR: spaces required around that ':' (ctx:VxE)
#67: FILE: tcg/optimize.c:1742:
+        CASE_OP_32_64(brcond):
                              ^

total: 1 errors, 0 warnings, 51 lines checked

Patch 23/56 has style problems, please review.  If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.

24/56 Checking commit 40e28c3d8a42 (tcg/optimize: Split out fold_setcond)
ERROR: spaces required around that ':' (ctx:VxE)
#57: FILE: tcg/optimize.c:1822:
+        CASE_OP_32_64(setcond):
                               ^

total: 1 errors, 0 warnings, 41 lines checked

Patch 24/56 has style problems, please review.  If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.

25/56 Checking commit e6a86beeb822 (tcg/optimize: Split out fold_mulu2_i32)
26/56 Checking commit bf6df509a2da (tcg/optimize: Split out fold_addsub2_i32)
27/56 Checking commit a58b688c0509 (tcg/optimize: Split out fold_movcond)
ERROR: spaces required around that ':' (ctx:VxE)
#90: FILE: tcg/optimize.c:1797:
+        CASE_OP_32_64(movcond):
                               ^

total: 1 errors, 0 warnings, 74 lines checked

Patch 27/56 has style problems, please review.  If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.

28/56 Checking commit 19f101d13cdb (tcg/optimize: Split out fold_extract2)
ERROR: spaces required around that ':' (ctx:VxE)
#73: FILE: tcg/optimize.c:1782:
+        CASE_OP_32_64(extract2):
                                ^

total: 1 errors, 0 warnings, 57 lines checked

Patch 28/56 has style problems, please review.  If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.

29/56 Checking commit 2ba6f6f0f28c (tcg/optimize: Split out fold_extract, fold_sextract)
ERROR: spaces required around that ':' (ctx:VxE)
#86: FILE: tcg/optimize.c:1788:
+        CASE_OP_32_64(extract):
                               ^

ERROR: spaces required around that ':' (ctx:VxE)
#96: FILE: tcg/optimize.c:1868:
+        CASE_OP_32_64(sextract):
                                ^

total: 2 errors, 0 warnings, 78 lines checked

Patch 29/56 has style problems, please review.  If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.

30/56 Checking commit da6a69aec2a2 (tcg/optimize: Split out fold_deposit)
ERROR: spaces required around that ':' (ctx:VxE)
#59: FILE: tcg/optimize.c:1783:
+        CASE_OP_32_64(deposit):
                               ^

total: 1 errors, 0 warnings, 43 lines checked

Patch 30/56 has style problems, please review.  If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.

31/56 Checking commit 3bc6922aea07 (tcg/optimize: Split out fold_count_zeros)
ERROR: spaces required around that ':' (ctx:VxE)
#65: FILE: tcg/optimize.c:1780:
+        CASE_OP_32_64(clz):
                           ^

ERROR: spaces required around that ':' (ctx:VxE)
#66: FILE: tcg/optimize.c:1781:
+        CASE_OP_32_64(ctz):
                           ^

total: 2 errors, 0 warnings, 50 lines checked

Patch 31/56 has style problems, please review.  If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.

32/56 Checking commit fd280cfb49e4 (tcg/optimize: Split out fold_bswap)
ERROR: spaces required around that ':' (ctx:VxE)
#59: FILE: tcg/optimize.c:1780:
+        CASE_OP_32_64(bswap16):
                               ^

ERROR: spaces required around that ':' (ctx:VxE)
#60: FILE: tcg/optimize.c:1781:
+        CASE_OP_32_64(bswap32):
                               ^

total: 2 errors, 0 warnings, 45 lines checked

Patch 32/56 has style problems, please review.  If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.

33/56 Checking commit c06d7d9317ab (tcg/optimize: Split out fold_dup, fold_dup2)
34/56 Checking commit b06990edb07b (tcg/optimize: Split out fold_mov)
ERROR: spaces required around that ':' (ctx:VxE)
#64: FILE: tcg/optimize.c:1830:
+        CASE_OP_32_64_VEC(mov):
                               ^

total: 1 errors, 0 warnings, 52 lines checked

Patch 34/56 has style problems, please review.  If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.

35/56 Checking commit e3af4e2cdcbe (tcg/optimize: Split out fold_xx_to_i)
36/56 Checking commit d8c8b061bec3 (tcg/optimize: Split out fold_xx_to_x)
37/56 Checking commit 9c18d0818c89 (tcg/optimize: Split out fold_xi_to_i)
38/56 Checking commit 88b963ac9ece (tcg/optimize: Add type to OptContext)
39/56 Checking commit a1e3d6f9eb05 (tcg/optimize: Split out fold_to_not)
40/56 Checking commit 9f36ea3f3ca5 (tcg/optimize: Split out fold_sub_to_neg)
41/56 Checking commit 94e905c0c808 (tcg/optimize: Split out fold_xi_to_x)
42/56 Checking commit dc79646fd654 (tcg/optimize: Split out fold_ix_to_i)
43/56 Checking commit e98e8f82a2f9 (tcg/optimize: Split out fold_masks)
ERROR: spaces required around that ':' (ctx:VxE)
#279: FILE: tcg/optimize.c:1260:
+    CASE_OP_32_64(ext8s):
                         ^

ERROR: spaces required around that ':' (ctx:VxE)
#283: FILE: tcg/optimize.c:1264:
+    CASE_OP_32_64(ext16s):
                          ^

ERROR: spaces required around that ':' (ctx:VxE)
#321: FILE: tcg/optimize.c:1301:
+    CASE_OP_32_64(ext8u):
                         ^

ERROR: spaces required around that ':' (ctx:VxE)
#324: FILE: tcg/optimize.c:1304:
+    CASE_OP_32_64(ext16u):
                          ^

ERROR: spaces required around that ':' (ctx:VxE)
#471: FILE: tcg/optimize.c:1712:
+    CASE_OP_32_64(ld8u):
                        ^

ERROR: spaces required around that ':' (ctx:VxE)
#474: FILE: tcg/optimize.c:1715:
+    CASE_OP_32_64(ld16u):
                         ^

ERROR: spaces required around that ':' (ctx:VxE)
#762: FILE: tcg/optimize.c:1914:
+        CASE_OP_32_64(ld8u):
                            ^

ERROR: spaces required around that ':' (ctx:VxE)
#763: FILE: tcg/optimize.c:1915:
+        CASE_OP_32_64(ld16u):
                             ^

total: 8 errors, 0 warnings, 723 lines checked

Patch 43/56 has style problems, please review.  If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.

44/56 Checking commit 9b0b36c8377f (tcg/optimize: Expand fold_mulu2_i32 to all 4-arg multiplies)
ERROR: spaces required around that ':' (ctx:VxE)
#80: FILE: tcg/optimize.c:1960:
+        CASE_OP_32_64(muls2):
                             ^

ERROR: spaces required around that ':' (ctx:VxE)
#81: FILE: tcg/optimize.c:1961:
+        CASE_OP_32_64(mulu2):
                             ^

total: 2 errors, 0 warnings, 62 lines checked

Patch 44/56 has style problems, please review.  If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.

45/56 Checking commit 57f626410d8c (tcg/optimize: Expand fold_addsub2_i32 to 64-bit ops)
ERROR: spaces required around that ':' (ctx:VxE)
#124: FILE: tcg/optimize.c:1899:
+        CASE_OP_32_64(add2):
                            ^

ERROR: spaces required around that ':' (ctx:VxE)
#135: FILE: tcg/optimize.c:2037:
+        CASE_OP_32_64(sub2):
                            ^

total: 2 errors, 0 warnings, 112 lines checked

Patch 45/56 has style problems, please review.  If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.

46/56 Checking commit 1dc692e02013 (tcg/optimize: Sink commutative operand swapping into fold functions)
47/56 Checking commit 0c144c14b2bc (tcg/optimize: Stop forcing z_mask to "garbage" for 32-bit values)
48/56 Checking commit 6ebff6967934 (tcg/optimize: Use fold_xx_to_i for orc)
49/56 Checking commit 4159d17e175d (tcg/optimize: Use fold_xi_to_x for mul)
50/56 Checking commit 072287331e6e (tcg/optimize: Use fold_xi_to_x for div)
51/56 Checking commit 6fa4c67d3df0 (tcg/optimize: Use fold_xx_to_i for rem)
52/56 Checking commit 0751af1e56f4 (tcg/optimize: Optimize sign extensions)
ERROR: spaces required around that ':' (ctx:VxE)
#310: FILE: tcg/optimize.c:1887:
+    CASE_OP_32_64(ld8s):
                        ^

ERROR: spaces required around that ':' (ctx:VxE)
#317: FILE: tcg/optimize.c:1894:
+    CASE_OP_32_64(ld16s):
                         ^

ERROR: spaces required around that ':' (ctx:VxE)
#349: FILE: tcg/optimize.c:2045:
+        CASE_OP_32_64(ld8s):
                            ^

ERROR: spaces required around that ':' (ctx:VxE)
#351: FILE: tcg/optimize.c:2047:
+        CASE_OP_32_64(ld16s):
                             ^

total: 4 errors, 0 warnings, 310 lines checked

Patch 52/56 has style problems, please review.  If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.

53/56 Checking commit 05aefd9146f4 (tcg/optimize: Propagate sign info for logical operations)
54/56 Checking commit f94e409459c9 (tcg/optimize: Propagate sign info for setcond)
55/56 Checking commit d7717e65110f (tcg/optimize: Propagate sign info for bit counting)
56/56 Checking commit 89073a963a67 (tcg/optimize: Propagate sign info for shifting)
ERROR: spaces required around that ':' (ctx:VxE)
#79: FILE: tcg/optimize.c:1881:
+    CASE_OP_32_64(sar):
                       ^

ERROR: spaces required around that ':' (ctx:VxE)
#86: FILE: tcg/optimize.c:1888:
+    CASE_OP_32_64(shr):
                       ^

total: 2 errors, 0 warnings, 71 lines checked

Patch 56/56 has style problems, please review.  If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.

=== OUTPUT END ===

Test command exited with code: 1