summaryrefslogtreecommitdiff
path: root/src/arch-x32.c
diff options
context:
space:
mode:
authorMathias Krause <minipli@googlemail.com>2015-06-17 15:39:38 +0200
committerPaul Moore <pmoore@redhat.com>2015-07-06 11:29:58 -0400
commit1ff6f3e6521d787e52fe328b862094898fc0b77e (patch)
tree0f04a43fc20ccc3583542233b7dff47ee9a65b0b /src/arch-x32.c
parentccaf7d240c2fe034a323af2783ddec6297ae37e6 (diff)
downloadlibseccomp-1ff6f3e6521d787e52fe328b862094898fc0b77e.tar.gz
db: optimize masked compares
If the masked compare is a tautology we don't need to generate instructions for the runtime test. It'll always be true. This patch handles the case for 32 bit arches and partially for 64 bit arches. The cases where either the upper half or the lower half is a tautology is still TODO. Signed-off-by: Mathias Krause <minipli@googlemail.com> [PM: minor function name changes to better match existing style] Signed-off-by: Paul Moore <pmoore@redhat.com>
Diffstat (limited to 'src/arch-x32.c')
0 files changed, 0 insertions, 0 deletions