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/arm/macro-assembler-arm.h

Issue 10990024: ARM: Small optimisation of VFP immediate creation (Closed) Base URL: http://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
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | src/arm/macro-assembler-arm.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 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 465 matching lines...) Expand 10 before | Expand all | Expand 10 after
476 const DwVfpRegister src2, 476 const DwVfpRegister src2,
477 const Register fpscr_flags, 477 const Register fpscr_flags,
478 const Condition cond = al); 478 const Condition cond = al);
479 void VFPCompareAndLoadFlags(const DwVfpRegister src1, 479 void VFPCompareAndLoadFlags(const DwVfpRegister src1,
480 const double src2, 480 const double src2,
481 const Register fpscr_flags, 481 const Register fpscr_flags,
482 const Condition cond = al); 482 const Condition cond = al);
483 483
484 void Vmov(const DwVfpRegister dst, 484 void Vmov(const DwVfpRegister dst,
485 const double imm, 485 const double imm,
486 const Register scratch = no_reg,
486 const Condition cond = al); 487 const Condition cond = al);
487 488
488 // Enter exit frame. 489 // Enter exit frame.
489 // stack_space - extra stack space, used for alignment before call to C. 490 // stack_space - extra stack space, used for alignment before call to C.
490 void EnterExitFrame(bool save_doubles, int stack_space = 0); 491 void EnterExitFrame(bool save_doubles, int stack_space = 0);
491 492
492 // Leave the current exit frame. Expects the return value in r0. 493 // Leave the current exit frame. Expects the return value in r0.
493 // Expect the number of values, pushed prior to the exit frame, to 494 // Expect the number of values, pushed prior to the exit frame, to
494 // remove in a register (or no_reg, if there is nothing to remove). 495 // remove in a register (or no_reg, if there is nothing to remove).
495 void LeaveExitFrame(bool save_doubles, Register argument_count); 496 void LeaveExitFrame(bool save_doubles, Register argument_count);
(...skipping 903 matching lines...) Expand 10 before | Expand all | Expand 10 after
1399 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1400 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1400 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1401 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1401 #else 1402 #else
1402 #define ACCESS_MASM(masm) masm-> 1403 #define ACCESS_MASM(masm) masm->
1403 #endif 1404 #endif
1404 1405
1405 1406
1406 } } // namespace v8::internal 1407 } } // namespace v8::internal
1407 1408
1408 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 1409 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | src/arm/macro-assembler-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698