1; Copyright (c) <2012> <Leif Asbrink> 2; 3; Permission is hereby granted, free of charge, to any person 4; obtaining a copy of this software and associated documentation 5; files (the "Software"), to deal in the Software without restriction, 6; including without limitation the rights to use, copy, modify, 7; merge, publish, distribute, sublicense, and/or sell copies of 8; the Software, and to permit persons to whom the Software is 9; furnished to do so, subject to the following conditions: 10; 11; The above copyright notice and this permission notice shall be 12; included in all copies or substantial portions of the Software. 13; 14; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 15; EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 16; OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 17; NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 18; HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 19; WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 20; FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE 21; OR OTHER DEALINGS IN THE SOFTWARE. 22 23 24section .text 25; 26 27 global check_mmx 28 global _check_mmx 29 30 31check_mmx: 32_check_mmx: 33; A 64 bit machine always has mmx and simd. 34 mov rax,3 35; but we do not want to use assembly routines 36 xor rax,rax 37 38 ret