root/libde265/arm/cpudetect.S

/* [<][>][^][v][top][bottom][index][help] */
/*
 * H.265 video codec.
 * Copyright (c) 2013-2015 struktur AG, Joachim Bauch <bauch@struktur.de>
 *
 * This file is part of libde265.
 *
 * libde265 is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation, either version 3 of
 * the License, or (at your option) any later version.
 *
 * libde265 is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with libde265.  If not, see <http://www.gnu.org/licenses/>.
 */

#include "asm.S"
#include "neon.S"

// we execute a simple NEON instruction and check if SIGILL is triggered to
// detect if the CPU support NEON code
function libde265_detect_neon, export=1
    vand q0, q0, q0
    bx lr
endfunc

/* [<][>][^][v][top][bottom][index][help] */