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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 ; via register, assume that the high dword of that register is filled with 0. | 71 ; via register, assume that the high dword of that register is filled with 0. |
72 ; This is true in practice (since we never do any 64bit arithmetic on strides, | 72 ; This is true in practice (since we never do any 64bit arithmetic on strides, |
73 ; and x264's strides are all positive), but is not guaranteed by the ABI. | 73 ; and x264's strides are all positive), but is not guaranteed by the ABI. |
74 | 74 |
75 ; Name of the .rodata section. | 75 ; Name of the .rodata section. |
76 ; Kludge: Something on OS X fails to align .rodata even given an align attribute
, | 76 ; Kludge: Something on OS X fails to align .rodata even given an align attribute
, |
77 ; so use a different read-only section. | 77 ; so use a different read-only section. |
78 %macro SECTION_RODATA 0-1 16 | 78 %macro SECTION_RODATA 0-1 16 |
79 %ifidn __OUTPUT_FORMAT__,macho64 | 79 %ifidn __OUTPUT_FORMAT__,macho64 |
80 SECTION .text align=%1 | 80 SECTION .text align=%1 |
81 %elifidn __OUTPUT_FORMAT__,macho32 | |
82 SECTION .text align=%1 | |
83 fakegot: | |
84 %elifidn __OUTPUT_FORMAT__,macho | 81 %elifidn __OUTPUT_FORMAT__,macho |
85 SECTION .text align=%1 | 82 SECTION .text align=%1 |
86 fakegot: | 83 fakegot: |
87 %elifidn __OUTPUT_FORMAT__,aout | 84 %elifidn __OUTPUT_FORMAT__,aout |
88 section .text | 85 section .text |
89 %else | 86 %else |
90 SECTION .rodata align=%1 | 87 SECTION .rodata align=%1 |
91 %endif | 88 %endif |
92 %endmacro | 89 %endmacro |
93 | 90 |
(...skipping 1128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1222 %else | 1219 %else |
1223 %6 %1, %2, %3 | 1220 %6 %1, %2, %3 |
1224 %7 %1, %4 | 1221 %7 %1, %4 |
1225 %endif | 1222 %endif |
1226 %endmacro | 1223 %endmacro |
1227 %endmacro | 1224 %endmacro |
1228 | 1225 |
1229 FMA_INSTR pmacsdd, pmulld, paddd | 1226 FMA_INSTR pmacsdd, pmulld, paddd |
1230 FMA_INSTR pmacsww, pmullw, paddw | 1227 FMA_INSTR pmacsww, pmullw, paddw |
1231 FMA_INSTR pmadcswd, pmaddwd, paddd | 1228 FMA_INSTR pmadcswd, pmaddwd, paddd |
OLD | NEW |