| 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: |
| 81 %elifidn __OUTPUT_FORMAT__,macho | 84 %elifidn __OUTPUT_FORMAT__,macho |
| 82 SECTION .text align=%1 | 85 SECTION .text align=%1 |
| 83 fakegot: | 86 fakegot: |
| 84 %elifidn __OUTPUT_FORMAT__,aout | 87 %elifidn __OUTPUT_FORMAT__,aout |
| 85 section .text | 88 section .text |
| 86 %else | 89 %else |
| 87 SECTION .rodata align=%1 | 90 SECTION .rodata align=%1 |
| 88 %endif | 91 %endif |
| 89 %endmacro | 92 %endmacro |
| 90 | 93 |
| (...skipping 1128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1219 %else | 1222 %else |
| 1220 %6 %1, %2, %3 | 1223 %6 %1, %2, %3 |
| 1221 %7 %1, %4 | 1224 %7 %1, %4 |
| 1222 %endif | 1225 %endif |
| 1223 %endmacro | 1226 %endmacro |
| 1224 %endmacro | 1227 %endmacro |
| 1225 | 1228 |
| 1226 FMA_INSTR pmacsdd, pmulld, paddd | 1229 FMA_INSTR pmacsdd, pmulld, paddd |
| 1227 FMA_INSTR pmacsww, pmullw, paddw | 1230 FMA_INSTR pmacsww, pmullw, paddw |
| 1228 FMA_INSTR pmadcswd, pmaddwd, paddd | 1231 FMA_INSTR pmadcswd, pmaddwd, paddd |
| OLD | NEW |