OLD | NEW |
1 // Copyright (c) 1994-2006 Sun Microsystems Inc. | 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. |
2 // All Rights Reserved. | 2 // All Rights Reserved. |
3 // | 3 // |
4 // Redistribution and use in source and binary forms, with or without | 4 // Redistribution and use in source and binary forms, with or without |
5 // modification, are permitted provided that the following conditions | 5 // modification, are permitted provided that the following conditions |
6 // are met: | 6 // are met: |
7 // | 7 // |
8 // - Redistributions of source code must retain the above copyright notice, | 8 // - Redistributions of source code must retain the above copyright notice, |
9 // this list of conditions and the following disclaimer. | 9 // this list of conditions and the following disclaimer. |
10 // | 10 // |
(...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
461 SetAlignment(align); | 461 SetAlignment(align); |
462 } | 462 } |
463 | 463 |
464 | 464 |
465 NeonMemOperand::NeonMemOperand(Register rn, Register rm, int align) { | 465 NeonMemOperand::NeonMemOperand(Register rn, Register rm, int align) { |
466 rn_ = rn; | 466 rn_ = rn; |
467 rm_ = rm; | 467 rm_ = rm; |
468 SetAlignment(align); | 468 SetAlignment(align); |
469 } | 469 } |
470 | 470 |
471 | |
472 void NeonMemOperand::SetAlignment(int align) { | 471 void NeonMemOperand::SetAlignment(int align) { |
473 switch (align) { | 472 switch (align) { |
474 case 0: | 473 case 0: |
475 align_ = 0; | 474 align_ = 0; |
476 break; | 475 break; |
477 case 64: | 476 case 64: |
478 align_ = 1; | 477 align_ = 1; |
479 break; | 478 break; |
480 case 128: | 479 case 128: |
481 align_ = 2; | 480 align_ = 2; |
(...skipping 4891 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5373 } | 5372 } |
5374 | 5373 |
5375 void PatchingAssembler::FlushICache(Isolate* isolate) { | 5374 void PatchingAssembler::FlushICache(Isolate* isolate) { |
5376 Assembler::FlushICache(isolate, buffer_, buffer_size_ - kGap); | 5375 Assembler::FlushICache(isolate, buffer_, buffer_size_ - kGap); |
5377 } | 5376 } |
5378 | 5377 |
5379 } // namespace internal | 5378 } // namespace internal |
5380 } // namespace v8 | 5379 } // namespace v8 |
5381 | 5380 |
5382 #endif // V8_TARGET_ARCH_ARM | 5381 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |