This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.
Indexes: [Date Index] [Subject Index] [Author Index] [Thread Index] Site Nav: [Browse other archives for this mailing list]
[Browse other mailing lists at this site]
Re:Re:
-march=<name of native> doesn't seem to set flags -march=native does?
1/2
Re: [Buildroot] bfin c++ problem
bfin c++ problem
Fwd: Building GCC 7.0 with gpu offloading
Check for command line option in my header file
Compilation errors with gcc4.9 and c++1y
Dear Mr/Ms; I am Truong, working at Vietnam human engineering in Vietnam. Now, I am using D32 Design Studio for programming MPC5777C micro controller (GNU C Compiler 4.9). I've already made a sample inline asm code in .C file ase bellow: void set_spr ( uint32_t spr_num, uint32_t val ) { asm volalatile ("mtspr %0, %1" : :"r"(spr_num), "r"(val) ); } This code does not work correct (It should work but not work). I found out the constraints operands [:"r"(spr_num),] is not correct. I thinks it better if spr_num is be referred as a constant not a register ( ex: mtspr 120, val ). But I don't know how to revise. I also referred on https://gcc.gnu.org/onlinedocs/gcc/Constraints.html#Constraints about PowerPC but I cannot understand clearly.So, could you please help me to explain about that? If you have the instruction about "constraints for asm operands" for MPC5777C micro controller, please provide me. Thank you.
diag colors
Disable coalesce sections when using GCC with -Wa,-q and Clang integrated assembler?
Enable crc32 for armv7?
GCC 5.3.0 Make install fails
Re: GCC++
gcc-6.1, cstdlib, fatal error: stdlib.h: No such file or directory
How to clear compile error when using rdrand64_step due to typedef'ing a 64-bit type?
int main(void) pedantry [Was Re: bfin c++ problem]
Minimun system configuration for GNU comiler collection installation
openmp 4.5 and fortran
Problems building gcc
question about illegal utf-8 encoding in string literals
SPR access
strtold("inf",NULL) returns a NaN
symbian support in gcc
unclear instructions on how to subscribe to gcc help?
Vintage AT&T 3B
vmull_p64 failed to compile on armv8
what does -fno-pic do
Indexes: [Date Index] [Subject Index] [Author Index] [Thread Index] Site Nav: [Browse other archives for this mailing list]
[Browse other mailing lists at this site]