已关闭
[Requirement|需求建议]: 编译器侧不兼容变更 SIMD_VF函数需补充static修饰符 #363
init__zhb__创建于 7月25日关闭于 29 天前
7月25日 添加了label:requirement
7月25日 将 init__zhb__ 设为负责人
7月25日 关联了pull request:针对VF函数补充`static`修饰
29 天前 issue状态由 进行中 改变为 已完成
29 天前 关闭了 issue
29 天前 添加了label:resolved
Thanks for sending an requirement! Please fill in the following template to help quickly solve your problem.
Backgroud / 背景信息 (Mandatory / 必填)
当前库上使用SIMD_VF 函数调用,其应用清晰有利于对 intrinsic 使用范围做合法性检测,存在一些使用限制,如返回值必须为
void,无法调用未标记为__simd_callee__的子函数,inline行为完全由编译器控制等。目前编译器方面为规范VF语法,ccec编译条件下,针对VF函数且为类成员函数时必须增加static修饰,当前库上一些VF函数需要予以修改,否则可能会有下面的报错:error: simd_vf function 'xxx' must be a free function or static member functionOrigin / 信息来源 (Mandatory / 必填)
团队自规划
Benefit and necessity / 价值及作用 (Optional / 选填)
编译器侧不兼容变更,规范VF函数语法
Design / 设计方案 (Optional / 选填)
针对VF函数增加
static修饰