-
A simple plugin for GCC – Part 2
Aug 16, 2015 • Roger Ferrer Ibáñez • Compilers
In the last post we set up everything in order to write a GCC plugin. Before we can go on we need to understand a bit how GCC compiles your files.
-
A simple plugin for GCC – Part 1
Aug 16, 2015 • Roger Ferrer Ibáñez • Compilers
GCC's C and C++ compilers provide several extensions to address several programming needs not covered in the standards. One of these is the
warn_unused_result
attribute. This attribute warns us that we are discarding the result of a function. Unfortunately, for C++ it does not always work as expected. -
ARM assembler in Raspberry Pi – Chapter 25
Jul 4, 2015 • Roger Ferrer Ibáñez • Raspberry Pi • arm, assembler, pi, raspberry
In chapter 13 we saw VFPv2 and the fact that it allows vectorial operations on floating-point numbers. You may be wondering if such a similar feature exists for integers. The answer is yes although in a more limited way.
-
When an array is not an array
Feb 26, 2015 • Roger Ferrer Ibáñez • Uncategorized • arrays, c language, language, standard c, standardc
The C programming language comes with its own set of warts if we closely examine its syntax and semantics. One of the oddities that puzzles most people is the fact that there are no parameters of array types in C. This fact, though, does not prevent one using the array syntax in a parameter.
-
ARM assembler in Raspberry Pi – Chapter 24
Jan 9, 2015 • Roger Ferrer Ibáñez • Raspberry Pi • arm, assembler, raspberry
Today we will continue with nested functions.
-
A simple plugin for GCC – Part 2
In the last post we set up everything in order to write a GCC plugin. Before we can go on we need to understand a bit how GCC compiles your files.
-
A simple plugin for GCC – Part 1
GCC's C and C++ compilers provide several extensions to address several programming needs not covered in the standards. One of these is the
warn_unused_result
attribute. This attribute warns us that we are discarding the result of a function. Unfortunately, for C++ it does not always work as expected. -
ARM assembler in Raspberry Pi – Chapter 25
In chapter 13 we saw VFPv2 and the fact that it allows vectorial operations on floating-point numbers. You may be wondering if such a similar feature exists for integers. The answer is yes although in a more limited way.
-
When an array is not an array
The C programming language comes with its own set of warts if we closely examine its syntax and semantics. One of the oddities that puzzles most people is the fact that there are no parameters of array types in C. This fact, though, does not prevent one using the array syntax in a parameter.
-
ARM assembler in Raspberry Pi – Chapter 24
Today we will continue with nested functions.