diff options
author | Matthias Dressel <code@deadcode.eu> | 2021-03-07 19:59:02 +0300 |
---|---|---|
committer | Matthias Dressel <code@deadcode.eu> | 2021-03-07 19:59:02 +0300 |
commit | 2479973cbb0617a66ae348e45bb5a8b075c09cc5 (patch) | |
tree | 068220ca3e5df7930f2c758a6377781cd67618de /.gitlab-ci.yml | |
parent | f06148e7c755098666b9c0ed97a672a51785413a (diff) |
CI: Add check for illegal instructions
Some AVX2 instructions cannot be macroed by x86inc.asm.
Some instructions are valid in SSE4 but not in SSSE3, therefor checking
both.
* Conroe is up to SSSE3
* Penryn is up to SSE4.1
See also: 4dd9431
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b19d2e1..668863a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,7 +4,7 @@ stages: - test .debian-amd64-common: - image: registry.videolan.org/dav1d-debian-unstable:20200602183013 + image: registry.videolan.org/dav1d-debian-unstable:20210307102341 stage: build tags: - docker @@ -118,6 +118,21 @@ build-debian-static: - cd build && meson test -v - nm -A -g src/libdav1d.a | grep " [ABCDGRST] " | (! grep -v " _*dav1d_") +build-debian-illegal-instructions: + extends: .debian-amd64-common + tags: + - docker + - avx2 + - amd64 + script: + - meson build --buildtype debug + - ninja -C build + - cd build + - exit_code=0 + - time meson test -v --suite checkasm --wrapper 'qemu-x86_64 -cpu Conroe' || exit_code=$((exit_code + $?)) + - time meson test -v --suite checkasm --wrapper 'qemu-x86_64 -cpu Penryn' || exit_code=$((exit_code + $?)) + - if [ $exit_code -ne 0 ]; then exit $exit_code; fi + build-debian32: extends: .debian-amd64-common script: |