search for: f16

Displaying 20 results from an estimated 156 matches for "f16".

Did you mean: 16
2015 Feb 12
3
[LLVMdev] half to float intrinsic promotion
Hi Guys, I am trying to promote half to float for my intrinsic math operations, following class and pattern are defined. " class S_HF__HF< string asmstr> : Intrinsic <[llvm_float_ty ], [llvm_float_ty ], [IntrNoMem], !strconcat(asmstr, "_f16")>; def :Pat<( f16 (int_my_math_f16 f16:$src)), (F2Hsr (FEXTsr f16:$src) )>; “ where FEXTsr is implementing the fextend type profile, F2Hsr is implementing as the float to half conversion . “int_my_math_f16” is implementing the “S_HF__HF” profile above. I am just trying to (1)...
2018 Jan 18
0
[RFC] Half-Precision Support in the Arm Backends
...---------------- 1) Add match rules for some Armv8.2-A FP16 instructions, e.g.: fsub, fadd, and also some conversion instructions. 2) Don't regress the "storage-only cases", i.e., when we only have the conversion instructions available. The Approach: ------------- 1) First, we make f16 legal only when we have FullFP16 support (i.e. when Armv8.2-A FP16 is supported), so in ARMISelLowering.cpp we add: if (Subtarget->hasFullFP16()) { addRegisterClass(MVT::f16, &ARM::HPRRegClass); } 2) This is the first implementation decision, I introduce a new register class HPR, w...
2017 Dec 06
2
[RFC] Half-Precision Support in the Arm Backends
...heck if I can't achieve the same without using these nodes (because I really would like to get completely rid of them). Cheers, Sjoerd. >On 12/4/2017 6:44 AM, Sjoerd Meijer via llvm-dev wrote: >> >> Custom Lowering >> ------------------------- >> >> Making f16 legal and not having native load/stores instructions available, >> (no FullFP16 support) means custom lowering loads/stores: >> 1) Since we don't have FP16 load/store instructions available, we create >> integer half-word loads. I unfortunately need the FP16_TO_FP node here...
2018 Jan 18
1
[RFC] Half-Precision Support in the Arm Backends
...wondering if you could get away with not touching the instructions descriptions at all, instead defining external pattens for the FullFP16 case, like so: def VCVTBHS: ASuI<0b11101, 0b11, 0b0010, 0b01, 0, (outs SPR:$Sd), (ins SPR:$Sm), IIC_fpCVTSH, "vcvtb", ".f32.f16\t$Sd, $Sm", []>, Requires<[HasFP16]>, Sched<[WriteFPCVT]>; def : FP16Pat<(f16_to_fp GPR:$a), (VCVTBHS (COPY_TO_REGCLASS GPR:$a, SPR))>; def : FullFP16Pat<(f32 (fpextend HPR:$Sm)), (VC...
2017 Dec 04
2
[RFC] Half-Precision Support in the Arm Backends
...added support for _Float16 as a new source language type to Clang. _Float16 is a C11 extension type for which arithmetic is well defined, as opposed to e.g. __fp16 which is a storage-only type. I then fixed up the AArch64 backend, which was mostly straightforward: this involved making operations on f16 legal when FullFP16 is supported, thus avoiding promotions to f32. This enables generation of AArch64 FP16 instruction from C/C++. For AArch64, this work is finished and does not show problems in our testing; Solid Sands provided us with beta versions of their FP16 extension to SuperTest - their C/...
2014 Jul 14
5
[LLVMdev] RFC: Do we still need @llvm.convert.to.fp16 and the reverse?
...o we'd have to improve their support first. But the benefit would be a more uniform interface to this type, both for front-ends and backends. I've been poking around a bit, and as far as I can see the following accommodations would need to be made in CodeGen: 1. Generic support to Promote f16 operations narrowed by InstCombine back to f32. And in Targets: 1. If there's *no* native f16 support, they can probably remain unchanged. 2. Targets with scalar f16 conversion would need it to become a legal type (in some register class). This seems like a reasonable requirement if there act...
2014 Jul 10
2
[LLVMdev] Help!!!!Help!!!! " LLVM ERROR: Cannot select: 0x9fc9680: i32 = fp32_to_fp16 0x9fc0750 [ID=16] " problem!!!!!!!!!!!!!!!!!!
Hi Daniel,    Thank you your replying.     Yes, the problem is about MIPS backend. You give me this message "There is limited support for the <8 x f16> type when MSA (MIPS SIMD Architecture) is enabled but even then scalar half-precision is not currently supported."  Could you give me some official link or some evidence? Thank you very much. Robin yalong at multicorewareinc.com  From: Daniel SandersDate: 2014-07-09 02:05To: yalong at mu...
2012 Aug 29
1
Use virsh command domjobinfo but get nothing
...and PPC64 host. But Both get nothing. # virsh version Compiled against library: libvir 0.9.13 Using library: libvir 0.9.13 Using API: QEMU 0.9.13 Running hypervisor: QEMU 1.1.50 # virsh list Id Name State ---------------------------------------------------- 21 f16-ppc-qcow2 running 22 f16-blkiotune running 23 f16-device-attach running # virsh domjobinfo 21 Job type: None But I have run two jobs on domain 21 [root at localhost ~]# jobs [1]- Stopped top [2]+ Stopped...
2010 Aug 10
1
partial match of one column in data frame to another character vector
...w) > myData id group 1 D599 A 2 002-0004 B 3 F01932 A 18 F16 B 19 F28 A 20 A94 B and a vector of IDs (the full label). > fullID [1] "F16-284" "ACC-A94-AB" "ADAD599" "0...
2011 Oct 08
2
guestmount issues with --live, but guestfish works just fine
...th guestmount in respect to live instances and I was hoping someone might have an idea where I've gone wrong. The following output is from my shell session, if there's any more information needed please let me know and I'll happily provide it. [root at longitude ~]# virt-filesystems -d F16-rawhide/dev/sda2 /dev/sda3 [root at longitude ~]# guestmount --live -d F16-rawhide -m /dev/sda3:/ /mnt/guestfs/ libguestfs: error: mount_options: /dev/vda3 on /: mount: /dev/vda3 already mounted or / busy mount: according to mtab, /dev/vda3 is already mounted on / libguestfs: error: part_to_dev: pa...
2014 Jul 09
6
[LLVMdev] Help!!!!Help!!!! " LLVM ERROR: Cannot select: 0x9fc9680: i32 = fp32_to_fp16 0x9fc0750 [ID=16] " problem!!!!!!!!!!!!!!!!!!
    Thank you Kevin!!!    If I use fptrunc and bitcast realise NEON vcvtt ( I can sure, "fptrunc  double %tmp to float" is right, but "fptrunc float %tmp to half" is wrong). My target platform is MIPS.  The command as following: NEON:            vcvtt.f16.f32 s2, s0 llvm Code: %Vt_2 = load float* %VFP_s0, align 4 %Vt3_1 = fptrunc float %Vt_2 to half %Vt4_1 = bitcast half %Vt3_1 to i16 %Vt2_2 = bitcast float* %VFP_s2 to <2 x i16>* %Vrti_1 = load <2 x i16>* %Vt2_2, align 4 %Vrti_2 = insertelement <2 x i16> %Vrti_1, i16 %...
2014 Jul 09
2
[LLVMdev] Help!!!!Help!!!! " LLVM ERROR: Cannot select: 0x9fc9680: i32 = fp32_to_fp16 0x9fc0750 [ID=16] " problem!!!!!!!!!!!!!!!!!!
Hi all,�� � I am new to llvm. I need help. Thank you every! � � I want to realize vcvtt.f16.f32 �NEON instruction by llvm. This instruction covert top-16bits of a single type to f16. I use the intrinsics function llvm.convert.to.fp16, but cannot llc ,�I meet is following problem : LLVM ERROR: Cannot select: 0x9fc9680: i32 = fp32_to_fp16 0x9fc0750 [ID=16] 0x9fc0750: f32,ch = load 0x3aaf...
2014 Jul 14
2
[LLVMdev] RFC: Do we still need @llvm.convert.to.fp16 and the reverse?
...e benefit would be a more uniform interface to >> this type, both for front-ends and backends. >> >> I've been poking around a bit, and as far as I can see the following >> accommodations would need to be made in CodeGen: >> >> 1. Generic support to Promote f16 operations narrowed by InstCombine >> back to f32. >> > > Are there any in-tree targets that natively support fp16 operations? > > -Tom > >> And in Targets: >> >> 1. If there's *no* native f16 support, they can probably remain unchanged. >&gt...
2008 Sep 30
0
[LLVMdev] Generalizing shuffle vector
On Mon, Sep 29, 2008 at 8:11 PM, Mon Ping Wang <wangmp at apple.com> wrote: > The problem with generating insert and extracts is that we can generate poor > code > %tmp16 = extractelement <4 x float> %f4b, i32 0 > %f8a = insertelement <8 x float> %f8a, float %tmp16, i32 0 > %tmp18 = extractelement <4 x float> %f4b, i32 1 > %f8c
2009 Feb 05
2
[LLVMdev] 16 bit floats
...he 16bit floats to 32bit floats on > memory operations for both scalar and vector formats. So can these > operations be implemented without adding 16 bit float support natively to > LLVM? If so, how? In this case, you only really need two currently unsupported instructions: one that does f16->f32, and one that does f32->f16; adding target intrinsics to do that should be easy. You can make the instrinsics take an i16 so that the type system doesn't have to be aware of f16 values. -Eli
2012 Nov 02
2
[LLVMdev] Half Float fp16 Native Support
...o luck. We have a target that has native fp16 units and tried to run a simple program int main () { __fp16 a,b,c,d; a= 1.1; b=2.2; c=3.3; d = a + b + c; return 0; } and when i try to call llc produces this error LLVM ERROR: Cannot select: 0x234bab0: f16 = fadd 0x234b8b0, 0x234c2b0 [ORD=9] [ID=29] 0x234b8b0: f16 = fadd 0x2349970, 0x2349a70 [ORD=7] [ID=28] 0x2349970: f16,ch = load 0x234db10, 0x2349170, 0x2348e70<LD2[%a]> [ORD=5] [ID=26] 0x2349170: i32 = FrameIndex<1> [ORD=2] [ID=4] 0x2348e70: i32 = undef [ORD=1] [ID=3]...
2015 Sep 08
2
Strange types on x86 vcvtph2ps and vcvtps2ph intrinsics
...st four lanes so why is the argument type not <4 x i16>? ``int_x86_vcvtps2ph_128`` also has the same oddity but on its return type (returns <8 x i16> but only the first four are relevant). * The use of ``i16`` types also seems a little strange given that the more semantically correct ``f16`` type and vectorized forms (e.g. ``llvm_v4f16_ty``) are available. Sure I can use a bitcast with the intrinsics to get the type I want in the IR but why were ``i16`` was chosen over using ``f16``? Any ideas? Thanks, Dan.
2011 Dec 19
2
Has anyone been able to start a Fedora 16 VM in Xen PV?
...File "/usr/bin/pygrub", line 686, in ? fs = fsimage.open(file, get_fs_offset(file)) IOError: [Errno 95] Operation not supported No handlers could be found for logger "xend" Error: Boot loader didn't return any data! In my kickstart, I had to create a partition for F16 as: part biosboot --fstype=biosboot --size=1 I didn't readily find the error when googling... Has anyone been able to run F16 as a PV guest? And if so, what did you do to make it happen????? Thanks!!!!!!!!!!!!! Scot P. Floess RHCT (Certificate Number 605010084735240) Chi...
2011 Jul 30
3
oVirt Node Fedora Feature Status
https://fedoraproject.org/wiki/Ovirt_Node_Spin I noticed that virt-manager-tui is in rawhide finally, but the package name implies that it's not going to be in f16? virt-manager-tui.noarch 0.9.0-4.fc17 rawhide Cole, is this intentional or just smth that we need to follow up on? Also, I've noticed that ovirt-node needs refreshing... iirc apevec did tag/release of 2.0.1 from ovirt-node git (as an aside 'News' section of website still say...
2012 May 09
1
F14->F16 Upgrade Results in Win2003 Server Client BSOD 0x7f
Hello, I upgraded my kvm server from Fedora 14 to Fedora 16 and the only casualty was a Windows 2003 Server client that will no longer boot with and produces a BSOD. I admittedly know very little about Windows and this VM has been around - real hardware -> Parallels on a Mac -> linux kvm but it was working fine under Fedora 14. The client does boot fine under safe mode but anything higher