The thing inside of us that makes us go up is our attitude.

Thoughts and learnings

Random Image

Who's Online

We have 57 guests online

Statistics

Members : 2
Content : 182
Web Links : 6
Content View Hits : 191382



Thoughts and learnings


Articles that I made over my thoughts and learnings. Articles are also categorized under general, technical and management. For the categorized view of articles, the menu 'Thoughts and learnings' on the left side of this web-page shall be used.



Testsuite for gcc-2.95.3 PDF Print E-mail
Written by Chandra Kumar R   

I was supposed to run the gcc testsuite for verifying the gnu toolchain we are maintaining. The gcc version we use is a very old one (gcc-2.95.3). To my surprise, I found that the testsuite folder of gcc-2.95.3 is empty. I checked the previous versions of gcc-2.95.3 (gcc-2.9.2, gcc-2.9.2.1) also. Those versions has a folder for testsuite under gcc-2.95.x.x/gcc. But there is no test files within it.

On surfing, I found that during the time of gcc-2.95, testsuites weren't part of the release.

Read more...
 
A study on genericizer in GCC PDF Print E-mail
Written by Chandra Kumar R   

The need for genericizer in GCC depends on how well GENERIC can be made to match up with the source language that is supported in GCC front-end.

I.e. In GCC, if the parser for a language uses GENERIC as intermediate language representation, then a genericizer is not required. If the language parser uses any other intermediate language representation, then a genericizer is required to convert that intermediate language representation to GENERIC.

Read more...
 
GCC Internals of Auto-Vectorization PDF Print E-mail
Written by Chandra Kumar R   

Auto-vectorization does a set of analysis on loops and performs the transformation of scalar to vector. There are two phases in auto-vectorization. They are analysis phase and transformation phase.

During the analysis phase, information on each statement in a loop is collected and stored. I.e. Each statement would have the data structure (stmt_vec_info) associated with it, that would hold the information collected during the analysis phase.

 

Read more...
 
Internationalization of glibc PDF Print E-mail
Written by Chandra Kumar R   

Internationalization of a software refers to the process of making that software to adapt the user's favorite conventions. So internationalization of glibc means programming glibc to adapt the user's favorite conventions.

In glibc, internationalization is done using locales. Locales are collection of conventions. Locales should be specified via environment variables. There are standard locales such as 'C' and 'POSIX' that are supported by all operating systems (OS).

Read more...
 
Vectorization in GCC PDF Print E-mail
Written by Chandra Kumar R   

Vectorization or SIMDization (here-in-after referred as Vectorization only) is the process of making a program to use the SIMD instructions of a processor.

SIMD expands to Single Instruction Multiple Data. Processor that supports SIMD instructions would be capable of performing a single operation on multiple data (i.e. vector data).

GCC performs loop-based vectorization.

Read more...
 
End Of Line (EOL) in Linux and Windows PDF Print E-mail
Written by Chandra Kumar R   

The end of a line of text is marked by the EOL character. The EOL character differs between Windows and Linux.

In Linux, the EOL character is line feed (LF) character '\n'. Whereas in Windows, the EOL character is carriage return (CR) character '\r' followed by the line feed (LF) character '\n'.

For example, create a text file containing the following in both Linux and Windows.

Read more...
 
<< Start < Prev 1 2 3 4 5 Next > End >>

Page 2 of 5