OLD | NEW |
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 924 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
935 | 935 |
936 // FCmp compares and pops the two values on top of the FPU stack. | 936 // FCmp compares and pops the two values on top of the FPU stack. |
937 // The flag results are similar to integer cmp, but requires unsigned | 937 // The flag results are similar to integer cmp, but requires unsigned |
938 // jcc instructions (je, ja, jae, jb, jbe, je, and jz). | 938 // jcc instructions (je, ja, jae, jb, jbe, je, and jz). |
939 void FCmp(); | 939 void FCmp(); |
940 | 940 |
941 void ClampUint8(Register reg); | 941 void ClampUint8(Register reg); |
942 | 942 |
943 void ClampDoubleToUint8(XMMRegister input_reg, | 943 void ClampDoubleToUint8(XMMRegister input_reg, |
944 XMMRegister temp_xmm_reg, | 944 XMMRegister temp_xmm_reg, |
945 Register result_reg, | 945 Register result_reg); |
946 Register temp_reg); | |
947 | 946 |
948 void LoadUint32(XMMRegister dst, Register src, XMMRegister scratch); | 947 void LoadUint32(XMMRegister dst, Register src, XMMRegister scratch); |
949 | 948 |
950 void LoadInstanceDescriptors(Register map, Register descriptors); | 949 void LoadInstanceDescriptors(Register map, Register descriptors); |
951 void EnumLength(Register dst, Register map); | 950 void EnumLength(Register dst, Register map); |
952 void NumberOfOwnDescriptors(Register dst, Register map); | 951 void NumberOfOwnDescriptors(Register dst, Register map); |
953 | 952 |
954 template<typename Field> | 953 template<typename Field> |
955 void DecodeField(Register reg) { | 954 void DecodeField(Register reg) { |
956 static const int shift = Field::kShift + kSmiShift; | 955 static const int shift = Field::kShift + kSmiShift; |
(...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1497 masm->popfd(); \ | 1496 masm->popfd(); \ |
1498 } \ | 1497 } \ |
1499 masm-> | 1498 masm-> |
1500 #else | 1499 #else |
1501 #define ACCESS_MASM(masm) masm-> | 1500 #define ACCESS_MASM(masm) masm-> |
1502 #endif | 1501 #endif |
1503 | 1502 |
1504 } } // namespace v8::internal | 1503 } } // namespace v8::internal |
1505 | 1504 |
1506 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 1505 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
OLD | NEW |