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

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

Issue 148263012: A64: Rejig truncating and non double to i/smi (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 years, 10 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/a64/lithium-codegen-a64.cc ('k') | src/a64/macro-assembler-a64.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 // 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 771 matching lines...) Expand 10 before | Expand all | Expand 10 after
782 Register heap_number_map, 782 Register heap_number_map,
783 Label* on_heap_number, 783 Label* on_heap_number,
784 Label* on_not_heap_number = NULL); 784 Label* on_not_heap_number = NULL);
785 void JumpIfHeapNumber(Register object, 785 void JumpIfHeapNumber(Register object,
786 Label* on_heap_number, 786 Label* on_heap_number,
787 Register heap_number_map = NoReg); 787 Register heap_number_map = NoReg);
788 void JumpIfNotHeapNumber(Register object, 788 void JumpIfNotHeapNumber(Register object,
789 Label* on_not_heap_number, 789 Label* on_not_heap_number,
790 Register heap_number_map = NoReg); 790 Register heap_number_map = NoReg);
791 791
792 // Jump to label if the input double register contains -0.0.
793 void JumpIfMinusZero(DoubleRegister input, Label* on_negative_zero);
794
792 // Saturate a signed 32-bit integer in input to an unsigned 8-bit integer in 795 // Saturate a signed 32-bit integer in input to an unsigned 8-bit integer in
793 // output. 796 // output.
794 void ClampInt32ToUint8(Register in_out); 797 void ClampInt32ToUint8(Register in_out);
795 void ClampInt32ToUint8(Register output, Register input); 798 void ClampInt32ToUint8(Register output, Register input);
796 799
797 // Saturate a double in input to an unsigned 8-bit integer in output. 800 // Saturate a double in input to an unsigned 8-bit integer in output.
798 void ClampDoubleToUint8(Register output, 801 void ClampDoubleToUint8(Register output,
799 DoubleRegister input, 802 DoubleRegister input,
800 DoubleRegister dbl_scratch); 803 DoubleRegister dbl_scratch);
801 804
(...skipping 1314 matching lines...) Expand 10 before | Expand all | Expand 10 after
2116 #error "Unsupported option" 2119 #error "Unsupported option"
2117 #define CODE_COVERAGE_STRINGIFY(x) #x 2120 #define CODE_COVERAGE_STRINGIFY(x) #x
2118 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) 2121 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x)
2119 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 2122 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
2120 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 2123 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
2121 #else 2124 #else
2122 #define ACCESS_MASM(masm) masm-> 2125 #define ACCESS_MASM(masm) masm->
2123 #endif 2126 #endif
2124 2127
2125 #endif // V8_A64_MACRO_ASSEMBLER_A64_H_ 2128 #endif // V8_A64_MACRO_ASSEMBLER_A64_H_
OLDNEW
« no previous file with comments | « src/a64/lithium-codegen-a64.cc ('k') | src/a64/macro-assembler-a64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698