Using a tunable diode-laser spectrometer, we have recorded 28 lines in the fundamental ν band of carbon disulfide diluted in several rare gases: helium, neon and krypton. These lines are ranged from P(78) to R(72) and located in the spectral range 1514-1548 cm . The collisional half-widths of each line have been obtained by fitting to the experimental lineshape, a Voigt profile and also the models developed by Rautian and Sobel'man and by Galatry. These two more elaborate profiles take into account the narrowing due to the molecular confinement (Dicke effect). From these results and those previously obtained for CS + Ar, we have compared the collisional broadening coefficients of CS lines to put in evidence the effect of the perturber mass.