HNHacker News
TopNewBestAskShowJobs

wmobit

51 karma · joined May 10, 2010

submissionscomments
wmobit··on Ask HN: Help with LLVM
Possibly -ffreestanding will help
wmobit··on Ask HN: Help with LLVM
The _fltused handling is quite crude: https://github.com/llvm/llvm-project/blob/5cfd02f44a43a2e2a0...

TLDR it's going to emit the reference if it's targeting MSVC and there's any float typed reference. You'd need to do something to avoid it, other than avoiding float types.

Presumably you are compiling for the MSVC ABI. Trying to plug your own runtime that doesn't behave exactly as the MSVC scheme isn't going to just work out of the box. The compiler has to know the details of the ABI you are targeting, if you're doing your own thing the compiler would need to treat that as a separate ABI. I'm not sure there's a triple now that means MSVC-like-freestanding.

The same logic applies on the clang driver side. The ABI expects to link those libraries, so it will.

wmobit··on HipKittens: Fast and furious AMD kernels
I'd go so far as to say it's the exact opposite. It's faster and easier to change the hardware than the software.
wmobit··on Own Constant Folder in C/C++
clang does have pragma clang fp to enable a subset of fast math flags within a scope
wmobit··on CodeGen: LLVM wrapper for just-in-time code generation and compilation
This couldn't have a worse name. It's already used inside clang, and llvm. Searching "llvm CodeGen" will never find this.
wmobit··on U.S. Supreme Court to hear Apple App Store antitrust dispute
Chrome is available on the App Store
wmobit··on An Apple ISA is coming
It's really not. It's barely an abstraction over LLVM IR
wmobit··on Silicon Valley Could Offer a Public Bus Commute That's Quicker Than Driving
I live on El Camino and frequently take the bus. It's a 40 minute walk to the nearest caltrain station
wmobit··on When Keurig fights “coffee pirates,” who loses? Loyal consumers
The keurig actually does have tea pods, which produce pretty awful tea
wmobit··on Which GPUs to Get for Deep Learning
clBLAS
wmobit··on Which GPUs to Get for Deep Learning
There is an OpenCL profiler for AMD, and library equivalents for those in clBLAS / clFFT
wmobit··on Which GPUs to Get for Deep Learning
There isn't really anything fundamentally that would make CUDA faster that OpenCL. There aren't any huge semantic differences between them.
wmobit··on ErLLVM: LLVM backend for high performance Erlang
No, unfortunately front ends still need to be aware of some of the ABI details of the target to produce the IR for it.
wmobit··on Poll: Do you actually use the product you are working on?
I used to use it before working on it was my job.
wmobit··on From a Frat Social Network to a GPU Compiler for Hadoop
But the 64-bit pointer support isn't there yet, so it's not super useful. You can't use it all within the same program
wmobit··on These young SF professionals choose to live in RVs
Most (probably nearly all, I've never seen one that doesn't) have bathrooms with showers.
wmobit··on Nimrod: C + Macros + GC
Dear everyone, please stop using C as a compile target. Thanks.
wmobit··on Obama to Hold Google+ ‘Hangout’ After State of the Union
I also think it mostly means the president won't see anybody's penis.
wmobit··on ISO C is increasingly moronic
As if MS will implement C1X. They haven't caught up to the last C standard from 12 years ago
wmobit··on Make your STDERR red
The alloca usage here terrifies me.
wmobit··on Skyim breaking Steam record -- a singleplayer game has 240,000 users online
No, it's totally a sine wave.
wmobit··on Show HN: Random Google Street View
Comments on saved ones might be nice. For example, on the one I started on, there appears to be a tiger in Colorado. I have an urge to comment and ask if that is in fact a tiger.
wmobit··on Home experiments to derive the speed of light?
You don't use experiments to 'derive' the speed of light. You use Maxwell's equations.
wmobit··on The Unfamiliar (Objective-C & Cocoa)
Note the 'Automatic' qualifier on reference counting
wmobit··on Why no Steam, Notch?
Such is impossible under current copyright law
wmobit··on Why no Steam, Notch?
Saying the GPL is draconian and limits freedom is like saying the 13th amendment limits freedom since it takes away your right to own slaves.
wmobit··on Tiobe: Lua enters the top 10 for the first time in history
Perhaps the people using JavaScript are the more likely the kinds of people to go asking more questions.
wmobit··on Apple Hires The Guy Who Hacked Together A Better iOS Notifications System
I have a feeling he hasn't really been hired by Apple yet.
wmobit··on Economist's View: "The Mathematics Generation Gap"
I saw nothing about mathematics here; this was all about arithmetic.
wmobit··on C++ at Google: Here Be Dragons
Google has said before they didn't use Clang and LLVM because of performance issues. GCC is far from dead, and probably never will. Clang generated code is still typically 10-20% slower than GCC. Lots of companies work on GCC, including Google, Intel, AMD, IBM, Red Hat and others.
Page 1 of 2Next →