Develop and Download Open Source Software

Browse Subversion Repository

Log of /branches/mty-makai/cp932.c

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 262 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jul 2 05:36:54 2011 UTC (12 years, 9 months ago) by notanpe
File length: 343 byte(s)
Diff to previous 252
魔キー対応

Revision 252 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 27 03:23:48 2010 UTC (13 years, 3 months ago) by notanpe
File length: 259 byte(s)
Diff to previous 226
本家 R245 をベースに全てやりなおし。

Revision 226 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 7 10:47:03 2009 UTC (14 years, 9 months ago) by notanpe
File length: 382 byte(s)
Diff to previous 222
特殊検索の誤ログを修正
真の全空間へ

Revision 222 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat May 9 13:17:28 2009 UTC (14 years, 11 months ago) by notanpe
File length: 427 byte(s)
Diff to previous 125
^Chi(r 強制検索時に全数まで有効になるバグを修正
ほかちょっと整理

Revision 125 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 16 14:50:11 2007 UTC (16 years, 11 months ago) by notanpe
File length: 259 byte(s)
Diff to previous 114
魔改造用ブランチ

Revision 114 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 10 02:22:06 2007 UTC (17 years ago) by chapuni
Original Path: trunk/naniya/mty/cp932.c
File length: 259 byte(s)
Diff to previous 39
リポジトリ構造を慣例のものに変更。
ついでに、svn:keywords のプロパティを付加。
(auto-propsってリポジトリ属性だっけ?)

Revision 39 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 27 10:53:45 2007 UTC (17 years ago) by chapuni
Original Path: mty/cp932.c
File length: 259 byte(s)
Copied from: mty/translate.c revision 38
Diff to previous 26
ヲナヌー辞書の痕跡(USE_DT)を条件除外した。
cp932[] を、cp932.[ch] に切り離した。(ちうか名前変えたいよね)
translate.h の文字コードがやや腐ってたので変換。

Revision 26 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Mar 18 07:40:49 2007 UTC (17 years ago) by chapuni
Original Path: mty/translate.c
File length: 2693 byte(s)
Copied from: mty/mty.c revision 25
Diff to previous 25
ソースを分割。
expr.c ... 式から命令列を生成
translate.c ... キーバイナリ列から鳥屋っぽいキー文字列生成を試行。
ターゲット依存は config.h に押し込めてみました。
キースケジューリングも切り離そうと思ったけどそれは次の機会に。

Revision 25 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Mar 17 12:20:48 2007 UTC (17 years ago) by chapuni
Original Path: mty/mty.c
File length: 32783 byte(s)
Diff to previous 24
key_inc() にて、 N_STRIDE の変更に弱い部分が1箇所あったので清書。

Revision 24 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Mar 17 12:11:18 2007 UTC (17 years ago) by chapuni
Original Path: mty/mty.c
File length: 32812 byte(s)
Diff to previous 23
ログ出力周りを整理。ついでにエラー処理を盛り込む。
実際のエラーにおける挙動に関しては未検証。

Revision 23 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Mar 17 10:23:30 2007 UTC (17 years ago) by notanpe
Original Path: mty/mty.c
File length: 32867 byte(s)
Diff to previous 22
expr_buf の宣言部も TARGET_SIZ で。
ついでに SIZE にしようかと迷ったけど、宗教問題になるので遠慮。w

Revision 22 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 16 15:17:25 2007 UTC (17 years ago) by notanpe
Original Path: mty/mty.c
File length: 32862 byte(s)
Diff to previous 21
target.txt が無い場合の対策。
鳥屋は assert() が好きなようなので、あわせてみた。
決してコミットのテストではない。

Revision 21 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 16 02:13:44 2007 UTC (17 years ago) by chapuni
Original Path: mty/mty.c
File length: 32840 byte(s)
Diff to previous 20
MSVCRTでは行バッファリング(_IOLBF)が古バッファリングになってしまうため、ログファイル log.txt がキレイに書き出せていなかった。 _IONBF で定義し直す。
(Cygwin, glibc ではこれで問題なかったんだよなぁ…)

Revision 20 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 12 09:25:48 2007 UTC (17 years, 1 month ago) by chapuni
Original Path: mty/mty.c
File length: 32788 byte(s)
Diff to previous 15
BSDに敬意を表して、MMAP(2)に与えるシンボルは MAP_ANON だろっ。(の談)
ptrdiff_t は、stddef.h にいるよ!

ついでに、CRYPT64_CLOBBER を、USE_64 においても定義しておく。

そろそろ autoconf だなおい。

Revision 15 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 9 11:18:28 2007 UTC (17 years, 1 month ago) by chapuni
Original Path: mty/mty.c
File length: 32713 byte(s)
Diff to previous 14
* 鍵シフトスケジュール(ksd)を、 crypt64.S から mty.c へ移動。この改造は元々200509版にて行われていた。
ks_ls[]の内容を、key64.ks[] に移動しているので注意。

* 比較器生成部で、param.hit[]へのポインタをTに割り振っていたが、LRを指しているDIのみを使用するように変更。

* 呼び出し規約のレジスタ破壊を記述するためのマクロ CRYPT64_CLOBBER を定義。

* crypt64.S 中、CNT, KSI はそれぞれ幅の狭いレジスタを採用。姑息な最適化のため。KSIはもはやインクリメントカウンタになった。
また、レジスタ待避の都合上、DX(破壊)とBX(待避)を入れ替えた。

* 初期LRクリアの際、ゼロレジスタとしてR(0)を用いていたが、AMD64ALUだと予約レジスタとかぶってしまいかねないため、R(7)に変更。

Revision 14 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 9 06:49:26 2007 UTC (17 years, 1 month ago) by chapuni
Original Path: mty/mty.c
File length: 32107 byte(s)
Diff to previous 13
種別 USE_64 (64-bit ALU 使用) を追加。
ただし、今回追加のアセンブラモジュールには対応コードが含まれていません。
準備だけ。

準備として、以下の変更を行う。
* ポインタ BP, SI の役割を入れ替えた。(BP) のとき disp 0 が省略できないため。
* LRがBPとなったため、デフォルトで disp8 がつくようになった。そのためアセンブル時のゲタ OX は、64ビット演算時は 0x00 に固定した。Salt固定のときは crypt64 のエントリを直接呼べる(ハズ)。
reg_op(), reg_mem() 周りを抽象化した。比較器に対して正しいコードが吐けている(200509相当の拡張)。

ついでに、LRがはみ出ている分[64:65]のゼロクリアを、ループ内に移動。

Revision 13 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 7 12:41:41 2007 UTC (17 years, 1 month ago) by chapuni
Original Path: mty/mty.c
File length: 30597 byte(s)
Diff to previous 10
Suseでなぜか ptrdiff_t が定義されていないので、てきとうなヘッダでごまかす。
Visual Studio 8 で、 USE_MMX 時に定義すべき int8_t が欠落していたため追加。

Revision 10 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 7 07:07:03 2007 UTC (17 years, 1 month ago) by chapuni
Original Path: mty/mty.c
File length: 30554 byte(s)
Diff to previous 9
Visual Studio 8 (W32/x86)にて調整。
シンボルが USE_MMX になっていなかった箇所が残っていたため修正。
他、GCC(Mingw) Linux x86-64 にて動作ひととおり確認。

Revision 9 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 6 12:37:55 2007 UTC (17 years, 1 month ago) by chapuni
Original Path: mty/mty.c
File length: 30660 byte(s)
Diff to previous 6
AMD64 対応。Suse(x86-64)某にて確認。
64ビット版では、通常演算で uint64_t を多用するため
そのへんに気をつけていろいろ改修。
crypt64.S は、実質的な変更は少ないが、変更行数は多い。

Revision 6 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 2 18:15:39 2007 UTC (17 years, 1 month ago) by chapuni
Original Path: mty/mty.c
File length: 30379 byte(s)
Diff to previous 2
XMMに対応。ついでにMMXとXXMのコードベース統一を図る。

Revision 2 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 2 07:03:17 2007 UTC (17 years, 1 month ago) by chapuni
Original Path: mty/mty.c
File length: 29957 byte(s)
Diff to previous 1
W2k などにおいて、XP 拡張された引数を mmap しようとし失敗していたため、
対策として、legacy malloc() を試みるように変更。

Revision 1 - (view) (download) (as text) (annotate) - [select for diffs]
Added Thu Mar 1 14:32:05 2007 UTC (17 years, 1 month ago) by chapuni
Original Path: mty/mty.c
File length: 29732 byte(s)
John由来の x86-mmx.S をくっつけてみた。

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26