summaryrefslogtreecommitdiffstats
path: root/lib/libc/regex/regex2.h
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2010-03-10 19:55:48 +0000
committermarius <marius@FreeBSD.org>2010-03-10 19:55:48 +0000
commit7892dc274ebfd581dd00817e35c160a54162b807 (patch)
tree93fc70adb6b7ea88c6c5a18487f4de809f474be0 /lib/libc/regex/regex2.h
parentda95673165a59cb4afa6d3d67fb9b3d41916c9c2 (diff)
downloadFreeBSD-src-7892dc274ebfd581dd00817e35c160a54162b807.zip
FreeBSD-src-7892dc274ebfd581dd00817e35c160a54162b807.tar.gz
- The OPSZ macro actually only does the right thing for int32 and int64
operands but not for double and extended double ones. Instead of trying to fix the macro just nuke it and unroll the loops in the correct way though as extended double operands turn out to be the only special case. - For FxTO{s,d,q} the source operand is int64 so rs2 has to be re-decoded after setting type accordingly as it's generally decoded using the low 2 bits as the type, which are 0 for these three instructions. - Similarly, in case of F{s,d,q}TOx the target is int64 so rd has to be re-decoded using not only the operand mask appropriate for int64 but also the correct register number encoding. - Use const where appropriate. - Wrap long lines. Submitted by: Peter Jeremy (partly) MFC after: 3 days
Diffstat (limited to 'lib/libc/regex/regex2.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud