OLD | NEW |
1 ;***************************************************************************** | 1 ;***************************************************************************** |
2 ;* x86inc.asm: x264asm abstraction layer | 2 ;* x86inc.asm: x264asm abstraction layer |
3 ;***************************************************************************** | 3 ;***************************************************************************** |
4 ;* Copyright (C) 2005-2012 x264 project | 4 ;* Copyright (C) 2005-2012 x264 project |
5 ;* | 5 ;* |
6 ;* Authors: Loren Merritt <lorenm@u.washington.edu> | 6 ;* Authors: Loren Merritt <lorenm@u.washington.edu> |
7 ;* Anton Mitrofanov <BugMaster@narod.ru> | 7 ;* Anton Mitrofanov <BugMaster@narod.ru> |
8 ;* Jason Garrett-Glaser <darkshikari@gmail.com> | 8 ;* Jason Garrett-Glaser <darkshikari@gmail.com> |
9 ;* Henrik Gramner <hengar-6@student.ltu.se> | 9 ;* Henrik Gramner <hengar-6@student.ltu.se> |
10 ;* | 10 ;* |
(...skipping 599 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
610 %endif | 610 %endif |
611 %xdefine current_function %1 | 611 %xdefine current_function %1 |
612 %ifdef CHROMIUM | 612 %ifdef CHROMIUM |
613 %ifidn __OUTPUT_FORMAT__,elf | 613 %ifidn __OUTPUT_FORMAT__,elf |
614 global %1:function hidden | 614 global %1:function hidden |
615 %elifidn __OUTPUT_FORMAT__,elf32 | 615 %elifidn __OUTPUT_FORMAT__,elf32 |
616 global %1:function hidden | 616 global %1:function hidden |
617 %elifidn __OUTPUT_FORMAT__,elf64 | 617 %elifidn __OUTPUT_FORMAT__,elf64 |
618 global %1:function hidden | 618 global %1:function hidden |
619 %elifidn __OUTPUT_FORMAT__,macho32 | 619 %elifidn __OUTPUT_FORMAT__,macho32 |
620 global %1:private_extern | 620 %ifdef __NASM_VER__ |
| 621 global %1 |
| 622 %else |
| 623 global %1:private_extern |
| 624 %endif |
621 %elifidn __OUTPUT_FORMAT__,macho64 | 625 %elifidn __OUTPUT_FORMAT__,macho64 |
622 global %1:private_extern | 626 %ifdef __NASM_VER__ |
| 627 global %1 |
| 628 %else |
| 629 global %1:private_extern |
| 630 %endif |
623 %else | 631 %else |
624 global %1 | 632 global %1 |
625 %endif | 633 %endif |
626 %else | 634 %else |
627 global %1 | 635 global %1 |
628 %endif | 636 %endif |
629 align function_align | 637 align function_align |
630 %1: | 638 %1: |
631 RESET_MM_PERMUTATION ; not really needed, but makes disassembly somewhat nic
er | 639 RESET_MM_PERMUTATION ; not really needed, but makes disassembly somewhat nic
er |
632 %assign stack_offset 0 | 640 %assign stack_offset 0 |
(...skipping 578 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1211 %else | 1219 %else |
1212 %6 %1, %2, %3 | 1220 %6 %1, %2, %3 |
1213 %7 %1, %4 | 1221 %7 %1, %4 |
1214 %endif | 1222 %endif |
1215 %endmacro | 1223 %endmacro |
1216 %endmacro | 1224 %endmacro |
1217 | 1225 |
1218 FMA_INSTR pmacsdd, pmulld, paddd | 1226 FMA_INSTR pmacsdd, pmulld, paddd |
1219 FMA_INSTR pmacsww, pmullw, paddw | 1227 FMA_INSTR pmacsww, pmullw, paddw |
1220 FMA_INSTR pmadcswd, pmaddwd, paddd | 1228 FMA_INSTR pmadcswd, pmaddwd, paddd |
OLD | NEW |