Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
herumi committed Apr 16, 2010
0 parents commit cbb4ca2
Show file tree
Hide file tree
Showing 45 changed files with 11,548 additions and 0 deletions.
47 changes: 47 additions & 0 deletions COPYRIGHT
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@

Copyright (c) 2007-2009 MITSUNARI Shigeo
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
Neither the name of the copyright owner nor the names of its contributors may
be used to endorse or promote products derived from this software without
specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
THE POSSIBILITY OF SUCH DAMAGE.
-----------------------------------------------------------------------------
�����������ɷ������Х��ʥ���������ѹ����뤫���ʤ�������鷺���ʲ��ξ�������
�����˸¤ꡢ�����ۤ���ӻ��Ѥ����Ĥ���ޤ���

�����������ɤ�����ۤ����硢�嵭�����ɽ�����ܾ�����������Ӳ������վ��
��ޤ�뤳�ȡ�
�Х��ʥ�����Ǻ����ۤ����硢����ʪ����°�Υɥ���������λ����ˡ��嵭������
��ɽ�����ܾ�����������Ӳ������վ���ޤ�뤳�ȡ�
���̤ˤ�����̤ε��Ĥʤ��ˡ��ܥ��եȥ��������������������ʤ������ޤ�������¥��
�ˡ�����Ԥ�̾���ޤ��ϥ���ȥ�ӥ塼������̾������Ѥ��ƤϤʤ�ʤ���
�ܥ��եȥ������ϡ�����Ԥ���ӥ���ȥ�ӥ塼�����ˤ�äơָ����Τޤޡ��󶡤�
��Ƥ��ꡢ�����ۼ�����鷺������Ū�ʻ��Ѳ�ǽ����������������Ū���Ф���Ŭ����
�˴ؤ�����ۤ��ݾڤ�ޤᡢ�ޤ�����˸��ꤵ��ʤ��������ʤ��ݾڤ⤢��ޤ���
����Ԥ⥳��ȥ�ӥ塼�����⡢��ͳ�Τ��������鷺�� »��ȯ���θ����������
��鷺��������Ǥ�κ��򤬷���Ǥ��뤫������Ǥ�Ǥ��뤫�ʲἺ����¾�Ρ���ˡ�԰٤�
���뤫����鷺�����ˤ��Τ褦��»����ȯ�������ǽ�����Τ餵��Ƥ����Ȥ��Ƥ⡢
�ܥ��եȥ������λ��Ѥˤ�ä�ȯ�������������ʤޤ������ѥ����ӥ���Ĵã�����Ѥ�
�Ӽ����ǡ������Ӽ������פ��Ӽ�����̳�����Ǥ�ޤᡢ�ޤ�����˸��ꤵ��ʤ���ľ��
»��������»������ȯŪ��»��������»����ĨȳŪ»�����ޤ��Ϸ��»���ˤĤ��ơ�
������Ǥ�����ʤ���ΤȤ��ޤ���
17 changes: 17 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
PREFIX=/usr/local
INSTALL_DIR=$(PREFIX)/include/xbyak

all:
make -C sample

clean:
make -C sample clean

install:
mkdir -p $(INSTALL_DIR)
cp -pR xbyak/*.h $(INSTALL_DIR)

uninstall:
rm -i $(INSTALL_DIR)/*.h
rmdir $(INSTALL_DIR)

17 changes: 17 additions & 0 deletions gen/b2hex.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#include <stdio.h>

int main()
{
puts("enum {");
for (int i = 0; i < 256; i++) {
printf(" B");
for (int j = 0; j < 8; j++) {
putchar(i & (1 << (7 - j)) ? '1' : '0');
}
printf("= %d", i);
if (i < 255) putchar(',');
putchar('\n');
}
puts("};");
return 0;
}
Loading

0 comments on commit cbb4ca2

Please sign in to comment.