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

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

Issue 1627263002: [turbofan] Add TruncateFloat32ToUint32 operator to Turbofan. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Andreas' comment Created 4 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
« no previous file with comments | « src/arm/assembler-arm.h ('k') | src/compiler/arm/code-generator-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 2911 matching lines...) Expand 10 before | Expand all | Expand 10 after
2922 emit(EncodeVCVT(F64, dst.code(), U32, src.code(), mode, cond)); 2922 emit(EncodeVCVT(F64, dst.code(), U32, src.code(), mode, cond));
2923 } 2923 }
2924 2924
2925 2925
2926 void Assembler::vcvt_s32_f32(const SwVfpRegister dst, const SwVfpRegister src, 2926 void Assembler::vcvt_s32_f32(const SwVfpRegister dst, const SwVfpRegister src,
2927 VFPConversionMode mode, const Condition cond) { 2927 VFPConversionMode mode, const Condition cond) {
2928 emit(EncodeVCVT(S32, dst.code(), F32, src.code(), mode, cond)); 2928 emit(EncodeVCVT(S32, dst.code(), F32, src.code(), mode, cond));
2929 } 2929 }
2930 2930
2931 2931
2932 void Assembler::vcvt_u32_f32(const SwVfpRegister dst, const SwVfpRegister src,
2933 VFPConversionMode mode, const Condition cond) {
2934 emit(EncodeVCVT(U32, dst.code(), F32, src.code(), mode, cond));
2935 }
2936
2937
2932 void Assembler::vcvt_s32_f64(const SwVfpRegister dst, 2938 void Assembler::vcvt_s32_f64(const SwVfpRegister dst,
2933 const DwVfpRegister src, 2939 const DwVfpRegister src,
2934 VFPConversionMode mode, 2940 VFPConversionMode mode,
2935 const Condition cond) { 2941 const Condition cond) {
2936 emit(EncodeVCVT(S32, dst.code(), F64, src.code(), mode, cond)); 2942 emit(EncodeVCVT(S32, dst.code(), F64, src.code(), mode, cond));
2937 } 2943 }
2938 2944
2939 2945
2940 void Assembler::vcvt_u32_f64(const SwVfpRegister dst, 2946 void Assembler::vcvt_u32_f64(const SwVfpRegister dst,
2941 const DwVfpRegister src, 2947 const DwVfpRegister src,
(...skipping 1169 matching lines...) Expand 10 before | Expand all | Expand 10 after
4111 DCHECK(is_uint12(offset)); 4117 DCHECK(is_uint12(offset));
4112 instr_at_put(pc, SetLdrRegisterImmediateOffset(instr, offset)); 4118 instr_at_put(pc, SetLdrRegisterImmediateOffset(instr, offset));
4113 } 4119 }
4114 } 4120 }
4115 4121
4116 4122
4117 } // namespace internal 4123 } // namespace internal
4118 } // namespace v8 4124 } // namespace v8
4119 4125
4120 #endif // V8_TARGET_ARCH_ARM 4126 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/arm/assembler-arm.h ('k') | src/compiler/arm/code-generator-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698