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

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

Issue 1862993002: [arm] Implement Float(32|64)(Min|Max) using vsel. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « no previous file | src/arm/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 (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions 5 // modification, are permitted provided that the following conditions
6 // are met: 6 // are met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 1207 matching lines...) Expand 10 before | Expand all | Expand 10 after
1218 void vcmp(const DwVfpRegister src1, 1218 void vcmp(const DwVfpRegister src1,
1219 const DwVfpRegister src2, 1219 const DwVfpRegister src2,
1220 const Condition cond = al); 1220 const Condition cond = al);
1221 void vcmp(const SwVfpRegister src1, const SwVfpRegister src2, 1221 void vcmp(const SwVfpRegister src1, const SwVfpRegister src2,
1222 const Condition cond = al); 1222 const Condition cond = al);
1223 void vcmp(const DwVfpRegister src1, 1223 void vcmp(const DwVfpRegister src1,
1224 const double src2, 1224 const double src2,
1225 const Condition cond = al); 1225 const Condition cond = al);
1226 void vcmp(const SwVfpRegister src1, const float src2, 1226 void vcmp(const SwVfpRegister src1, const float src2,
1227 const Condition cond = al); 1227 const Condition cond = al);
1228
1229 // VSEL supports cond in {eq, ne, ge, lt, gt, le, vs, vc}.
1230 void vsel(const Condition cond,
1231 const DwVfpRegister dst,
1232 const DwVfpRegister src1,
1233 const DwVfpRegister src2);
1234 void vsel(const Condition cond,
1235 const SwVfpRegister dst,
1236 const SwVfpRegister src1,
1237 const SwVfpRegister src2);
1238
1228 void vsqrt(const DwVfpRegister dst, 1239 void vsqrt(const DwVfpRegister dst,
1229 const DwVfpRegister src, 1240 const DwVfpRegister src,
1230 const Condition cond = al); 1241 const Condition cond = al);
1231 void vsqrt(const SwVfpRegister dst, const SwVfpRegister src, 1242 void vsqrt(const SwVfpRegister dst, const SwVfpRegister src,
1232 const Condition cond = al); 1243 const Condition cond = al);
1233 1244
1234 // ARMv8 rounding instructions. 1245 // ARMv8 rounding instructions.
1235 void vrinta(const SwVfpRegister dst, const SwVfpRegister src); 1246 void vrinta(const SwVfpRegister dst, const SwVfpRegister src);
1236 void vrinta(const DwVfpRegister dst, const DwVfpRegister src); 1247 void vrinta(const DwVfpRegister dst, const DwVfpRegister src);
1237 void vrintn(const SwVfpRegister dst, const SwVfpRegister src); 1248 void vrintn(const SwVfpRegister dst, const SwVfpRegister src);
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after
1650 explicit EnsureSpace(Assembler* assembler) { 1661 explicit EnsureSpace(Assembler* assembler) {
1651 assembler->CheckBuffer(); 1662 assembler->CheckBuffer();
1652 } 1663 }
1653 }; 1664 };
1654 1665
1655 1666
1656 } // namespace internal 1667 } // namespace internal
1657 } // namespace v8 1668 } // namespace v8
1658 1669
1659 #endif // V8_ARM_ASSEMBLER_ARM_H_ 1670 #endif // V8_ARM_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/assembler-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698