gcc7

Why do I get assembler error while using vmovl_u8 instruction of armv8-a?

℡╲_俬逩灬. 提交于 2021-01-29 13:50:44
问题 I have the following armv8-a code and I am getting the assembler error. I am unable to figure out the error #include <stdio.h> #include <arm_neon.h> int main(char source) { char a = 10, b = 10, c = 10, d = 10; uint16_t sum; uint8x8_t src0 = vld1_u8(source); uint8x8_t src1 = vld1_u8(source + 8); uint8x8_t src2 = vld1_u8(source + 16); uint8x8_t src3 = vld1_u8(source + 24); uint16x8_t dst0 = vmulq_n_u16(vmovl_u8(src0), 32 - a); uint16x8_t dst1 = vmulq_n_u16(vmovl_u8(src1), b); uint16x8_t dst2 =

is_lock_free() returned false after upgrading to MacPorts gcc 7.3

别说谁变了你拦得住时间么 提交于 2020-01-10 05:05:26
问题 Previously, with Apple LLVM 9.1.0, is_lock_free() on 128-bit structures have returned true. To have complete std::optional support, I then upgraded to MacPorts gcc 7.3. During my first try to compile, I encountered this notorious showstopper linker error: Undefined symbols for architecture x86_64: "___atomic_compare_exchange_16", referenced from: I know that I may need to add -latomic . With Apple LLVM 9.1.0, I don't need it, and I have a very bad feeling about this. If it's lock-free, you

c++1z dynamic exception specification error

ε祈祈猫儿з 提交于 2020-01-01 04:19:06
问题 I am trying to compile my project with new GCC version 7.2.1 and have a problem with dynamic exception specifications: error: ISO C++1z does not allow dynamic exception specifications MEMORY_ALLOC_OPERATORS(SQLException) The problem is that these errors come from third-party libraries which I do not control. Is there a some way to fix it? As far as I know I can't tell compiler to replace errors with warnings. Using --std=c++14 is not an option because I want to use new features from C++1z.

conda install -c anaconda gcc_linux-64 not being used

醉酒当歌 提交于 2019-12-24 10:42:03
问题 I wanted to install updated version of gcc on a server where I do not have root access. I tried conda install -c creditx gcc-7 which was not working. Then I found conda install -c anaconda gcc_linux-64 in fact installs gccv7.3. But after the successful installation, the conda environment still uses the system gcc at /usr/bin/gcc Please help me so that I can use the gcc v7.3 that I just installed. 回答1: As explained here: https://docs.conda.io/projects/conda-build/en/latest/resources/compiler