OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 the V8 project authors. All rights reserved. |
2 // | 2 // |
3 // Redistribution and use in source and binary forms, with or without | 3 // Redistribution and use in source and binary forms, with or without |
4 // modification, are permitted provided that the following conditions are | 4 // modification, are permitted provided that the following conditions are |
5 // met: | 5 // met: |
6 // | 6 // |
7 // * Redistributions of source code must retain the above copyright | 7 // * Redistributions of source code must retain the above copyright |
8 // notice, this list of conditions and the following disclaimer. | 8 // notice, this list of conditions and the following disclaimer. |
9 // * Redistributions in binary form must reproduce the above | 9 // * Redistributions in binary form must reproduce the above |
10 // copyright notice, this list of conditions and the following | 10 // copyright notice, this list of conditions and the following |
(...skipping 1918 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1929 } | 1929 } |
1930 | 1930 |
1931 | 1931 |
1932 void Assembler::frintn(const FPRegister& fd, | 1932 void Assembler::frintn(const FPRegister& fd, |
1933 const FPRegister& fn) { | 1933 const FPRegister& fn) { |
1934 DCHECK(fd.SizeInBits() == fn.SizeInBits()); | 1934 DCHECK(fd.SizeInBits() == fn.SizeInBits()); |
1935 FPDataProcessing1Source(fd, fn, FRINTN); | 1935 FPDataProcessing1Source(fd, fn, FRINTN); |
1936 } | 1936 } |
1937 | 1937 |
1938 | 1938 |
| 1939 void Assembler::frintp(const FPRegister& fd, const FPRegister& fn) { |
| 1940 DCHECK(fd.SizeInBits() == fn.SizeInBits()); |
| 1941 FPDataProcessing1Source(fd, fn, FRINTP); |
| 1942 } |
| 1943 |
| 1944 |
1939 void Assembler::frintz(const FPRegister& fd, | 1945 void Assembler::frintz(const FPRegister& fd, |
1940 const FPRegister& fn) { | 1946 const FPRegister& fn) { |
1941 DCHECK(fd.SizeInBits() == fn.SizeInBits()); | 1947 DCHECK(fd.SizeInBits() == fn.SizeInBits()); |
1942 FPDataProcessing1Source(fd, fn, FRINTZ); | 1948 FPDataProcessing1Source(fd, fn, FRINTZ); |
1943 } | 1949 } |
1944 | 1950 |
1945 | 1951 |
1946 void Assembler::fcmp(const FPRegister& fn, | 1952 void Assembler::fcmp(const FPRegister& fn, |
1947 const FPRegister& fm) { | 1953 const FPRegister& fm) { |
1948 DCHECK(fn.SizeInBits() == fm.SizeInBits()); | 1954 DCHECK(fn.SizeInBits() == fm.SizeInBits()); |
(...skipping 1183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3132 movz(scratch, (target_offset >> 16) & 0xFFFF, 16); | 3138 movz(scratch, (target_offset >> 16) & 0xFFFF, 16); |
3133 movk(scratch, (target_offset >> 32) & 0xFFFF, 32); | 3139 movk(scratch, (target_offset >> 32) & 0xFFFF, 32); |
3134 DCHECK((target_offset >> 48) == 0); | 3140 DCHECK((target_offset >> 48) == 0); |
3135 add(rd, rd, scratch); | 3141 add(rd, rd, scratch); |
3136 } | 3142 } |
3137 | 3143 |
3138 | 3144 |
3139 } } // namespace v8::internal | 3145 } } // namespace v8::internal |
3140 | 3146 |
3141 #endif // V8_TARGET_ARCH_ARM64 | 3147 #endif // V8_TARGET_ARCH_ARM64 |
OLD | NEW |