LEFT | RIGHT |
(no file at all) | |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include <stdarg.h> | 5 #include <stdarg.h> |
6 #include <stdlib.h> | 6 #include <stdlib.h> |
7 #include <cmath> | 7 #include <cmath> |
8 | 8 |
9 #if V8_TARGET_ARCH_ARM | 9 #if V8_TARGET_ARCH_ARM |
10 | 10 |
(...skipping 5804 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5815 | 5815 |
5816 CallInternal(entry); | 5816 CallInternal(entry); |
5817 | 5817 |
5818 // Pop stack passed arguments. | 5818 // Pop stack passed arguments. |
5819 CHECK_EQ(entry_stack, get_register(sp)); | 5819 CHECK_EQ(entry_stack, get_register(sp)); |
5820 set_register(sp, original_stack); | 5820 set_register(sp, original_stack); |
5821 | 5821 |
5822 return get_register(r0); | 5822 return get_register(r0); |
5823 } | 5823 } |
5824 | 5824 |
5825 int32_t Simulator::CallFPImpl(byte* entry, double d0, double d1) { | 5825 intptr_t Simulator::CallFPImpl(byte* entry, double d0, double d1) { |
5826 if (use_eabi_hardfloat()) { | 5826 if (use_eabi_hardfloat()) { |
5827 set_d_register_from_double(0, d0); | 5827 set_d_register_from_double(0, d0); |
5828 set_d_register_from_double(1, d1); | 5828 set_d_register_from_double(1, d1); |
5829 } else { | 5829 } else { |
5830 set_register_pair_from_double(0, &d0); | 5830 set_register_pair_from_double(0, &d0); |
5831 set_register_pair_from_double(2, &d1); | 5831 set_register_pair_from_double(2, &d1); |
5832 } | 5832 } |
5833 CallInternal(entry); | 5833 CallInternal(entry); |
5834 return get_register(r0); | 5834 return get_register(r0); |
5835 } | 5835 } |
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6052 processor->prev_ = nullptr; | 6052 processor->prev_ = nullptr; |
6053 processor->next_ = nullptr; | 6053 processor->next_ = nullptr; |
6054 } | 6054 } |
6055 | 6055 |
6056 } // namespace internal | 6056 } // namespace internal |
6057 } // namespace v8 | 6057 } // namespace v8 |
6058 | 6058 |
6059 #endif // USE_SIMULATOR | 6059 #endif // USE_SIMULATOR |
6060 | 6060 |
6061 #endif // V8_TARGET_ARCH_ARM | 6061 #endif // V8_TARGET_ARCH_ARM |
LEFT | RIGHT |