Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: src/arm64/assembler-arm64.cc

Issue 1163803002: Cosmetic changes to tests to make it easier to concatenate them. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix snapshot-external.cc Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/arm/simulator-arm.cc ('k') | src/arm64/builtins-arm64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 the V8 project authors. All rights reserved.
2 // 2 //
3 // Redistribution and use in source and binary forms, with or without 3 // Redistribution and use in source and binary forms, with or without
4 // modification, are permitted provided that the following conditions are 4 // modification, are permitted provided that the following conditions are
5 // met: 5 // met:
6 // 6 //
7 // * Redistributions of source code must retain the above copyright 7 // * Redistributions of source code must retain the above copyright
8 // notice, this list of conditions and the following disclaimer. 8 // notice, this list of conditions and the following disclaimer.
9 // * Redistributions in binary form must reproduce the above 9 // * Redistributions in binary form must reproduce the above
10 // copyright notice, this list of conditions and the following 10 // copyright notice, this list of conditions and the following
(...skipping 3171 matching lines...) Expand 10 before | Expand all | Expand 10 after
3182 Register scratch = Register::XRegFromCode(scratch_code); 3182 Register scratch = Register::XRegFromCode(scratch_code);
3183 // Addresses are only 48 bits. 3183 // Addresses are only 48 bits.
3184 adr(rd, target_offset & 0xFFFF); 3184 adr(rd, target_offset & 0xFFFF);
3185 movz(scratch, (target_offset >> 16) & 0xFFFF, 16); 3185 movz(scratch, (target_offset >> 16) & 0xFFFF, 16);
3186 movk(scratch, (target_offset >> 32) & 0xFFFF, 32); 3186 movk(scratch, (target_offset >> 32) & 0xFFFF, 32);
3187 DCHECK((target_offset >> 48) == 0); 3187 DCHECK((target_offset >> 48) == 0);
3188 add(rd, rd, scratch); 3188 add(rd, rd, scratch);
3189 } 3189 }
3190 3190
3191 3191
3192 } } // namespace v8::internal 3192 } // namespace internal
3193 } // namespace v8
3193 3194
3194 #endif // V8_TARGET_ARCH_ARM64 3195 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/arm/simulator-arm.cc ('k') | src/arm64/builtins-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698