This revision was automatically updated to reflect the committed changes.
Closed by commit rG5074776de478: [WebAssembly] Import wasm_simd128.h from
Emscripten (authored by tlively).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D76959/new/
https://re
tlively marked an inline comment as done.
tlively added inline comments.
Comment at: clang/lib/Headers/wasm_simd128.h:30
+typedef long long __i64x2 __attribute__((__vector_size__(16),
__aligned__(16)));
+typedef unsigned long long __u64x2
+__attribute__((__vector_size__(16),
sunfish accepted this revision.
sunfish added a comment.
This revision is now accepted and ready to land.
Cool, LGTM, with optional suggestion for signed char below:
Comment at: clang/lib/Headers/wasm_simd128.h:30
+typedef long long __i64x2 __attribute__((__vector_size__(16),
tlively added a comment.
I believe all the feedback has now been addressed.
Comment at: clang/lib/Headers/wasm_simd128.h:30
+typedef long long __i64x2 __attribute__((__vector_size__(16),
__aligned__(16)));
+typedef unsigned long long __u64x2
+__attribute__((__vector_size__
tlively updated this revision to Diff 253713.
tlively added a comment.
- Use header guard macro instead of pragma
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D76959/new/
https://reviews.llvm.org/D76959
Files:
clang/lib/Headers/CMakeLists.txt
tlively updated this revision to Diff 253703.
tlively marked 3 inline comments as done.
tlively added a comment.
- Prefix identifiers with `__`
- Use specific bit-widths where possible
- Do not change semantics under -funsigned-char
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTIO
sbc100 added inline comments.
Comment at: clang/lib/Headers/wasm_simd128.h:10
+
+#pragma once
+
tlively wrote:
> sunfish wrote:
> > Do you know why other clang headers, such as `lib/Headers/xmmintrin.h`,
> > don't use `#pragma once`?
> No, I don't know. Accordin
tlively marked 2 inline comments as done.
tlively added inline comments.
Comment at: clang/lib/Headers/wasm_simd128.h:10
+
+#pragma once
+
sunfish wrote:
> Do you know why other clang headers, such as `lib/Headers/xmmintrin.h`, don't
> use `#pragma once`?
No, I
sunfish added a comment.
Very cool, thanks for putting this together!
Comment at: clang/lib/Headers/wasm_simd128.h:10
+
+#pragma once
+
Do you know why other clang headers, such as `lib/Headers/xmmintrin.h`, don't
use `#pragma once`?
Comment
tlively created this revision.
tlively added reviewers: aheejin, sunfish.
Herald added subscribers: cfe-commits, jgravelle-google, sbc100, mgorny,
dschuff.
Herald added a project: clang.
tlively updated this revision to Diff 253249.
tlively added a comment.
- Update license to match xmmintrin.h f
tlively updated this revision to Diff 253249.
tlively added a comment.
- Update license to match xmmintrin.h format
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D76959/new/
https://reviews.llvm.org/D76959
Files:
clang/lib/Headers/CMakeLists.txt
11 matches
Mail list logo