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

Side by Side Diff: src/arm/assembler-arm-inl.h

Issue 11191029: Use VLDR instead of VMOVs from GPR when a 64-bit double can't be encoded as a VMOV immediate. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 2 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 | Annotate | Revision Log
OLDNEW
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 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 Operand::Operand(const ExternalReference& f) { 282 Operand::Operand(const ExternalReference& f) {
283 rm_ = no_reg; 283 rm_ = no_reg;
284 imm32_ = reinterpret_cast<int32_t>(f.address()); 284 imm32_ = reinterpret_cast<int32_t>(f.address());
285 rmode_ = RelocInfo::EXTERNAL_REFERENCE; 285 rmode_ = RelocInfo::EXTERNAL_REFERENCE;
286 } 286 }
287 287
288 288
289 Operand::Operand(Smi* value) { 289 Operand::Operand(Smi* value) {
290 rm_ = no_reg; 290 rm_ = no_reg;
291 imm32_ = reinterpret_cast<intptr_t>(value); 291 imm32_ = reinterpret_cast<intptr_t>(value);
292 rmode_ = RelocInfo::NONE; 292 rmode_ = RelocInfo::NONE32;
293 } 293 }
294 294
295 295
296 Operand::Operand(Register rm) { 296 Operand::Operand(Register rm) {
297 rm_ = rm; 297 rm_ = rm;
298 rs_ = no_reg; 298 rs_ = no_reg;
299 shift_op_ = LSL; 299 shift_op_ = LSL;
300 shift_imm_ = 0; 300 shift_imm_ = 0;
301 } 301 }
302 302
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 // CPU::FlushICache(pc, sizeof(target)); 380 // CPU::FlushICache(pc, sizeof(target));
381 // However, on ARM, no instruction was actually patched by the assignment 381 // However, on ARM, no instruction was actually patched by the assignment
382 // above; the target address is not part of an instruction, it is patched in 382 // above; the target address is not part of an instruction, it is patched in
383 // the constant pool and is read via a data access; the instruction accessing 383 // the constant pool and is read via a data access; the instruction accessing
384 // this address in the constant pool remains unchanged. 384 // this address in the constant pool remains unchanged.
385 } 385 }
386 386
387 } } // namespace v8::internal 387 } } // namespace v8::internal
388 388
389 #endif // V8_ARM_ASSEMBLER_ARM_INL_H_ 389 #endif // V8_ARM_ASSEMBLER_ARM_INL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698