media/libspeex_resampler/src/sse_detect.cpp
author Ryan VanderMeulen <ryanvm@gmail.com>
Wed, 26 Mar 2014 20:46:47 -0400
changeset 175406 e4423b6f3ca82a6e802891bc40410ee39703b061
parent 140179 adeb3608cd4114359cc0eff753f704ed578deb11
permissions -rw-r--r--
Merge b2g-inbound to m-c.

/* vim: set shiftwidth=2 tabstop=8 autoindent cindent expandtab: */
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#include "mozilla/SSE.h"
#include "sse_detect.h"

int moz_has_sse2() {
  return mozilla::supports_sse2() ? 1 : 0;
}

int moz_has_sse() {
  return mozilla::supports_sse() ? 1 : 0;
}