<commit_before>#include <stdio.h>

#ifdef __i386__
static inline unsigned char inb(const unsigned short port)
{
    unsigned char val;

    __asm__ __volatile__ ("inb  %w1, %0" : "=q"(val) : "dN"(port));

    return val;
}

static inline void outb(const unsigned short port, const unsigned char val)
{
	int k = val; /* just here to test the b modifier in %b0 */
    __asm__ __volatile__ ("outb %b0, %1" : : "a"(k), "dN"(port));
}

static void sincostest(double arg)
{
	double cos, sin;

	__asm__ ("fsincos" : "=t"(cos), "=u"(sin) : "0" (arg));
	printf("Arg: %f Sin: %f Cos: %f\n", arg, sin, cos);
}

static inline int mov(int val)
{
	int res;

	__asm__ ("movl %1, %0" : "=r"(res) : "ri" (val));

	return res;
}

static inline unsigned short swap16(unsigned short x)
{<commit_msg>correct register constraint for inb asm<commit_after>#include <stdio.h>

#ifdef __i386__
static inline unsigned char inb(const unsigned short port)
{
    unsigned char val;

    __asm__ __volatile__ ("inb  %w1, %0" : "=a"(val) : "dN"(port));

    return val;
}

static inline void outb(const unsigned short port, const unsigned char val)
{
	int k = val; /* just here to test the b modifier in %b0 */
    __asm__ __volatile__ ("outb %b0, %1" : : "a"(k), "dN"(port));
}

static void sincostest(double arg)
{
	double cos, sin;

	__asm__ ("fsincos" : "=t"(cos), "=u"(sin) : "0" (arg));
	printf("Arg: %f Sin: %f Cos: %f\n", arg, sin, cos);
}

static inline int mov(int val)
{
	int res;

	__asm__ ("movl %1, %0" : "=r"(res) : "ri" (val));

	return res;
}

static inline unsigned short swap16(unsigned short x)
{
{'fraction_non_alphanumeric': 0.17045454545454544, 'fraction_numerical': 0.016414141414141416, 'mean_word_length': 3.9842767295597485, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5777394', 'n_tokens_mistral': 648, 'n_tokens_neox': 611, 'n_words': 203}