blob: 91fb3898d95091c5038b91c46228b74ff1ea9d9d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
# Utility to check the disassembly for sse instructions. This uses a
# simple heuristic by checking if there are any usaged of xmm, ymm or
# zmm register.
#
# We want to build our kernel w/o sse instruction, as those first need
# to be enabled in the cpus control register as well the sse state
# needs to be initialized.
/[xyz]mm[0-9]/ {
print "FAIL: no sse insns allowed in binary, found: "$0
exit 1
}
|