OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 755 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
766 // All registers are initialized to zero to start with | 766 // All registers are initialized to zero to start with |
767 // even though s_registers_ & d_registers_ share the same | 767 // even though s_registers_ & d_registers_ share the same |
768 // physical registers in the target. | 768 // physical registers in the target. |
769 for (int i = 0; i < num_d_registers * 2; i++) { | 769 for (int i = 0; i < num_d_registers * 2; i++) { |
770 vfp_registers_[i] = 0; | 770 vfp_registers_[i] = 0; |
771 } | 771 } |
772 n_flag_FPSCR_ = false; | 772 n_flag_FPSCR_ = false; |
773 z_flag_FPSCR_ = false; | 773 z_flag_FPSCR_ = false; |
774 c_flag_FPSCR_ = false; | 774 c_flag_FPSCR_ = false; |
775 v_flag_FPSCR_ = false; | 775 v_flag_FPSCR_ = false; |
776 FPSCR_rounding_mode_ = RZ; | 776 FPSCR_rounding_mode_ = RN; |
777 FPSCR_default_NaN_mode_ = true; | 777 FPSCR_default_NaN_mode_ = false; |
778 | 778 |
779 inv_op_vfp_flag_ = false; | 779 inv_op_vfp_flag_ = false; |
780 div_zero_vfp_flag_ = false; | 780 div_zero_vfp_flag_ = false; |
781 overflow_vfp_flag_ = false; | 781 overflow_vfp_flag_ = false; |
782 underflow_vfp_flag_ = false; | 782 underflow_vfp_flag_ = false; |
783 inexact_vfp_flag_ = false; | 783 inexact_vfp_flag_ = false; |
784 | 784 |
785 // The sp is initialized to point to the bottom (high address) of the | 785 // The sp is initialized to point to the bottom (high address) of the |
786 // allocated stack area. To be safe in potential stack underflows we leave | 786 // allocated stack area. To be safe in potential stack underflows we leave |
787 // some buffer below. | 787 // some buffer below. |
(...skipping 3064 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3852 uintptr_t address = *stack_slot; | 3852 uintptr_t address = *stack_slot; |
3853 set_register(sp, current_sp + sizeof(uintptr_t)); | 3853 set_register(sp, current_sp + sizeof(uintptr_t)); |
3854 return address; | 3854 return address; |
3855 } | 3855 } |
3856 | 3856 |
3857 } } // namespace v8::internal | 3857 } } // namespace v8::internal |
3858 | 3858 |
3859 #endif // USE_SIMULATOR | 3859 #endif // USE_SIMULATOR |
3860 | 3860 |
3861 #endif // V8_TARGET_ARCH_ARM | 3861 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |