Commit 2479973c authored by Matthias Dressel's avatar Matthias Dressel
Browse files

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: 4dd94315
parent f06148e7
Pipeline #75939 passed with stages
in 6 minutes and 29 seconds
......@@ -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:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment