michael@0: /* vim: set shiftwidth=2 tabstop=8 autoindent cindent expandtab: */ michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #include "mozilla/SSE.h" michael@0: #include "sse_detect.h" michael@0: michael@0: int moz_has_sse2() { michael@0: return mozilla::supports_sse2() ? 1 : 0; michael@0: } michael@0: michael@0: int moz_has_sse() { michael@0: return mozilla::supports_sse() ? 1 : 0; michael@0: }