| OLD | NEW |
| 1 #!/usr/bin/env perl | 1 #!/usr/bin/env perl |
| 2 ## | 2 ## |
| 3 ## Copyright (c) 2010 The WebM project authors. All Rights Reserved. | 3 ## Copyright (c) 2010 The WebM project authors. All Rights Reserved. |
| 4 ## | 4 ## |
| 5 ## Use of this source code is governed by a BSD-style license | 5 ## Use of this source code is governed by a BSD-style license |
| 6 ## that can be found in the LICENSE file in the root of the source | 6 ## that can be found in the LICENSE file in the root of the source |
| 7 ## tree. An additional intellectual property rights grant can be found | 7 ## tree. An additional intellectual property rights grant can be found |
| 8 ## in the file PATENTS. All contributing project authors may | 8 ## in the file PATENTS. All contributing project authors may |
| 9 ## be found in the AUTHORS file in the root of the source tree. | 9 ## be found in the AUTHORS file in the root of the source tree. |
| 10 ## | 10 ## |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 $string =~ s/\s+$//; | 39 $string =~ s/\s+$//; |
| 40 return $string; | 40 return $string; |
| 41 } | 41 } |
| 42 | 42 |
| 43 while (<STDIN>) | 43 while (<STDIN>) |
| 44 { | 44 { |
| 45 # Load and store alignment | 45 # Load and store alignment |
| 46 s/@/,:/g; | 46 s/@/,:/g; |
| 47 | 47 |
| 48 # Comment character | 48 # Comment character |
| 49 s/;/@/g; | 49 s/;/ @/g; |
| 50 | 50 |
| 51 # Hexadecimal constants prefaced by 0x | 51 # Hexadecimal constants prefaced by 0x |
| 52 s/#&/#0x/g; | 52 s/#&/#0x/g; |
| 53 | 53 |
| 54 # Convert :OR: to | | 54 # Convert :OR: to | |
| 55 s/:OR:/ | /g; | 55 s/:OR:/ | /g; |
| 56 | 56 |
| 57 # Convert :AND: to & | 57 # Convert :AND: to & |
| 58 s/:AND:/ & /g; | 58 s/:AND:/ & /g; |
| 59 | 59 |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 212 | 212 |
| 213 s/qsubaddx/qsax/i; | 213 s/qsubaddx/qsax/i; |
| 214 s/qaddsubx/qasx/i; | 214 s/qaddsubx/qasx/i; |
| 215 s/ldrneb/ldrbne/i; | 215 s/ldrneb/ldrbne/i; |
| 216 s/ldrneh/ldrhne/i; | 216 s/ldrneh/ldrhne/i; |
| 217 s/(vqshrun\.s16 .*, \#)0$/${1}8/i; | 217 s/(vqshrun\.s16 .*, \#)0$/${1}8/i; |
| 218 s/\.include/#include/; | 218 s/\.include/#include/; |
| 219 | 219 |
| 220 print; | 220 print; |
| 221 } | 221 } |
| OLD | NEW |