From 0652087375e7813f06140f1bb5e18375f45d28ff Mon Sep 17 00:00:00 2001 From: =?utf8?q?Martin=20Li=C5=A1ka?= Date: Tue, 26 Jul 2022 08:42:29 +0200 Subject: [PATCH] jit,docs: shorten assembly output Shorten the assembly example so that there is not slider. Ready for master? Thanks, Martin gcc/jit/ChangeLog: * docs/cp/intro/tutorial02.rst: Shorten the assembly example so that there is not slider. * docs/cp/intro/tutorial04.rst: Likewise. * docs/intro/tutorial02.rst: Likewise. * docs/intro/tutorial04.rst: Likewise. * docs/topics/contexts.rst: Likewise. --- gcc/jit/docs/cp/intro/tutorial02.rst | 4 ++-- gcc/jit/docs/cp/intro/tutorial04.rst | 2 +- gcc/jit/docs/intro/tutorial02.rst | 4 ++-- gcc/jit/docs/intro/tutorial04.rst | 2 +- gcc/jit/docs/topics/contexts.rst | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/gcc/jit/docs/cp/intro/tutorial02.rst b/gcc/jit/docs/cp/intro/tutorial02.rst index 9f9a7f3858e..d1132a4230d 100644 --- a/gcc/jit/docs/cp/intro/tutorial02.rst +++ b/gcc/jit/docs/cp/intro/tutorial02.rst @@ -286,7 +286,7 @@ before compiling: .cfi_endproc .LFE6: .size square, .-square - .ident "GCC: (GNU) 4.9.0 20131023 (Red Hat 0.2-0.5.1920c315ff984892399893b380305ab36e07b455.fc20)" + .ident "GCC: (GNU) 4.9.0 20131023 (Red Hat 0.2)" .section .note.GNU-stack,"",@progbits By default, no optimizations are performed, the equivalent of GCC's @@ -315,7 +315,7 @@ By default, no optimizations are performed, the equivalent of GCC's .cfi_endproc .LFE7: .size square, .-square - .ident "GCC: (GNU) 4.9.0 20131023 (Red Hat 0.2-0.5.1920c315ff984892399893b380305ab36e07b455.fc20)" + .ident "GCC: (GNU) 4.9.0 20131023 (Red Hat 0.2)" .section .note.GNU-stack,"",@progbits Naturally this has only a small effect on such a trivial function. diff --git a/gcc/jit/docs/cp/intro/tutorial04.rst b/gcc/jit/docs/cp/intro/tutorial04.rst index 66dcce903c6..d50a1e48279 100644 --- a/gcc/jit/docs/cp/intro/tutorial04.rst +++ b/gcc/jit/docs/cp/intro/tutorial04.rst @@ -574,7 +574,7 @@ yields this code, which is simple enough to quote in its entirety: .cfi_endproc .LFE0: .size factorial, .-factorial - .ident "GCC: (GNU) 4.9.0 20131023 (Red Hat 0.2-%{gcc_release})" + .ident "GCC: (GNU) 4.9.0 20131023 (Red Hat 0.2)" .section .note.GNU-stack,"",@progbits Note that the stack pushing and popping have been eliminated, as has the diff --git a/gcc/jit/docs/intro/tutorial02.rst b/gcc/jit/docs/intro/tutorial02.rst index 9fcaad5518c..8ac59a761df 100644 --- a/gcc/jit/docs/intro/tutorial02.rst +++ b/gcc/jit/docs/intro/tutorial02.rst @@ -332,7 +332,7 @@ before compiling: .cfi_endproc .LFE6: .size square, .-square - .ident "GCC: (GNU) 4.9.0 20131023 (Red Hat 0.2-0.5.1920c315ff984892399893b380305ab36e07b455.fc20)" + .ident "GCC: (GNU) 4.9.0 20131023 (Red Hat 0.2)" .section .note.GNU-stack,"",@progbits By default, no optimizations are performed, the equivalent of GCC's @@ -364,7 +364,7 @@ By default, no optimizations are performed, the equivalent of GCC's .cfi_endproc .LFE7: .size square, .-square - .ident "GCC: (GNU) 4.9.0 20131023 (Red Hat 0.2-0.5.1920c315ff984892399893b380305ab36e07b455.fc20)" + .ident "GCC: (GNU) 4.9.0 20131023 (Red Hat 0.2)" .section .note.GNU-stack,"",@progbits Naturally this has only a small effect on such a trivial function. diff --git a/gcc/jit/docs/intro/tutorial04.rst b/gcc/jit/docs/intro/tutorial04.rst index a08119f51b1..cfcad464220 100644 --- a/gcc/jit/docs/intro/tutorial04.rst +++ b/gcc/jit/docs/intro/tutorial04.rst @@ -596,7 +596,7 @@ yields this code, which is simple enough to quote in its entirety: .cfi_endproc .LFE0: .size factorial, .-factorial - .ident "GCC: (GNU) 4.9.0 20131023 (Red Hat 0.2-%{gcc_release})" + .ident "GCC: (GNU) 4.9.0 20131023 (Red Hat 0.2)" .section .note.GNU-stack,"",@progbits Note that the stack pushing and popping have been eliminated, as has the diff --git a/gcc/jit/docs/topics/contexts.rst b/gcc/jit/docs/topics/contexts.rst index f746e2819d2..b1a7a0af56f 100644 --- a/gcc/jit/docs/topics/contexts.rst +++ b/gcc/jit/docs/topics/contexts.rst @@ -423,7 +423,7 @@ Boolean options .cfi_endproc .LFE0: .size square, .-square - .ident "GCC: (GNU) 4.9.0 20131023 (Red Hat 0.1-%{gcc_release})" + .ident "GCC: (GNU) 4.9.0 20131023 (Red Hat 0.2)" .section .note.GNU-stack,"",@progbits -- 2.47.2