mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-21 21:29:41 +00:00
R600: Fix formatting of intrinsic definitions.
It makes more sense for the GCCBuiltin name to come immediately after the ID name. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211522 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
dd15ed8a83
commit
d88f5b71c7
@ -37,36 +37,28 @@ defm int_r600_read_tidig : R600ReadPreloadRegisterIntrinsic_xyz <
|
||||
} // End TargetPrefix = "r600"
|
||||
|
||||
let TargetPrefix = "AMDGPU" in {
|
||||
def int_AMDGPU_div_scale :
|
||||
def int_AMDGPU_div_scale : GCCBuiltin<"__builtin_amdgpu_div_scale">,
|
||||
Intrinsic<[llvm_anyfloat_ty, llvm_i1_ty],
|
||||
[LLVMMatchType<0>, LLVMMatchType<0>], [IntrNoMem]>,
|
||||
GCCBuiltin<"__builtin_amdgpu_div_scale">;
|
||||
[LLVMMatchType<0>, LLVMMatchType<0>], [IntrNoMem]>;
|
||||
|
||||
def int_AMDGPU_div_fmas :
|
||||
def int_AMDGPU_div_fmas : GCCBuiltin<"__builtin_amdgpu_div_fmas">,
|
||||
Intrinsic<[llvm_anyfloat_ty],
|
||||
[LLVMMatchType<0>, LLVMMatchType<0>, LLVMMatchType<0>],
|
||||
[IntrNoMem]>,
|
||||
GCCBuiltin<"__builtin_amdgpu_div_fmas">;
|
||||
[IntrNoMem]>;
|
||||
|
||||
def int_AMDGPU_div_fixup :
|
||||
def int_AMDGPU_div_fixup : GCCBuiltin<"__builtin_amdgpu_div_fixup">,
|
||||
Intrinsic<[llvm_anyfloat_ty],
|
||||
[LLVMMatchType<0>, LLVMMatchType<0>, LLVMMatchType<0>], [IntrNoMem]>,
|
||||
GCCBuiltin<"__builtin_amdgpu_div_fixup">;
|
||||
[LLVMMatchType<0>, LLVMMatchType<0>, LLVMMatchType<0>],
|
||||
[IntrNoMem]>;
|
||||
|
||||
def int_AMDGPU_trig_preop :
|
||||
Intrinsic<[llvm_anyfloat_ty],
|
||||
[LLVMMatchType<0>, llvm_i32_ty], [IntrNoMem]>,
|
||||
GCCBuiltin<"__builtin_amdgpu_trig_preop">;
|
||||
def int_AMDGPU_trig_preop : GCCBuiltin<"__builtin_amdgpu_trig_preop">,
|
||||
Intrinsic<[llvm_anyfloat_ty], [LLVMMatchType<0>, llvm_i32_ty],
|
||||
[IntrNoMem]>;
|
||||
|
||||
def int_AMDGPU_rcp :
|
||||
Intrinsic<[llvm_anyfloat_ty],
|
||||
[LLVMMatchType<0>], [IntrNoMem]>,
|
||||
GCCBuiltin<"__builtin_amdgpu_rcp">;
|
||||
|
||||
def int_AMDGPU_rsq :
|
||||
Intrinsic<[llvm_anyfloat_ty],
|
||||
[LLVMMatchType<0>], [IntrNoMem]>,
|
||||
GCCBuiltin<"__builtin_amdgpu_rsq">;
|
||||
def int_AMDGPU_rcp : GCCBuiltin<"__builtin_amdgpu_rcp">,
|
||||
Intrinsic<[llvm_anyfloat_ty], [LLVMMatchType<0>], [IntrNoMem]>;
|
||||
|
||||
def int_AMDGPU_rsq : GCCBuiltin<"__builtin_amdgpu_rsq">,
|
||||
Intrinsic<[llvm_anyfloat_ty], [LLVMMatchType<0>], [IntrNoMem]>;
|
||||
|
||||
} // End TargetPrefix = "AMDGPU"
|
||||
|
Loading…
x
Reference in New Issue
Block a user