https://bugs.llvm.org/show_bug.cgi?id=39296
Bug ID: 39296
Summary: [AMDGPU][MC][GFX8+] Add a symbolic name for 1/2pi
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: Backend: AMDGPU
Assignee: unassignedb...@nondot.org
Reporter: dpreobrazhen...@luxoft.com
CC: llvm-bugs@lists.llvm.org
Currently 1/2pi may only be specified in a numeric form. This is inconvenient
and error-prone. Examples:
v_add_f16 v0, 0.15915494, v1
v_add_f64 v[0:1], v[2:3], 0.159154943091895317852646485335
Assembler should support special syntax or a symbolic name for this constant.
For example:
v_add_f16 v0, INV2PI, v1
v_add_f64 v[0:1], v[2:3], INV2PI
Any suggestions?
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs