Steven David Pillaystevenpillay.hashnode.dev·Apr 23, 2024Conclusion: Software Portability and OptimizationThis course was an intellectual rollercoaster for me, I learned so many things and got a dopamine kick whenever I learned something, especially the assembly languages like 6502, x86 and 64ARM. I personally love 6502 as it is one of the easiest assemb...DiscussSPO600
Steven David Pillaystevenpillay.hashnode.dev·Apr 22, 2024Understanding the GCC PassesAs I was responsible for providing the diagnostic output for the Auto Function Multi Versioning for the AFMV Project. I started by studying how other passes in the GCC compiler work. For this, I created a simple Hello World program in C. #include <st...Discuss·30 readsSPO600
Steven David Pillaystevenpillay.hashnode.dev·Apr 15, 2024AFMV ProjectThe main aim of this Project is to upgrade the GCC compiler in such a way that the programs compiled by it can be run on machines with different capabilities like SVE or SVE2 while still benefitting from the cutting-edge technologies with zero effort...Discuss·35 readsProjectStage1
Mithilesh GaikwadforMithilesh's Blogesymith.hashnode.dev·Apr 14, 2024A Comprehensive Guide to GCC FlagsGCC (GNU Compiler Collection) is one of the most widely used compilers in the world, powering a significant portion of software development across various platforms. One of the reasons for its popularity is the plethora of flags it offers, allowing d...Discuss·53 readsgcc compiler
Mithilesh GaikwadforMithilesh's Blogesymith.hashnode.dev·Mar 19, 2024Enhancing Code Safety with #pragma Poison in GCCIn the realm of software development, ensuring code safety is a paramount concern that underpins the reliability and integrity of software systems. As developers navigate the complexities of programming, they rely on powerful tools and methodologies ...DiscussC
Jyotiprakash Mishrablog.jyotiprakash.org·Dec 31, 2023Branch Prediction in C (using GCC)Branch prediction is a technique used in computer architecture to improve the flow in instruction pipelines. Pipelines are a key feature of modern processors, allowing multiple instructions to be processed simultaneously, each at a different stage of...Discuss·175 readsC Programmingbranch prediction
DracoRXdracorx.hashnode.dev·Dec 30, 2023Guide : How to Setup C++ on MacOS with Sublime Text and gcc (without homebrew)Step 1 Install MacPorts for your respective version of MacOS.Installation process is as simple as installing the .pkg file and opening it. Step 2 Search for the version of gcc you wish to install. For this guide I'll be installing gcc13. Do as it sa...Discuss·1 likeSublime Text
Jyotiprakash Mishrablog.jyotiprakash.org·Dec 24, 2023Pragmas are all about hints!The #pragma directive in C is used to provide additional information to the compiler. It's compiler-specific and can be used for various purposes, such as controlling compiler warnings, optimizing code, or specifying architecture-specific features. H...DiscussC Programmingpragma
Jyotiprakash Mishrablog.jyotiprakash.org·Dec 24, 2023How does preprocessed code look?You can use the -E option with the GCC compiler to stop after preprocessing and display the preprocessed code. Here's a simple example: Example: Preprocessor Directives with GCC // main.c #include <stdio.h> // Define a constant #define PI 3.14159 ...DiscussC Programmingpreprocessor
Jyotiprakash Mishrablog.jyotiprakash.org·Dec 15, 2023What is the C library?The system's C runtime offers a set of standard functions called the C library to developers so they may carry out typical tasks without having to start from scratch when writing code. It offers a number of features, such as memory management, string...Discusslibc