| 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 14 matching lines...) Expand all Loading... |
| 25 // INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | 25 // INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES |
| 26 // (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR | 26 // (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
| 27 // SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | 27 // SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
| 28 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, | 28 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, |
| 29 // STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | 29 // STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
| 30 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | 30 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
| 31 // OF THE POSSIBILITY OF SUCH DAMAGE. | 31 // OF THE POSSIBILITY OF SUCH DAMAGE. |
| 32 | 32 |
| 33 // The original source code covered by the above license above has been | 33 // The original source code covered by the above license above has been |
| 34 // modified significantly by Google Inc. | 34 // modified significantly by Google Inc. |
| 35 // Copyright 2010 the V8 project authors. All rights reserved. | 35 // Copyright 2011 the V8 project authors. All rights reserved. |
| 36 | 36 |
| 37 // A light-weight ARM Assembler | 37 // A light-weight ARM Assembler |
| 38 // Generates user mode instructions for the ARM architecture up to version 5 | 38 // Generates user mode instructions for the ARM architecture up to version 5 |
| 39 | 39 |
| 40 #ifndef V8_ARM_ASSEMBLER_ARM_H_ | 40 #ifndef V8_ARM_ASSEMBLER_ARM_H_ |
| 41 #define V8_ARM_ASSEMBLER_ARM_H_ | 41 #define V8_ARM_ASSEMBLER_ARM_H_ |
| 42 #include <stdio.h> | 42 #include <stdio.h> |
| 43 #include "assembler.h" | 43 #include "assembler.h" |
| 44 #include "constants-arm.h" | 44 #include "constants-arm.h" |
| 45 #include "serialize.h" | 45 #include "serialize.h" |
| (...skipping 942 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 988 const Condition cond = al); | 988 const Condition cond = al); |
| 989 | 989 |
| 990 void vstr(const SwVfpRegister src, | 990 void vstr(const SwVfpRegister src, |
| 991 const Register base, | 991 const Register base, |
| 992 int offset, | 992 int offset, |
| 993 const Condition cond = al); | 993 const Condition cond = al); |
| 994 void vstr(const SwVfpRegister src, | 994 void vstr(const SwVfpRegister src, |
| 995 const MemOperand& dst, | 995 const MemOperand& dst, |
| 996 const Condition cond = al); | 996 const Condition cond = al); |
| 997 | 997 |
| 998 void vldm(BlockAddrMode am, |
| 999 Register base, |
| 1000 DwVfpRegister first, |
| 1001 DwVfpRegister last, |
| 1002 Condition cond = al); |
| 1003 |
| 1004 void vstm(BlockAddrMode am, |
| 1005 Register base, |
| 1006 DwVfpRegister first, |
| 1007 DwVfpRegister last, |
| 1008 Condition cond = al); |
| 1009 |
| 1010 void vldm(BlockAddrMode am, |
| 1011 Register base, |
| 1012 SwVfpRegister first, |
| 1013 SwVfpRegister last, |
| 1014 Condition cond = al); |
| 1015 |
| 1016 void vstm(BlockAddrMode am, |
| 1017 Register base, |
| 1018 SwVfpRegister first, |
| 1019 SwVfpRegister last, |
| 1020 Condition cond = al); |
| 1021 |
| 998 void vmov(const DwVfpRegister dst, | 1022 void vmov(const DwVfpRegister dst, |
| 999 double imm, | 1023 double imm, |
| 1000 const Condition cond = al); | 1024 const Condition cond = al); |
| 1001 void vmov(const SwVfpRegister dst, | 1025 void vmov(const SwVfpRegister dst, |
| 1002 const SwVfpRegister src, | 1026 const SwVfpRegister src, |
| 1003 const Condition cond = al); | 1027 const Condition cond = al); |
| 1004 void vmov(const DwVfpRegister dst, | 1028 void vmov(const DwVfpRegister dst, |
| 1005 const DwVfpRegister src, | 1029 const DwVfpRegister src, |
| 1006 const Condition cond = al); | 1030 const Condition cond = al); |
| 1007 void vmov(const DwVfpRegister dst, | 1031 void vmov(const DwVfpRegister dst, |
| (...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1349 public: | 1373 public: |
| 1350 explicit EnsureSpace(Assembler* assembler) { | 1374 explicit EnsureSpace(Assembler* assembler) { |
| 1351 assembler->CheckBuffer(); | 1375 assembler->CheckBuffer(); |
| 1352 } | 1376 } |
| 1353 }; | 1377 }; |
| 1354 | 1378 |
| 1355 | 1379 |
| 1356 } } // namespace v8::internal | 1380 } } // namespace v8::internal |
| 1357 | 1381 |
| 1358 #endif // V8_ARM_ASSEMBLER_ARM_H_ | 1382 #endif // V8_ARM_ASSEMBLER_ARM_H_ |
| OLD | NEW |