Skip to content

Commit fb37592

Browse files
authored
Merge pull request #411 from cppalliance/opt_mul
Optimize further mul and div algorithms
2 parents 051606b + bf76e1d commit fb37592

69 files changed

Lines changed: 1444 additions & 1411 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.drone.jsonnet

Lines changed: 51 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,8 @@ local linux_pipeline(name, image, environment, packages = "", sources = [], arch
2424
os: "linux",
2525
arch: arch
2626
},
27-
clone:
28-
{
29-
retries: 5,
27+
"clone": {
28+
"retries": 5
3029
},
3130
steps:
3231
[
@@ -38,7 +37,9 @@ local linux_pipeline(name, image, environment, packages = "", sources = [], arch
3837
commands:
3938
[
4039
'set -e',
41-
'wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -',
40+
'echo $DRONE_STAGE_MACHINE',
41+
'uname -a',
42+
'curl -sSL --retry 5 https://apt.llvm.org/llvm-snapshot.gpg.key | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/llvm-snapshot.gpg',
4243
] +
4344
(if sources != [] then [ ('apt-add-repository "' + source + '"') for source in sources ] else []) +
4445
(if packages != "" then [ 'apt-get update', 'apt-get -y install ' + packages ] else []) +
@@ -268,6 +269,34 @@ local windows_pipeline(name, image, environment, arch = "amd64") =
268269
"g++-14-multilib",
269270
),
270271

272+
linux_pipeline(
273+
"Linux 26.04 GCC 15 32",
274+
"cppalliance/droneubuntu2604:1",
275+
{ TOOLSET: 'gcc', COMPILER: 'g++-15', CXXSTD: '03,11,14,17,20,23', ADDRMD: '32', CXXFLAGS: "-fexcess-precision=fast" },
276+
"g++-15-multilib",
277+
),
278+
279+
linux_pipeline(
280+
"Linux 26.04 GCC 15 64",
281+
"cppalliance/droneubuntu2604:1",
282+
{ TOOLSET: 'gcc', COMPILER: 'g++-15', CXXSTD: '03,11,14,17,20,23', ADDRMD: '64', CXXFLAGS: "-fexcess-precision=fast" },
283+
"g++-15-multilib",
284+
),
285+
286+
linux_pipeline(
287+
"Linux 26.04 GCC 16 32",
288+
"cppalliance/droneubuntu2604:1",
289+
{ TOOLSET: 'gcc', COMPILER: 'g++-16', CXXSTD: '03,11,14,17,20,23', ADDRMD: '32', CXXFLAGS: "-fexcess-precision=fast" },
290+
"g++-16-multilib",
291+
),
292+
293+
linux_pipeline(
294+
"Linux 26.04 GCC 16 64",
295+
"cppalliance/droneubuntu2604:1",
296+
{ TOOLSET: 'gcc', COMPILER: 'g++-16', CXXSTD: '03,11,14,17,20,23', ADDRMD: '64', CXXFLAGS: "-fexcess-precision=fast" },
297+
"g++-16-multilib libabsl-dev",
298+
),
299+
271300
linux_pipeline(
272301
"Linux 18.04 Clang 5.0",
273302
"cppalliance/droneubuntu1804:1",
@@ -387,17 +416,27 @@ local windows_pipeline(name, image, environment, arch = "amd64") =
387416
),
388417

389418
linux_pipeline(
390-
"Linux 24.04 Clang 20 ASAN",
419+
"Linux 24.04 Clang 21",
391420
"cppalliance/droneubuntu2404:1",
392-
{ TOOLSET: 'clang', COMPILER: 'clang++-20', CXXSTD: '03,11,14,17,20,23,2c' } + asan,
393-
"clang-20",
394-
["deb http://apt.llvm.org/noble/ llvm-toolchain-noble-20 main"],
421+
{ TOOLSET: 'clang', COMPILER: 'clang++-21', CXXSTD: '17,20,2b' },
422+
"clang-21",
423+
["deb http://apt.llvm.org/noble/ llvm-toolchain-noble-21 main"],
424+
),
425+
426+
linux_pipeline(
427+
"Linux 24.04 Clang 21 UBSAN",
428+
"cppalliance/droneubuntu2404:1",
429+
{ TOOLSET: 'clang', COMPILER: 'clang++-21', CXXSTD: '17,20,2b' } + ubsan,
430+
"clang-21",
431+
["deb http://apt.llvm.org/noble/ llvm-toolchain-noble-21 main"],
395432
),
396433

397-
macos_pipeline(
398-
"MacOS Xcode 14.3.1",
399-
{ TOOLSET: 'clang', COMPILER: 'clang++', CXXSTD: '03,11,14,17,20,2b' } + asan,
400-
xcode_version = "14.3.1", osx_version = "sonoma", arch = "arm64",
434+
linux_pipeline(
435+
"Linux 24.04 Clang 21 ASAN",
436+
"cppalliance/droneubuntu2404:1",
437+
{ TOOLSET: 'clang', COMPILER: 'clang++-21', CXXSTD: '17,20,2b' } + asan,
438+
"clang-21",
439+
["deb http://apt.llvm.org/noble/ llvm-toolchain-noble-21 main"],
401440
),
402441

403442
windows_pipeline(
-551 Bytes
4.6 KB
2.65 KB
-1.77 KB
1.02 KB
-934 Bytes
-12.7 KB
-3.51 KB
3.57 KB

0 commit comments

Comments
 (0)