27
27
28
28
#include " v8.h"
29
29
30
- #if V8_TARGET_ARCH_A64
30
+ #if V8_TARGET_ARCH_ARM64
31
31
32
32
#include " bootstrapper.h"
33
33
#include " code-stubs.h"
@@ -1237,7 +1237,7 @@ void MathPowStub::Generate(MacroAssembler* masm) {
1237
1237
__ Fadd (base_double, base_double, fp_zero);
1238
1238
// The operation -0+0 results in +0 in all cases except where the
1239
1239
// FPCR rounding mode is 'round towards minus infinity' (RM). The
1240
- // A64 simulator does not currently simulate FPCR (where the rounding
1240
+ // ARM64 simulator does not currently simulate FPCR (where the rounding
1241
1241
// mode is set), so test the operation with some debug code.
1242
1242
if (masm->emit_debug_code ()) {
1243
1243
UseScratchRegisterScope temps (masm);
@@ -1259,7 +1259,7 @@ void MathPowStub::Generate(MacroAssembler* masm) {
1259
1259
1260
1260
// If base is -INFINITY, make it +INFINITY.
1261
1261
// * Calculate base - base: All infinities will become NaNs since both
1262
- // -INFINITY+INFINITY and +INFINITY-INFINITY are NaN in A64 .
1262
+ // -INFINITY+INFINITY and +INFINITY-INFINITY are NaN in ARM64 .
1263
1263
// * If the result is NaN, calculate abs(base).
1264
1264
__ Fsub (scratch0_double, base_double, base_double);
1265
1265
__ Fcmp (scratch0_double, 0.0 );
@@ -1399,7 +1399,7 @@ void CodeStub::GenerateStubsAheadOfTime(Isolate* isolate) {
1399
1399
1400
1400
1401
1401
void CodeStub::GenerateFPStubs (Isolate* isolate) {
1402
- // Floating-point code doesn't get special handling in A64 , so there's
1402
+ // Floating-point code doesn't get special handling in ARM64 , so there's
1403
1403
// nothing to do here.
1404
1404
USE (isolate);
1405
1405
}
@@ -4635,7 +4635,7 @@ void BinaryOpICWithAllocationSiteStub::Generate(MacroAssembler* masm) {
4635
4635
4636
4636
4637
4637
bool CodeStub::CanUseFPRegisters () {
4638
- // FP registers always available on A64 .
4638
+ // FP registers always available on ARM64 .
4639
4639
return true ;
4640
4640
}
4641
4641
@@ -4933,7 +4933,7 @@ void ProfileEntryHookStub::Generate(MacroAssembler* masm) {
4933
4933
// Compute the function's address as the first argument.
4934
4934
__ Sub (x0, lr, kReturnAddressDistanceFromFunctionStart );
4935
4935
4936
- #if V8_HOST_ARCH_A64
4936
+ #if V8_HOST_ARCH_ARM64
4937
4937
uintptr_t entry_hook =
4938
4938
reinterpret_cast <uintptr_t >(masm->isolate ()->function_entry_hook ());
4939
4939
__ Mov (x10, entry_hook);
@@ -5726,4 +5726,4 @@ void CallApiGetterStub::Generate(MacroAssembler* masm) {
5726
5726
5727
5727
} } // namespace v8::internal
5728
5728
5729
- #endif // V8_TARGET_ARCH_A64
5729
+ #endif // V8_TARGET_ARCH_ARM64
0 commit comments