英特尔AVX2组装开发 [英] Intel AVX2 Assembly Development

查看:73
本文介绍了英特尔AVX2组装开发的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用面向64位体系结构的英特尔程序集优化我的视频解码器.为了进行优化,请使用AVX2指令集.

I am Optimizing the my Video Decoder using Intel assembly for 64-bit architecture. For optimization am using AVX2 instruction set.

我的开发环境:-
操作系统:-Win 7(64位)
IDE:-MSVS 2008(专业版)
CPU:-酷睿i5(最多支持AVX)
汇编程序:-YASM

My development Environment:-
OS :- Win 7(64-bit)
IDE:- MSVS 2008(Prof)
CPU:- Core i5(support up to AVX)
Assembler:- YASM

我想知道是否有任何模拟器可以运行和调试我的AVX2代码,而无需升级硬件.
我主要是想运行&在现有环境中调试我的应用程序. 有什么建议吗?

I would like to know is there any emulators to run and debug my AVX2 code without upgrading the hardware.
Majorly am looking to run & debug my application on existing environment. Any suggestions?

推荐答案

您可以下载

You can download the Intel SDE (Software Development Emulator) for free and use that - it works pretty well. Native instructions run at full speed - only your AVX2 instructions will be emulated.

您还需要一个当然也支持AVX2的编译器(gcc,clang,Intel ICC或不支持最新的Visual Studio).

You'll need a compiler that supports AVX2 as well of course (gcc, clang, Intel ICC or failing that an up-to-date Visual Studio).

最后一句话:我强烈建议您使用内在函数而不是本机asm-这样可以为您节省大量时间和精力,它将更加可移植,并且如果您需要同时针对这两个目标,那么事情会变得更容易32位和64位平台.

One final word: I would strongly advise that you use intrinsics rather than native asm - it will save a you a lot of time and effort, it will be more portable, and it makes things easier if you need to target both 32 bit and 64 bit platforms.

这篇关于英特尔AVX2组装开发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆