金陵十三钗是什么意思| 口腔上火是什么原因| 佛牌是什么| 大姨妈发黑是什么原因| 尽虚空遍法界什么意思| 8023是什么意思啊| 散人是什么意思| 优生优育是什么意思| 过期葡萄酒有什么用途| 妈妈的爷爷叫什么| 太多的理由太多的借口是什么歌| 奶头痛是什么原因| 舌苔白厚吃什么药见效快| 什么脸型最好看| 为什么怀孕这么难| 什么服务| 1980属什么生肖| 橙子什么季节成熟| 上眼皮有痣代表什么| 打喷嚏是什么原因| 上海属于什么方向| 今天股市为什么大跌| 死海是什么| 洋葱和什么不能一起吃| 大便溏薄是什么意思| 吃脆骨有什么好处| 裸婚什么意思| 狗不能吃什么食物| 关节炎用什么药最好| 猪肝炒什么| 争先恐后是什么生肖| 阻生齿是什么意思| 吃党参有什么好处| 穿山甲是什么动物| 来月经胸胀痛什么原因| 皮肤晒伤用什么药| 排骨炖什么比较好吃| 黑茶是什么茶| 夏季吃什么水果好| 激素高是什么原因| vivian是什么意思| 沙蚕是什么动物| 乙醇和酒精有什么区别| 婴儿采足底血是查什么| 刍狗是什么意思| 氯化钾是什么东西| 什么是痤疮图片| emmm什么意思| 脸色发黑发暗是什么原因| 李子树苗什么品种好| 杯弓蛇影是什么物理现象| ict是什么意思| 女人吃生蚝有什么好处| 新陈代谢是什么| 曲马多是什么| 梅毒螺旋体抗体阳性是什么意思| 香蕉不能和什么同吃| 尿隐血十1是什么意思| 阴道流黄水是什么原因| 小腹变大是什么原因| 夏季热是什么病| 什么叫化学| 酸笋炒什么好吃| 西兰花炒什么好吃| 出单是什么意思| 白天不懂夜的黑什么意思| nad是什么| 比卡丘什么意思| 康斯坦丁是什么意思| 人死后会变成什么| 25年是什么婚| 长脸适合什么耳环| 鸡内金有什么功效| 经常反义词是什么| 什么运动可以长高| 泰坦尼克号什么时候上映的| 风花雪月是什么意思| 杨梅泡酒有什么功效| 火山飘雪是什么菜| 什么的大叫| 不速之客的速是什么意思| 乙肝五项145阳性是什么意思| 十一月一日是什么星座| 体检胸片是检查什么的| 大血小板比率偏高是什么原因| 减肥期间吃什么主食| 什么时候开始暑伏| 蒙脱石散不能和什么药一起吃| 鹅蛋孕妇吃有什么好处| 陈赫开的火锅店叫什么| 懒觉什么意思| 糖尿病吃什么水果比较好| 无头鱼是什么鱼| 取环后月经量少是什么原因| 为什么会得纤维瘤| 树叶像什么比喻句| 暗喻是什么意思| 决明子是什么东西| 10.28什么星座| 睾丸痛吃什么药| 授受不亲什么意思| 农历七月初七俗称什么| 吃饭时头晕是什么原因| 今年28岁属什么生肖| 十一朵玫瑰花代表什么意思| 朋友开业送什么礼物好| 晒背什么时候最佳时间| kim是什么意思| 白内障是什么| 最好的补钙方法是什么| 甲亢查什么| 早孕反应最早什么时候出现| 一个丝一个鸟读什么| kys什么意思| 什么是通勤| 玉五行属什么| 冷敷眼睛有什么好处| 孩子过敏性咳嗽吃什么药好| 中耳炎是什么症状| 手书是什么意思| 尿胆红素高是什么原因| 伽是什么意思| nc是什么意思| 来姨妈可以吃什么水果| 连什么带什么| 兴旺的反义词是什么| 什么| 什么鱼刺少| 常务副县长什么级别| 脚踩棉花感见于什么病| 生理期吃什么好| wz是什么意思| 鳝鱼吃什么食物| 皮肤痒是什么病的前兆| 什么是纤维| 荆芥的别名叫什么| 小孩晚上睡觉磨牙是什么原因| 姨妈来了吃什么水果好| 落红的血是什么样子的| pnh是什么病的简称| chase是什么意思| 大公无私是什么意思| 书房字画写什么内容好| 4个火念什么| 创伤是什么意思| 388是什么意思| 温开水冲服是什么意思| 黑鱼是什么鱼| 脖子痛挂什么科| AC是胎儿的什么意思| 大便呈绿色是什么原因| 帅t是什么意思| 吃什么对肝有好处| 腹胀是什么感觉| 小腿细是什么原因| 尿检查什么| 大爱是什么意思| 达泊西汀是什么药| 工作室是干什么的| 朱砂痣是什么意思| 睡不醒是什么原因| 为什么蛋皮会痒| 什么叫做亚健康| 包皮与包茎有什么区别| 皮蛋吃多了有什么危害| 什么是特应性皮炎| 血管细是什么原因| 怀孕16周要做什么检查| 为什么不要看电焊火花| 常吃南瓜子有什么好处和坏处| 肺部斑片状高密度影是什么意思| 梦到伟人有什么兆头| 康乃馨的花语是什么| 卵圆孔未闭挂什么科| 58年属狗是什么命| 电波系是什么意思| 菀字五行属什么| 加仓是什么意思| 爸爸的妈妈叫什么| 1月15日什么星座| 审计署是什么级别| 火疖子是什么| 摩羯座是什么星象| k代表什么| 前列腺增生吃什么药| 座山雕什么意思| 女单读什么| 吃什么可以增强记忆力| 羊奶不能和什么一起吃| 多巴胺是什么药| 嘴唇发紫是什么原因| 尿道炎吃什么药好| 双肾盂是什么意思| 3ph是什么意思| 身份证号后四位代表什么| 10点是什么时辰| 1014是什么星座| 马来玉是什么玉| 医院测视力挂什么科| tag什么意思| 北极为什么没有企鹅| 百岁山和景田什么关系| 一个金字旁一个川读什么| 阴道炎要用什么药| 肝脓肿是什么病严重吗| 什么的足迹| 3.22什么星座| 病毒性咽喉炎吃什么药| npc是什么| 碳14和碳13有什么区别| 子叶是什么| 3月29号是什么星座| 儿童水痘吃什么药| 异位妊娠是什么意思| 圣诞节在什么时候| 老是头晕是什么原因| 解脲脲原体是什么病| 直肠炎吃什么药好的快| 国行是什么意思| 1898年属什么生肖| 多发性硬化是什么病| 梦到和死人说话是什么意思| 第六感是什么意思| 老是吐是什么原因| 牧师是什么意思| 痛风吃什么药好得快| px是什么意思| 1120是什么星座| 眼痒用什么眼药水| 热天不出汗是什么原因| 喜上眉梢是什么意思| 堂客是什么意思| 地包天是什么意思| 梦见家里死人了代表什么预兆| 毛主席女儿为什么姓李| 补肾虚吃什么药最好| 两面三刀是什么生肖| 巨蟹座喜欢什么星座| 什么马不能跑| 副产品是什么意思| 5月份是什么星座| 二尖瓣轻度反流是什么意思| 乌龟肺炎用什么药| bv是什么| 实时更新是什么意思| 胆囊炎有什么症状| 吃阿胶对女人有什么好处| 准奏是什么意思| 人中龙凤是什么意思| 冰箱底部漏水是什么原因| 巴沙鱼为什么不能吃| 72岁属什么| 头晕恶心呕吐是什么原因| 形容高兴的词语有什么| 心理卫生科看什么病的| 戒断是什么意思| ost是什么| 淋巴细胞降低说明什么| 鸿五行属什么| 脂蛋白a是什么| 中指麻木是什么原因引起的| 什么药可以降尿酸| ACEI是什么药| 庚子五行属什么| 百度Jump to content

def是什么意思

From Wikipedia, the free encyclopedia
百度 AnexhibitfocusingonChinasLunarExplorationProgram(CLEP)beganSaturdayintheSwisscityofBasel,highlightingsomeofthemagnificentachievementsofChina,whentheCLEPofficiallystarted,Chinahasmadesignificantprogressintheexplorationofthemoon,XuXingli,generalmanagerofChangeAerospaceTechnology(Beijing)LLC,saidattheopeningceremonyoftheexhibit."In2007,ChinasfirstlunarprobeChange-1isthefirstlunarprobetotransmitbackthemostcomplete3-Dmapofthelunarsurface,makingChinaoneofthecountriescapableofouterspaceexploration,"hesaid."SincethesecondphaseoftheCLEPwasapprovedandinitiatedin2008,Change-2andlunarprobesweresuccessfullylaunchedandcompletedtheirmissions,"sprogressinthepastdecadealsoincludessendingtheCE-2lunarprobedirectlyintotheEarth-moontransferorbitin2010,thesoftlandingandpatrolsurveyonanextraterrestrialcelestialbodybyCE-3in2013,andthesuccessfullandingofthereturnandre-entrytestspacecraftinthescheduledareain2014."CLEPe-4lunarmissionthisyear,andwillbethefirst-eversoftlandingandrovingsurveyonthefarsideofthemoon,"ZuoWei,deputychiefdesigneroftheCLEPGroundApplicationSystem,,thebiggestchallengefortheCE-4missionisg,shesaid,ChinaplanstolauncharelaysatelliteinMandwillbethefirstintheworldtousetheunmannedlunarorbitalrendezvousanddockingmodetoachievelunarsurfacesamplingreturn.

In computing, Streaming SIMD Extensions (SSE) is a single instruction, multiple data (SIMD) instruction set extension to the x86 architecture, designed by Intel and introduced in 1999 in its Pentium III series of central processing units (CPUs) shortly after the appearance of Advanced Micro Devices (AMD's) 3DNow!. SSE contains 70 new instructions (65 unique mnemonics[1] using 70 encodings), most of which work on single precision floating-point data. SIMD instructions can greatly increase performance when exactly the same operations are to be performed on multiple data objects. Typical applications are digital signal processing and graphics processing.

Intel's first IA-32 SIMD effort was the MMX instruction set. MMX had two main problems: it re-used existing x87 floating-point registers making the CPUs unable to work on both floating-point and SIMD data at the same time, and it only worked on integers. SSE floating-point instructions operate on a new independent register set, the XMM registers, and adds a few integer instructions that work on MMX registers.

SSE was subsequently expanded by Intel to SSE2, SSE3, SSSE3 and SSE4. Because it supports floating-point math, it had wider applications than MMX and became more popular. The addition of integer support in SSE2 made MMX largely redundant, though further performance increases can be attained in some situations[when?] by using MMX in parallel with SSE operations.

SSE was originally called Katmai New Instructions (KNI), Katmai being the code name for the first Pentium III core revision. During the Katmai project Intel sought to distinguish it from its earlier product line, particularly its flagship Pentium II. It was later renamed Internet Streaming SIMD Extensions (ISSE[2]), then SSE.

AMD added a subset of SSE, 19 of them, called new MMX instructions,[3] and known as several variants and combinations of SSE and MMX, shortly after with the release of the original Athlon in August 1999, see 3DNow! extensions. AMD eventually added full support for SSE instructions, starting with its Athlon XP and Duron (Morgan core) processors.

Registers

[edit]

SSE originally added eight new 128-bit registers known as XMM0 through XMM7. The AMD64 extensions from AMD added a further eight registers XMM8 through XMM15, and this extension is duplicated in the Intel 64 architecture. There is also a new 32-bit control/status register, MXCSR. The registers XMM8 through XMM15 are accessible only in 64-bit operating mode.

SSE used only a single data type for XMM registers:

SSE2 would later expand the usage of the XMM registers to include:

  • two 64-bit double-precision floating-point numbers or
  • two 64-bit integers or
  • four 32-bit integers or
  • eight 16-bit short integers or
  • sixteen 8-bit bytes or characters.

Because these 128-bit registers are additional machine states that the operating system must preserve across task switches, they are disabled by default until the operating system explicitly enables them. This means that the OS must know how to use the FXSAVE and FXRSTOR instructions, which is the extended pair of instructions that can save all x86 and SSE register states at once. This support was quickly added to all major IA-32 operating systems.

The first CPU to support SSE, the Pentium III, shared execution resources between SSE and the floating-point unit (FPU).[2] While a compiled application can interleave FPU and SSE instructions side-by-side, the Pentium III will not issue an FPU and an SSE instruction in the same clock cycle. This limitation reduces the effectiveness of pipelining, but the separate XMM registers do allow SIMD and scalar floating-point operations to be mixed without the performance hit from explicit MMX/floating-point mode switching.

SSE instructions

[edit]

SSE introduced both scalar and packed floating-point instructions.

Floating-point instructions

[edit]

Floating operations are IEEE 754-1985 compliant, with the exception of RSQRTSS, which is not specified in the standard.

  • Memory-to-register/register-to-memory/register-to-register data movement
    • Scalar – MOVSS
    • Packed – MOVAPS, MOVUPS, MOVLPS, MOVHPS, MOVLHPS, MOVHLPS, MOVMSKPS
  • Arithmetic
    • Scalar – ADDSS, SUBSS, MULSS, DIVSS, RCPSS, SQRTSS, MAXSS, MINSS, RSQRTSS
    • Packed – ADDPS, SUBPS, MULPS, DIVPS, RCPPS, SQRTPS, MAXPS, MINPS, RSQRTPS
  • Compare
    • Scalar – CMPSS, COMISS, UCOMISS
    • Packed – CMPPS
  • Data shuffle and unpacking
    • Packed – SHUFPS, UNPCKHPS, UNPCKLPS
  • Data-type conversion
    • Scalar – CVTSI2SS, CVTSS2SI, CVTTSS2SI
    • Packed – CVTPI2PS, CVTPS2PI, CVTTPS2PI
  • Bitwise logical operations
    • Packed – ANDPS, ORPS, XORPS, ANDNPS

Integer instructions

[edit]
  • Arithmetic
    • PMULHUW, PSADBW, PAVGB, PAVGW, PMAXUB, PMINUB, PMAXSW, PMINSW
  • Data movement
    • PEXTRW, PINSRW
  • Other
    • PMOVMSKB, PSHUFW

Other instructions

[edit]
  • MXCSR management
    • LDMXCSR, STMXCSR
  • Cache and Memory management
    • MOVNTQ, MOVNTPS, MASKMOVQ, PREFETCH0, PREFETCH1, PREFETCH2, PREFETCHNTA, SFENCE

Example

[edit]

The following simple example demonstrates the advantage of using SSE. Consider an operation like vector addition, which is used very often in computer graphics applications. To add two single precision, four-component vectors together using x86 requires four floating-point addition instructions.

 vec_res.x = v1.x + v2.x;
 vec_res.y = v1.y + v2.y;
 vec_res.z = v1.z + v2.z;
 vec_res.w = v1.w + v2.w;

This corresponds to four x86 FADD instructions in the object code. On the other hand, as the following pseudo-code shows, a single 128-bit 'packed-add' instruction can replace the four scalar addition instructions.

 movaps xmm0, [v1] ;xmm0 = v1.w | v1.z | v1.y | v1.x 
 addps xmm0, [v2]  ;xmm0 = v1.w+v2.w | v1.z+v2.z | v1.y+v2.y | v1.x+v2.x
 movaps [vec_res], xmm0  ;xmm0

Later versions

[edit]
  • SSE2, Willamette New Instructions (WNI), introduced with the Pentium 4, is a major enhancement to SSE. SSE2 adds two major features: double-precision (64-bit) floating-point for all SSE operations, and MMX integer operations on 128-bit XMM registers. In the original SSE instruction set, conversion to and from integers placed the integer data in the 64-bit MMX registers. SSE2 enables the programmer to perform SIMD math on any data type (from 8-bit integer to 64-bit float) entirely with the XMM vector-register file, without the need to use the legacy MMX or FPU registers. It offers an orthogonal set of instructions for dealing with common data types.
  • SSE3, also called Prescott New Instructions (PNI), is an incremental upgrade to SSE2, adding a handful of DSP-oriented mathematics instructions and some process (thread) management instructions. It also allowed addition or multiplication of two numbers that are stored in the same register, which wasn't possible in SSE2 and earlier. This capability, known as horizontal in Intel terminology, was the major addition to the SSE3 instruction set. AMD's 3DNow! extension could do the latter too.
  • SSSE3, Merom New Instructions (MNI), is an upgrade to SSE3, adding 16 new instructions which include permuting the bytes in a word, multiplying 16-bit fixed-point numbers with correct rounding, and within-word accumulate instructions. SSSE3 is often mistaken for SSE4 as this term was used during the development of the Core microarchitecture.
  • SSE4, Penryn New Instructions (PNI), is another major enhancement, adding a dot product instruction, additional integer instructions, a popcnt instruction (Population count: count number of bits set to 1, used extensively e.g. in cryptography), and more.
  • XOP, FMA4 and CVT16 are new iterations announced by AMD in August 2007[4][5] and revised in May 2009.[6]
  • Advanced Vector Extensions (AVX), Gesher New Instructions (GNI), is an advanced version of SSE announced by Intel featuring a widened data path from 128 bits to 256 bits and 3-operand instructions (up from 2). Intel released processors in early 2011 with AVX support.[7]
  • AVX2 is an expansion of the AVX instruction set.
  • AVX-512 (3.1 and 3.2) are 512-bit extensions to the 256-bit Advanced Vector Extensions SIMD instructions for x86 instruction set architecture.

Identifying

[edit]

The following programs can be used to determine which, if any, versions of SSE are supported on a system

  • Intel Processor Identification Utility[8]
  • CPU-Z – CPU, motherboard, and memory identification utility.
  • lscpu - provided by the util-linux package in most Linux distributions.

See also

[edit]

References

[edit]
  1. ^ "Intel? 64 and IA-32 Architectures Software Developer's Manual Volume 1: Basic Architecture". Intel. April 2022. pp. 5-16–5-19. Archived from the original on April 25, 2022. Retrieved May 16, 2022.
  2. ^ a b Diefendorff, Keith (March 8, 1999). "Pentium III = Pentium II + SSE: Internet SSE Architecture Boosts Multimedia Performance" (PDF). Microprocessor Report. 13 (3). Archived (PDF) from the original on April 17, 2018. Retrieved September 1, 2017.
  3. ^ "AMD Extensions to the 3DNow and MMX Instruction Sets Manual" (PDF). Advanced Micro Devices, Inc. March 2000. Archived from the original (PDF) on May 17, 2008. Retrieved April 18, 2024.
  4. ^ Vance, Ashlee (August 3, 2007). "AMD plots single thread boost with x86 extensions". The Register. Archived from the original on April 27, 2011. Retrieved August 24, 2017.
  5. ^ "AMD64 Technology: 128-Bit SSE5 Instruction Set" (PDF). AMD. August 2007. Archived (PDF) from the original on August 25, 2017. Retrieved August 24, 2017.
  6. ^ "AMD64 Technology AMD64 Architecture Programmer's Manual Volume 6: 128-Bit and 256-Bit XOP and FMA4 Instructions" (PDF). AMD. November 2009. Archived (PDF) from the original on January 31, 2017. Retrieved August 24, 2017.
  7. ^ Girkar, Milind (October 1, 2013). "Intel? Advanced Vector Extensions (Intel? AVX)". Intel. Archived from the original on August 25, 2017. Retrieved August 24, 2017.
  8. ^ "Download the Intel? Processor Identification Utility". Intel. July 24, 2017. Archived from the original on August 25, 2017. Retrieved August 24, 2017.
[edit]

千千阙歌是什么意思 人工周期是什么意思 马来西亚人为什么会说中文 pr间期缩短是什么意思 时蔬是什么菜
桃子跟什么不能一起吃 吃什么长头发 earth是什么意思 7月1号什么节 36计的第一计是什么
舟可是什么字 石斛主治什么 伤到骨头吃什么好得快 荨麻疹有什么忌口吗 女人乳房疼是什么原因
梦见车翻了是什么预兆 什么西瓜 发烧时不宜喝什么饮料 什么是行政处罚 梦见大蛇是什么意思
疱疹是一种什么病hcv8jop7ns9r.cn 狂犬病是什么hcv9jop7ns1r.cn 憋气是什么意思clwhiglsz.com 天是什么生肖bjcbxg.com 血糖低怎么办吃什么补wzqsfys.com
法院庭长是什么级别aiwuzhiyu.com 长期熬夜吃什么可以补回来hcv9jop0ns6r.cn 手痒脚痒是什么原因helloaicloud.com 心电图t波改变是什么意思hcv9jop4ns7r.cn 茜草别名又叫什么hcv8jop2ns8r.cn
阴影是什么意思jinxinzhichuang.com 牙齿痛吃什么药好hcv9jop6ns8r.cn 前列腺炎什么症状cl108k.com 例假少吃什么能让量多hcv9jop1ns1r.cn 胃胀气是什么原因xinmaowt.com
pt950是什么材质hcv7jop9ns3r.cn 圣女果是什么水果hcv9jop6ns2r.cn 高笋和茭白有什么区别hcv7jop4ns5r.cn 鬼剃头是因为什么原因引起的hcv9jop3ns2r.cn 执业药师什么时候考试hcv7jop7ns4r.cn
百度