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

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

Issue 13008018: ARM: Fix bugs in softfloat code path. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 9 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 942 matching lines...) Expand 10 before | Expand all | Expand 10 after
953 Register input_high, 953 Register input_high,
954 DwVfpRegister double_scratch, 954 DwVfpRegister double_scratch,
955 Label* done, 955 Label* done,
956 Label* exact); 956 Label* exact);
957 957
958 // Performs a truncating conversion of a heap floating point number as used by 958 // Performs a truncating conversion of a heap floating point number as used by
959 // the JS bitwise operations. See ECMA-262 9.5: ToInt32. 959 // the JS bitwise operations. See ECMA-262 9.5: ToInt32.
960 // Exits with 'result' holding the answer. 960 // Exits with 'result' holding the answer.
961 void ECMAConvertNumberToInt32(Register source, 961 void ECMAConvertNumberToInt32(Register source,
962 Register result, 962 Register result,
963 Register input_low,
964 Register input_high,
963 Register scratch, 965 Register scratch,
964 Register input_high,
965 Register input_low,
966 DwVfpRegister double_scratch1, 966 DwVfpRegister double_scratch1,
967 DwVfpRegister double_scratch2); 967 DwVfpRegister double_scratch2);
968 968
969 // Performs a truncating conversion of a floating point number as used by 969 // Performs a truncating conversion of a floating point number as used by
970 // the JS bitwise operations. See ECMA-262 9.5: ToInt32. 970 // the JS bitwise operations. See ECMA-262 9.5: ToInt32.
971 // Exits with 'result' holding the answer and all other registers clobbered. 971 // Exits with 'result' holding the answer and all other registers clobbered.
972 void ECMAToInt32VFP(Register result, 972 void ECMAToInt32VFP(Register result,
973 DwVfpRegister double_input, 973 DwVfpRegister double_input,
974 DwVfpRegister double_scratch, 974 DwVfpRegister double_scratch,
975 Register scratch, 975 Register scratch,
(...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after
1439 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1439 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1440 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1440 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1441 #else 1441 #else
1442 #define ACCESS_MASM(masm) masm-> 1442 #define ACCESS_MASM(masm) masm->
1443 #endif 1443 #endif
1444 1444
1445 1445
1446 } } // namespace v8::internal 1446 } } // namespace v8::internal
1447 1447
1448 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 1448 #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